Commit 1b2644f4 authored by Niklas Eiling's avatar Niklas Eiling Committed by Markus Mirz
Browse files

remove CUDA dependencies from fedora Dockerfile so we only build CUDA when...

remove CUDA dependencies from fedora Dockerfile so we only build CUDA when using the dev-centos Dockerfile
parent add93db9
......@@ -60,7 +60,7 @@ build:linux:
script:
- mkdir -p build
- cd build
- cmake -DWITH_CUDA=OFF ..
- cmake ..
- make -j 32
image: ${DOCKER_IMAGE_DEV}:${DOCKER_TAG}
cache:
......
......@@ -61,14 +61,6 @@ RUN cd /tmp && \
cmake -DCMAKE_BUILD_TYPE=Release .. && \
make -j$(nproc) install
# CUDA dependencies
RUN dnf -y install https://developer.download.nvidia.com/compute/cuda/repos/fedora29/x86_64/cuda-repo-fedora29-10.2.89-1.x86_64.rpm && \
dnf --refresh -y install cuda-compiler-10-2 cuda-libraries-dev-10-2 && \
ln -s cuda-10.2 /usr/local/cuda
ENV PATH="/usr/local/cuda/bin:${PATH}"
ENV LD_LIBRARY_PATH="/usr/local/cuda/lib64:${LD_LIBRARY_PATH}"
# Install some debuginfos
RUN dnf -y debuginfo-install \
python3
......
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