From 9816444c668ee079527de1d790823071be1ec81b Mon Sep 17 00:00:00 2001 From: Rene van Paassen Date: Tue, 19 Mar 2019 15:05:41 +0100 Subject: [PATCH 1/3] install scikit-build for testing with slycot --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index a28f57419..396f266c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,6 +53,8 @@ before_install: # Install openblas if slycot is being used - if [[ "$SLYCOT" != "" ]]; then conda install openblas; + # also install scikit-build for the build process + conda install -c conda-forge scikit-build; fi # Make sure to look in the right place for python libraries (for slycot) - export LIBRARY_PATH="$HOME/miniconda/envs/test-environment/lib" From edcc8a657ac672ba430a2610db6ba87937c81173 Mon Sep 17 00:00:00 2001 From: Rene van Paassen Date: Mon, 25 Mar 2019 17:13:19 +0100 Subject: [PATCH 2/3] move the comment line in .travis.yml --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 396f266c1..3dc192f3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,10 +51,10 @@ before_install: - conda create -q -n test-environment python="$TRAVIS_PYTHON_VERSION" pip coverage - source activate test-environment # Install openblas if slycot is being used + # also install scikit-build for the build process - if [[ "$SLYCOT" != "" ]]; then - conda install openblas; - # also install scikit-build for the build process - conda install -c conda-forge scikit-build; + conda install openblas; + conda install -c conda-forge scikit-build; fi # Make sure to look in the right place for python libraries (for slycot) - export LIBRARY_PATH="$HOME/miniconda/envs/test-environment/lib" From 1453385cad5a6b28e1c4eb86d27d6246cc3e0b8d Mon Sep 17 00:00:00 2001 From: Rene van Paassen Date: Mon, 25 Mar 2019 17:38:16 +0100 Subject: [PATCH 3/3] use Unix Makefiles for install with scikit-build --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3dc192f3f..a719fa131 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,10 +67,11 @@ install: - conda install $SCIPY matplotlib # Build slycot from source # For python 3, need to provide pointer to python library + # Use "Unix Makefiles" as generator, because Ninja cannot handle Fortran #! git clone https://github.com/repagh/Slycot.git slycot; - if [[ "$SLYCOT" != "" ]]; then git clone https://github.com/python-control/Slycot.git slycot; - cd slycot; python setup.py install; cd ..; + cd slycot; python setup.py install -G "Unix Makefiles"; cd ..; fi # command to run tests pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy