File tree 4 files changed +8
-14
lines changed
4 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 1
- cmake
2
1
curl
3
2
freeglut3-dev
4
3
g++
Original file line number Diff line number Diff line change @@ -31,19 +31,17 @@ BDM_PROJECT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../.."
31
31
sudo apt-get update
32
32
sudo apt-get install apt-transport-https
33
33
34
- # Add ppa for newer CMake version
35
- wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2> /dev/null | sudo apt-key add -
36
- CODENAME=$( grep -oP ' (?<=^UBUNTU_CODENAME=).+' /etc/os-release | tr -d ' "' )
37
- REPO=" deb https://apt.kitware.com/ubuntu/ ${CODENAME} main"
38
- sudo apt-add-repository " $REPO "
39
-
40
34
# Update
41
35
sudo apt-get update
42
36
43
37
# Install required packages
44
38
sudo apt-get install -y \
45
39
$( cat $BDM_PROJECT_DIR /util/installation/debian/ubuntu-18.04/package_list_required)
46
40
41
+ curl -L -O https://github.com/Kitware/CMake/releases/download/v3.19.3/cmake-3.19.3-Linux-x86_64.sh
42
+ chmod +x cmake-3.19.3-Linux-x86_64.sh
43
+ sudo ./cmake-3.19.3-Linux-x86_64.sh --skip-license --prefix=/usr/local
44
+
47
45
if [ -n " ${PYENV_ROOT} " ]; then
48
46
unset PYENV_ROOT
49
47
fi
Original file line number Diff line number Diff line change 1
- cmake
2
1
curl
3
2
freeglut3-dev
4
3
g++
Original file line number Diff line number Diff line change @@ -31,12 +31,6 @@ BDM_PROJECT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../.."
31
31
sudo apt-get update
32
32
sudo apt-get install apt-transport-https
33
33
34
- # Add ppa for newer CMake version
35
- wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2> /dev/null | sudo apt-key add -
36
- CODENAME=$( grep -oP ' (?<=^UBUNTU_CODENAME=).+' /etc/os-release | tr -d ' "' )
37
- REPO=" deb https://apt.kitware.com/ubuntu/ ${CODENAME} main"
38
- sudo apt-add-repository " $REPO "
39
-
40
34
# Update
41
35
sudo apt-get update
42
36
sudo apt install -y cmake-data=3.22.1-1ubuntu1.22.04.1
@@ -45,6 +39,10 @@ sudo apt install -y cmake-data=3.22.1-1ubuntu1.22.04.1
45
39
sudo apt-get install -y \
46
40
$( cat $BDM_PROJECT_DIR /util/installation/debian/ubuntu-22.04/package_list_required)
47
41
42
+ curl -L -O https://github.com/Kitware/CMake/releases/download/v3.19.3/cmake-3.19.3-Linux-x86_64.sh
43
+ chmod +x cmake-3.19.3-Linux-x86_64.sh
44
+ sudo ./cmake-3.19.3-Linux-x86_64.sh --skip-license --prefix=/usr/local
45
+
48
46
if [ -n " ${PYENV_ROOT} " ]; then
49
47
unset PYENV_ROOT
50
48
fi
You can’t perform that action at this time.
0 commit comments