Skip to content

Commit

Permalink
Bump cmake version for GPU build
Browse files Browse the repository at this point in the history
The cmake version (3.10) in Ubuntu 18.04 does not cope well with the
more advanced cmake use in libtorch surrounding the CUDA target.
We switch to a self-built cmake 3.14 (already used by arm and i386 CI).

The context for this is apache#10758 .
  • Loading branch information
t-vi committed Apr 28, 2022
1 parent 9fd279b commit 7f20c5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/Dockerfile.ci_gpu
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ RUN bash /install/ubuntu1804_install_python.sh
# Globally disable pip cache
RUN pip config set global.no-cache-dir false

COPY install/ubuntu_install_cmake_source.sh /install/ubuntu_install_cmake_source.sh
RUN bash /install/ubuntu_install_cmake_source.sh

COPY install/ubuntu1804_install_llvm.sh /install/ubuntu1804_install_llvm.sh
RUN bash /install/ubuntu1804_install_llvm.sh

Expand Down

0 comments on commit 7f20c5d

Please sign in to comment.