Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos
Commits
6aadcd49
Commit
6aadcd49
authored
Nov 26, 2018
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a custome nogil Cython implementation
parent
8e03de68
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
90 additions
and
0 deletions
+90
-0
component/cython_nogil/buildout.cfg
component/cython_nogil/buildout.cfg
+16
-0
software/cython_test/buildout.hash.cfg
software/cython_test/buildout.hash.cfg
+22
-0
software/cython_test/instance.cfg.in
software/cython_test/instance.cfg.in
+13
-0
software/cython_test/runTestSuite.in
software/cython_test/runTestSuite.in
+11
-0
software/cython_test/software.cfg
software/cython_test/software.cfg
+28
-0
No files found.
component/cython_nogil/buildout.cfg
0 → 100644
View file @
6aadcd49
[buildout]
extends =
../python3/buildout.cfg
[buildout]
parts = cython_nogil
[cython_nogil]
recipe = plone.recipe.command
stop-on-error = true
update-command = true
repository = https://lab.nexedi.com/Daetalus/cython.git
location = ${buildout:parts-directory}/${:_buildout_section_name_}
git-binary = ${git:location}/bin/git
python3-binary = ${python3.5:location}/bin/python3
command = (${:git-binary} clone --quiet ${:repository} ${:location} && cd ${:location} && ${:git-binary} checkout nogil_extension && ${:python3-binary} setup.py install)
\ No newline at end of file
software/cython_test/buildout.hash.cfg
0 → 100644
View file @
6aadcd49
# THIS IS NOT A BUILDOUT FILE, despite purposedly using a compatible syntax.
# The only allowed lines here are (regexes):
# - "^#" comments, copied verbatim
# - "^[" section beginings, copied verbatim
# - lines containing an "=" sign which must fit in the following categorie.
# - "^\s*filename\s*=\s*path\s*$" where "path" is relative to this file
# Copied verbatim.
# - "^\s*hashtype\s*=.*" where "hashtype" is one of the values supported
# by the re-generation script.
# Re-generated.
# - other lines are copied verbatim
# Substitution (${...:...}), extension ([buildout] extends = ...) and
# section inheritance (< = ...) are NOT supported (but you should really
# not need these here).
[instance]
filename = instance.cfg.in
md5sum = 24a14564067e18f110ea0f630b3e2d0b
[template-runTestSuite]
filename = runTestSuite.in
md5sum = 99c9688ea0c3ab4594807be80279747f
software/cython_test/instance.cfg.in
0 → 100644
View file @
6aadcd49
[buildout]
parts =
runTestSuite-instance
#################################
# Test runner
#################################
[runTestSuite-instance]
recipe = slapos.recipe.template
url = ${template-runTestSuite:output}
output = $${directory:bin}/runTestSuite
buildout-directory = $${buildout:directory}
mode = 0700
\ No newline at end of file
software/cython_test/runTestSuite.in
0 → 100644
View file @
6aadcd49
# BEWARE: This file is operated by slapgrid
# BEWARE: It will be overwritten automatically
"""
Script to run Cython test suite using Nexedi's test node framework.
"""
def main():
raise ValueError("Running Cython nogil Test")
if __name__ == "__main__":
main()
\ No newline at end of file
software/cython_test/software.cfg
0 → 100644
View file @
6aadcd49
[buildout]
extends =
../../stack/slapos.cfg
../../component/git/buildout.cfg
../../component/cython_nogil/buildout.cfg
./buildout.hash.cfg
parts =
slapos-cookbook
git
instance
[macro-template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
mode = 0644
[instance]
<= macro-template
output = ${buildout:directory}/instance.cfg
[template-runTestSuite]
<= macro-template
output = ${buildout:directory}/runTestSuite.in
[versions]
slapos.recipe.template = 4.3
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment