File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,10 @@ before_install:
5151 - conda create -q -n test-environment python="$TRAVIS_PYTHON_VERSION" pip coverage
5252 - source activate test-environment
5353 # Install openblas if slycot is being used
54+ # also install scikit-build for the build process
5455 - if [[ "$SLYCOT" != "" ]]; then
55- conda install openblas;
56+ conda install openblas;
57+ conda install -c conda-forge scikit-build;
5658 fi
5759 # Make sure to look in the right place for python libraries (for slycot)
5860 - export LIBRARY_PATH="$HOME/miniconda/envs/test-environment/lib"
@@ -65,10 +67,11 @@ install:
6567 - conda install $SCIPY matplotlib
6668 # Build slycot from source
6769 # For python 3, need to provide pointer to python library
70+ # Use "Unix Makefiles" as generator, because Ninja cannot handle Fortran
6871 # ! git clone https://github.com/repagh/Slycot.git slycot;
6972 - if [[ "$SLYCOT" != "" ]]; then
7073 git clone https://github.com/python-control/Slycot.git slycot;
71- cd slycot; python setup.py install; cd ..;
74+ cd slycot; python setup.py install -G "Unix Makefiles" ; cd ..;
7275 fi
7376
7477# command to run tests
You can’t perform that action at this time.
0 commit comments