Skip to content

Commit

Permalink
Hack to remove mpi4py from environment for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wcarthur committed Nov 15, 2020
1 parent eee5d54 commit af4b544
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions postinstall.sh
Expand Up @@ -25,6 +25,13 @@ hash -r;
echo $TRAVIS_OS_NAME
echo $PYTHON_VERSION
python --version

if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
echo "Removing mpi4py from environment for windows build"
echo "Package not available in conda channels"
sed -i '/mpi4py/d' ./tcrmenv.yml
fi

conda config --set always_yes yes --set changeps1 no;
conda update -q conda;
conda config --add channels conda-forge;
Expand Down

0 comments on commit af4b544

Please sign in to comment.