-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
address reviews: try streamlined cmake install, remove some comments
- Loading branch information
Showing
1 changed file
with
6 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,11 +9,12 @@ runs: | |
echo $(date +%F) > ./date | ||
echo $(git ls-remote https://github.com/facebookresearch/habitat-lab.git HEAD | awk '{ print $1}') > ./hablab_sha | ||
cat ./hablab_sha | ||
wget https://cmake.org/files/v3.12/cmake-3.12.4-Linux-x86_64.sh | ||
sudo mkdir /opt/cmake312 | ||
sudo sh ./cmake-3.12.4-Linux-x86_64.sh --prefix=/opt/cmake312 --skip-license | ||
sudo ln -s /opt/cmake312/bin/cmake /usr/local/bin/cmake | ||
sudo ln -s /opt/cmake312/bin/ctest /usr/local/bin/ctest | ||
#wget https://cmake.org/files/v3.12/cmake-3.12.4-Linux-x86_64.sh | ||
#sudo mkdir /opt/cmake312 | ||
#sudo sh ./cmake-3.12.4-Linux-x86_64.sh --prefix=/opt/cmake312 --skip-license | ||
#sudo ln -s /opt/cmake312/bin/cmake /usr/local/bin/cmake | ||
#sudo ln -s /opt/cmake312/bin/ctest /usr/local/bin/ctest | ||
sudo apt install -y cmake==3.12.4 | ||
shell: bash | ||
- name: Install dependencies | ||
run: |- | ||
|
@@ -40,16 +41,6 @@ runs: | |
libomp-dev \ | ||
unzip || true | ||
shell: bash | ||
# - name: Install cuda | ||
# run: |- | ||
# echo "Install cuda" | ||
# wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb | ||
# sudo dpkg -i cuda-keyring_1.1-1_all.deb | ||
# sudo apt-get update | ||
# sudo apt-get -y install cuda-toolkit-12-3 | ||
# touch ~/cuda_installed | ||
# if command -v nvidia-smi; then nvidia-smi; fi | ||
# shell: bash | ||
- name: Setup miniconda | ||
uses: conda-incubator/[email protected] | ||
with: | ||
|