Skip to content
Snippets Groups Projects
Commit 64800057 authored by Pascal Engélibert's avatar Pascal Engélibert :bicyclist:
Browse files

install: fix cmake url

parent 36c7cb9e
No related branches found
No related tags found
No related merge requests found
Pipeline #7395 passed
......@@ -434,10 +434,10 @@ installOrBuildCmake () {
if [ ! -d "/usr/src/cmake-3.14.3" ]; then
cd /usr/src
rm -rf /usr/src/cmake.tar.gz
sudo rm -f /usr/src/cmake.tar.gz
#sudo apt install build-essential cmake -y #pour installer cmake nécessaire au build de leveldb >=1.21 #fonctionne sur debian stretch 9.8
#si installation au-dessus échoue, construire à la main cmake
sudo wget -q https://cmake.org/files/LatestRelease/cmake-3.14.3.tar.gz -O cmake.tar.gz
sudo wget -q https://github.com/Kitware/CMake/releases/download/v3.16.0/cmake-3.16.0.tar.gz -O cmake.tar.gz
sudo tar -xvf cmake.tar.gz
cd cmake-3.14.3/
sudo chmod +x bootstrap
......@@ -450,10 +450,10 @@ installOrBuildCmake () {
if [ ! -d "/usr/src/cmake-3.14.3" ]; then
cd /usr/src
rm -rf /usr/src/cmake.tar.gz
sudo rm -f /usr/src/cmake.tar.gz
#sudo yum install build-essential cmake -y #pour installer cmake nécessaire au build de leveldb >=1.21 #fonctionne sur debian stretch 9.8
#si installation au-dessus échoue, construire à la main cmake
sudo wget -q https://cmake.org/files/LatestRelease/cmake-3.14.3.tar.gz -O cmake.tar.gz
sudo wget -q https://github.com/Kitware/CMake/releases/download/v3.16.0/cmake-3.16.0.tar.gz -O cmake.tar.gz
sudo tar -xvf cmake.tar.gz
cd cmake-3.14.3/
sudo chmod +x bootstrap
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment