Skip to content

Commit

Permalink
Update CMake (#76)
Browse files Browse the repository at this point in the history
It is useful to be able to use CMake directly from the hyde docker file to setup a build. This ensures we have the latest CMake.
  • Loading branch information
sean-parent authored Nov 4, 2022
1 parent 5683721 commit a08e704
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ RUN ./llvm.sh 13 all
RUN update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-13 100
RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-13 100

ADD https://cmake.org/files/v3.18/cmake-3.18.0-Linux-x86_64.sh /cmake-3.18.0-Linux-x86_64.sh
ADD https://cmake.org/files/v3.24/cmake-3.24.0-linux-x86_64.sh /cmake-3.24.0-linux-x86_64.sh
RUN mkdir /opt/cmake
RUN sh /cmake-3.18.0-Linux-x86_64.sh --prefix=/opt/cmake --skip-license
RUN sh /cmake-3.24.0-linux-x86_64.sh --prefix=/opt/cmake --skip-license
RUN ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake

#install hyde dependencies
Expand Down

0 comments on commit a08e704

Please sign in to comment.