Skip to content

Commit 362c792

Browse files
committed
We now need crypt.h to run CI with Python 2
1 parent b25b38b commit 362c792

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

support/setup_ci.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@ fi
2121
if [ ${python_version} = "2.7" ]; then
2222
BOOST=""
2323
pip="pip<=19.3.1"
24+
# Python.h includes crypt.h, which is no longer provided by default
25+
crypt="libxcrypt"
2426
else
2527
BOOST="libboost-devel"
2628
pip="pip"
29+
crypt=""
2730
fi
28-
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
31+
conda create --yes -q -n python${python_version} -c salilab python=${python_version} ${pip} ${crypt} ${IMP_CONDA} ${BOOST} gxx_linux-64 eigen cereal swig cmake numpy
2932
eval "$(conda shell.bash hook)"
3033
conda activate python${python_version}
3134

0 commit comments

Comments
 (0)