Skip to content

Commit 156a4b4

Browse files
authored
Merge pull request #10 from CentML/update-cmake-version
Updated cmake version in docker and readme
2 parents 1ad504a + 6a02dd3 commit 156a4b4

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Prerequsites:
4949
- A system equiped with an Nvidia GPU with properly configured CUDA
5050
- [CUDA Toolkit](https://developer.nvidia.com/cuda-toolkit-archive)
5151
- [cmake v3.17+](https://github.com/Kitware/CMake/releases)
52+
- Note that Habitat does not build properly with cmake v3.24.0 and v3.24.1 due to a bug in cmake. This bug is fixed by [this change](https://gitlab.kitware.com/cmake/cmake/-/merge_requests/7608/diffs) which has been merged in v3.24.2
5253
- [Git Large File Storage](https://git-lfs.github.com/) - which contains pre-trained habitat models
5354

5455
```zsh
@@ -86,10 +87,10 @@ where `11-x` represents the version of CUDA you have installed.
8687

8788
Follow these steps to download and install a precompiled version of CMake:
8889
```bash
89-
wget https://github.com/Kitware/CMake/releases/download/v3.24.0/cmake-3.24.0-linux-x86_64.sh
90-
chmod +x cmake-3.24.0-linux-x86_64.sh
90+
wget https://github.com/Kitware/CMake/releases/download/v3.24.2/cmake-3.24.2-linux-x86_64.sh
91+
chmod +x cmake-3.24.2-linux-x86_64.sh
9192
mkdir /opt/cmake
92-
sh cmake-3.24.0-linux-x86_64.sh --prefix=/opt/cmake --skip-license
93+
sh cmake-3.24.2-linux-x86_64.sh --prefix=/opt/cmake --skip-license
9394
ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
9495
```
9596
You can verify the version of CMake you installed with the following:

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ RUN pip3 install pillow>=7.2.0 pandas>=1.1.2 tqdm>=4.49.0
2626
# make install
2727

2828
#iInstall latest cmake
29-
ADD https://github.com/Kitware/CMake/releases/download/v3.24.0/cmake-3.24.0-linux-x86_64.sh /cmake-3.24.0-linux-x86_64.sh
29+
ADD https://github.com/Kitware/CMake/releases/download/v3.24.2/cmake-3.24.2-linux-x86_64.sh /cmake-3.24.2-linux-x86_64.sh
3030
RUN mkdir /opt/cmake
31-
RUN sh /cmake-3.24.0-linux-x86_64.sh --prefix=/opt/cmake --skip-license
31+
RUN sh /cmake-3.24.2-linux-x86_64.sh --prefix=/opt/cmake --skip-license
3232
RUN ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
3333
RUN cmake --version
3434

0 commit comments

Comments
 (0)