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
45de7394
Commit
45de7394
authored
Apr 26, 2020
by
peastman
Browse files
Cleanup
parent
1ae7a412
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
37 deletions
+17
-37
.travis.yml
.travis.yml
+17
-37
No files found.
.travis.yml
View file @
45de7394
...
@@ -3,7 +3,6 @@ language: python
...
@@ -3,7 +3,6 @@ language: python
addons
:
addons
:
apt
:
apt
:
packages
:
packages
:
#- gromacs
-
doxygen
-
doxygen
-
python-numpy
-
python-numpy
-
python-scipy
-
python-scipy
...
@@ -133,38 +132,21 @@ before_install:
...
@@ -133,38 +132,21 @@ before_install:
sudo pip install -U pytest --ignore-installed six;
sudo pip install -U pytest --ignore-installed six;
fi
fi
# The cmake version installed by apt on ARM and PPC is very old,
# The cmake version installed by apt on ARM and PPC is very old,
# so build a more recent version from source.
# so download a newer version.
#- if [[ "${TRAVIS_CPU_ARCH}" == "ppc64le" || "${TRAVIS_CPU_ARCH}" == "arm64" ]]; then
-
if [[ "${TRAVIS_CPU_ARCH}" == "ppc64le" ]]; then
# sudo apt remove cmake;
sudo apt-get install libuv1 rhash libstdc++6;
# pushd ${HOME};
wget https://anaconda.org/conda-forge/cmake/3.17.0/download/linux-ppc64le/cmake-3.17.0-hfb1cb51_0.tar.bz2;
# wget https://github.com/Kitware/CMake/releases/download/v3.17.1/cmake-3.17.1.tar.gz;
mkdir $HOME/cmake;
# tar xf cmake-3.17.1.tar.gz;
tar -xjvf cmake-3.17.0-hfb1cb51_0.tar.bz2 -C $HOME/cmake;
# cd cmake-3.17.1;
export PATH=$HOME/cmake/bin:$PATH;
# ./bootstrap --prefix=${HOME}/cmake;
fi
# make -j 4;
-
if [[ "${TRAVIS_CPU_ARCH}" == "arm64" ]]; then
# make install;
sudo apt-get install libuv1 rhash libstdc++6;
# export PATH=${HOME}/cmake/bin:${PATH};
wget https://anaconda.org/conda-forge/cmake/3.17.0/download/linux-aarch64/cmake-3.17.0-h28c56e5_0.tar.bz2;
# popd;
mkdir $HOME/cmake;
# fi
tar -xjvf cmake-3.17.0-h28c56e5_0.tar.bz2 -C $HOME/cmake;
#- if [[ "${TRAVIS_CPU_ARCH}" == "ppc64le" ]]; then
export PATH=$HOME/cmake/bin:$PATH;
# sudo apt-get install libuv1 rhash libstdc++6;
fi
# wget https://anaconda.org/conda-forge/cmake/3.17.0/download/linux-ppc64le/cmake-3.17.0-hfb1cb51_0.tar.bz2;
# mkdir $HOME/cmake;
# tar -xjvf cmake-3.17.0-hfb1cb51_0.tar.bz2 -C $HOME/cmake;
# export PATH=$HOME/cmake/bin:$PATH;
# fi
#- if [[ "${TRAVIS_CPU_ARCH}" == "arm64" ]]; then
# sudo apt-get install libuv1 rhash libstdc++6;
# wget https://anaconda.org/conda-forge/cmake/3.17.0/download/linux-aarch64/cmake-3.17.0-h28c56e5_0.tar.bz2;
# mkdir $HOME/cmake;
# tar -xjvf cmake-3.17.0-h28c56e5_0.tar.bz2 -C $HOME/cmake;
# export PATH=$HOME/cmake/bin:$PATH;
# fi
#- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
# CMAKE_URL="http://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz";
# mkdir $HOME/cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C $HOME/cmake;
# export PATH=${HOME}/cmake/bin:${PATH};
# fi
-
if [[ "$OPENCL" == "true" ]]; then
-
if [[ "$OPENCL" == "true" ]]; then
wget http://s3.amazonaws.com/omnia-ci/AMD-APP-SDKInstaller-v3.0.130.135-GA-linux64.tar.bz2;
wget http://s3.amazonaws.com/omnia-ci/AMD-APP-SDKInstaller-v3.0.130.135-GA-linux64.tar.bz2;
tar -xjf AMD-APP-SDK*.tar.bz2;
tar -xjf AMD-APP-SDK*.tar.bz2;
...
@@ -178,10 +160,8 @@ before_install:
...
@@ -178,10 +160,8 @@ before_install:
${AMDAPPSDK}/bin/x86_64/clinfo;
${AMDAPPSDK}/bin/x86_64/clinfo;
sudo apt-get install -y libgl1-mesa-dev;
sudo apt-get install -y libgl1-mesa-dev;
fi
fi
# Install SWIG and Cython for Python wrappers. However, testing CUDA and
# Install packages needed for Python: SWIG, Cython, and Gromacs (used by some tests).
# OpenCL, we skip the Python wrapper for speed. We're not using anaconda
# We do this differently on different platforms. Possibly some of this could be unified.
# python, but this is a fast way to get an apparently functional precompiled
# build of swig that's more modern than what's in apt.
-
if [[ "$OPENCL" == "false" && "$CUDA" == "false" && "$TRAVIS_OS_NAME" == "linux" && "${TRAVIS_CPU_ARCH}" != "ppc64le" && "${TRAVIS_CPU_ARCH}" != "arm64" ]]; then
-
if [[ "$OPENCL" == "false" && "$CUDA" == "false" && "$TRAVIS_OS_NAME" == "linux" && "${TRAVIS_CPU_ARCH}" != "ppc64le" && "${TRAVIS_CPU_ARCH}" != "arm64" ]]; then
wget http://anaconda.org/omnia/swig/3.0.7/download/linux-64/swig-3.0.7-0.tar.bz2;
wget http://anaconda.org/omnia/swig/3.0.7/download/linux-64/swig-3.0.7-0.tar.bz2;
mkdir $HOME/swig;
mkdir $HOME/swig;
...
...
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