File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,14 @@ before_install:
2525install :
2626 - bash -x .travis-install-pari.sh
2727 - pip install --build=/tmp/pip --verbose -r requirements.txt
28- - pip install --verbose .
28+ # CFLAGS:
29+ # -O1 to speed up compilation (compared to -O2 or -O3)
30+ # -fno-strict-aliasing because that is the default in Python
31+ # -fno-tree-copyrename works around http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56982
32+ # -Wall -Werror to check for potential bugs
33+ # -Wno-unused to remove false positive errors
34+ # -Wno-strict-prototypes works around https://github.com/cython/cython/pull/2076
35+ - env CFLAGS="-O1 -fno-strict-aliasing -fno-tree-copyrename -Wall -Wno-unused -Wno-strict-prototypes -Werror" pip install --verbose .
2936# command to run tests
3037script :
3138 - make check
You can’t perform that action at this time.
0 commit comments