Commit af953fad authored by Jason Swails's avatar Jason Swails
Browse files

Try to fix all builds in docker containers.

parent 2e8eef42
......@@ -27,6 +27,7 @@ pipeline {
dockerfile {
dir "devtools/ci/jenkins"
label "cuda"
filename "Dockerfile.opencl"
}
}
steps {
......
FROM nvidia/cuda:10.0-devel-ubuntu18.04
FROM nvidia/cuda:10.1-devel-ubuntu18.04
ENV PATH="/opt/miniconda/bin:${PATH}"
......
FROM nvidia/opencl:devel-ubuntu18.04
ENV PATH="/opt/miniconda/bin:${PATH}"
RUN apt-get update && \
apt-get install -y wget git gromacs doxygen gfortran libfftw3-dev gcc g++ bzip2 automake make lsb-core && \
wget https://repo.continuum.io/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh -O miniconda.sh && \
bash miniconda.sh -b -p "/opt/miniconda" && \
rm -f miniconda.sh && \
mkdir /.conda && chmod -R 777 /.conda && chmod -R 777 /opt/miniconda && \
conda install -y cmake numpy scipy pytest swig cython
......@@ -14,7 +14,7 @@ g++ --version
if [ ! -z "$OPENMM_CUDA_COMPILER" ]; then
echo "Using nvcc ($OPENMM_CUDA_COMPILER) version:"
$OPENMM_CUDA_COMPILER --version
CUDA_ARGS="-DCUDA_TOOLKIT_ROOT_DIR=${CUDA_HOME}"
CUDA_ARGS="-DCUDA_TOOLKIT_ROOT_DIR=${CUDA_HOME} -DOPENMM_BUILD_CUDA_LIB=true"
fi
cmake -DCMAKE_INSTALL_PREFIX="`pwd`/install" -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment