Skip to content

Commit

Permalink
Avoid crashes building llvmlite in CI (#314)
Browse files Browse the repository at this point in the history
The later versions of llvmlite do not have a Python 3.5 wheel on PyPI, so travis attempts to build them from source.
This fails unless a suitable local version of llvm is available.

It's easier just to tell `pip` to prefer pre-compiled dependencies.
  • Loading branch information
eric-wieser committed May 20, 2020
1 parent e22f827 commit 63c50b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ x-clifford-templates:
if [[ "${CONDA}" == "true" ]]; then
python setup.py develop --no-deps;
else
pip install .;
# this avoids an issue where Python 3.5 wheels are missing for llvmlite
pip install . --prefer-binary;
fi
# always install with pip, conda has too old a version
- pip install pytest pytest-cov pytest-benchmark
Expand Down

0 comments on commit 63c50b3

Please sign in to comment.