Skip to content

Commit

Permalink
IMP stable release does not work with SWIG 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Jan 7, 2024
1 parent d4beb13 commit e29ed33
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion support/setup_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ conda config --remove channels defaults
conda config --add channels conda-forge
if [ ${imp_branch} = "develop" ]; then
IMP_CONDA="imp-nightly"
swig="swig"
else
IMP_CONDA="imp"
# IMP stable does not yet work with SWIG 4.2
swig="swig<4.2"
fi
if [ ${python_version} = "2.7" ]; then
BOOST=""
Expand All @@ -25,7 +28,7 @@ else
BOOST="libboost-devel"
pip="pip"
fi
conda create --yes -q -n python${python_version} -c salilab python=${python_version} ${pip} ${IMP_CONDA} ${BOOST} gxx_linux-64 eigen cereal swig cmake numpy
conda create --yes -q -n python${python_version} -c salilab python=${python_version} ${pip} ${IMP_CONDA} ${BOOST} gxx_linux-64 eigen cereal ${swig} cmake numpy
eval "$(conda shell.bash hook)"
conda activate python${python_version}

Expand Down

0 comments on commit e29ed33

Please sign in to comment.