Skip to content

Commit

Permalink
Newer Boost is only needed for Python 3 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Oct 11, 2023
1 parent 65ececb commit a6ca474
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/setup_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ fi

python_version=$1

if [ ${python_version} = "2.7" ]; then
BOOST=""
else
BOOST="libboost-devel"
fi
conda config --remove channels defaults # get conda-forge, not main, packages
conda create --yes -q -n python${python_version} -c salilab -c conda-forge python=${python_version} pip scipy matplotlib imp-nightly libboost-devel gxx_linux-64 eigen cereal swig cmake
conda create --yes -q -n python${python_version} -c salilab -c conda-forge python=${python_version} pip scipy matplotlib imp-nightly ${BOOST} gxx_linux-64 eigen cereal swig cmake
eval "$(conda shell.bash hook)"
conda activate python${python_version}
pip install pytest-cov coverage

0 comments on commit a6ca474

Please sign in to comment.