diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2021-07-26 09:00:19 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2021-07-26 17:49:00 +0200 |
commit | 15be0c34d884c0e682438108927930d009df6047 (patch) | |
tree | 080558a6f2a88fb625fe4fc73d4818bab27e5dc5 /Tools/ci-run.sh | |
parent | b3c3a03901e2fda73e4fb1513edf99d41fc998b8 (diff) | |
download | cython-15be0c34d884c0e682438108927930d009df6047.tar.gz |
Add CI jobs that compile more Cython modules with "--cython-compile-all", to make sure that this keeps working and to allow comparing the performance difference.
Diffstat (limited to 'Tools/ci-run.sh')
-rw-r--r-- | Tools/ci-run.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/ci-run.sh b/Tools/ci-run.sh index 2699db23b..e4f39eba9 100644 --- a/Tools/ci-run.sh +++ b/Tools/ci-run.sh @@ -97,9 +97,10 @@ if [ "$NO_CYTHON_COMPILE" != "1" -a -n "${PYTHON_VERSION##pypy*}" ]; then CFLAGS="-O2 -ggdb -Wall -Wextra $(python -c 'import sys; print("-fno-strict-aliasing" if sys.version_info[0] == 2 else "")')" \ python setup.py build_ext -i \ $(if [ "$COVERAGE" == "1" ]; then echo " --cython-coverage"; fi) \ + $(if [ "$CYTHON_COMPILE_ALL" == "1" ]; then echo " --cython-compile-all"; fi) \ $(python -c 'import sys; print("-j5" if sys.version_info >= (3,5) else "")') \ || exit 1 - if [ -z "$COVERAGE" -a -z "$STACKLESS" -a -z "$LIMITED_API" -a -z "$EXTRA_CFLAGS" -a -n "${BACKEND//*cpp*}" ]; then + if [ -z "$COVERAGE" -a -z "$STACKLESS" -a -z "$LIMITED_API" -a -z "$CYTHON_COMPILE_ALL" -a -z "$EXTRA_CFLAGS" -a -n "${BACKEND//*cpp*}" ]; then python setup.py bdist_wheel || exit 1 fi fi |