Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
43406459
Commit
43406459
authored
Apr 23, 2020
by
peastman
Browse files
Trying building cmake from source
parent
0cf05435
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
.travis.yml
.travis.yml
+8
-3
No files found.
.travis.yml
View file @
43406459
...
@@ -133,9 +133,14 @@ before_install:
...
@@ -133,9 +133,14 @@ before_install:
sudo pip install -U pytest --ignore-installed six;
sudo pip install -U pytest --ignore-installed six;
fi
fi
-
if [[ "${TRAVIS_CPU_ARCH}" == "ppc64le" || "${TRAVIS_CPU_ARCH}" == "arm64" ]]; then
-
if [[ "${TRAVIS_CPU_ARCH}" == "ppc64le" || "${TRAVIS_CPU_ARCH}" == "arm64" ]]; then
cmake --version;
# The cmake version installed by apt on these architectures is very old,
sudo apt-get install cmake;
# so build a more recent version from source.
cmake --version;
wget https://github.com/Kitware/CMake/releases/download/v3.17.1/cmake-3.17.1.tar.gz
tar xf cmake-3.17.1.tar.gz
cd cmake-3.17.1
./bootstrap
make
sudo make install
fi
fi
#- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
#- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
# CMAKE_URL="http://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz";
# CMAKE_URL="http://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment