Commit ec4ee59a authored by Boxiang Sun's avatar Boxiang Sun

Cython nogil buildout amending

parent bc387b6f
......@@ -11,9 +11,8 @@ parts =
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git
repository = https://lab.nexedi.com/Daetalus/cython.git
revision = 21ffc32af0ae23a6bae2814934d16ef6853bf931
location = ${buildout:parts-directory}/${:_buildout_section_name_}
branch = nogil_extension
branch = nogil_extension_lwan
[cython_nogil]
recipe = plone.recipe.command
......@@ -21,4 +20,4 @@ stop-on-error = true
update-command = true
location = ${cython:location}
python3-binary = ${python3.5:location}/bin/python3
command = (cd ${cython:location} && ${:python3-binary} setup.py install && ${:python3-binary} test.py build_ext --inplace)
\ No newline at end of file
command = (PATH=${gcc:location}:$PATH && cd ${cython:location} && ${:python3-binary} setup.py install && cd ${cython:location}/nogil_test && ${:python3-binary} nogil_extension.py build_ext install)
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment