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
001408f9
"plugins/rpmd/platforms/cuda/src/CudaRpmdKernelFactory.cpp" did not exist on "b002cf1f7fd5d879f73e0c02718c3c080d024e79"
Commit
001408f9
authored
Apr 24, 2020
by
peastman
Browse files
Conda packages for cmake and swig
parent
8d7b7983
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
13 deletions
+41
-13
.travis.yml
.travis.yml
+41
-13
No files found.
.travis.yml
View file @
001408f9
...
...
@@ -134,18 +134,30 @@ before_install:
fi
# The cmake version installed by apt on ARM and PPC is very old,
# so build a more recent version from source.
-
if [[ "${TRAVIS_CPU_ARCH}" == "ppc64le" || "${TRAVIS_CPU_ARCH}" == "arm64" ]]; then
sudo apt remove cmake;
pushd ${HOME};
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 --prefix=${HOME}/cmake;
make -j 4;
make install;
export PATH=${HOME}/cmake/bin:${PATH};
echo ${PATH};
popd;
#- if [[ "${TRAVIS_CPU_ARCH}" == "ppc64le" || "${TRAVIS_CPU_ARCH}" == "arm64" ]]; then
# sudo apt remove cmake;
# pushd ${HOME};
# 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 --prefix=${HOME}/cmake;
# make -j 4;
# make install;
# export PATH=${HOME}/cmake/bin:${PATH};
# echo ${PATH};
# popd;
# fi
-
if [[ "${TRAVIS_CPU_ARCH}" == "ppc64le" ]]; then
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
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";
...
...
@@ -169,7 +181,7 @@ before_install:
# OpenCL, we skip the Python wrapper for speed. We're not using anaconda
# 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" ]]; 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;
mkdir $HOME/swig;
tar -xjvf swig-3.0.7-0.tar.bz2 -C $HOME/swig;
...
...
@@ -177,6 +189,22 @@ before_install:
export SWIG_LIB=$HOME/swig/share/swig/3.0.7;
pip install cython;
fi
-
if [[ "${TRAVIS_CPU_ARCH}" == "ppc64le" ]]; then
wget https://anaconda.org/conda-forge/swig/4.0.1/download/linux-ppc64le/swig-4.0.1-hb209c28_0.tar.bz2;
mkdir $HOME/swig;
tar -xjvf swig-4.0.1-hb209c28_0.tar.bz2 -C $HOME/swig;
export PATH=$HOME/swig/bin:$PATH;
export SWIG_LIB=$HOME/swig/share/swig/4.0.1;
pip install cython;
fi
-
if [[ "${TRAVIS_CPU_ARCH}" == "arm64" ]]; then
wget https://anaconda.org/conda-forge/swig/4.0.1/download/linux-aarch64/swig-4.0.1-he1b5a44_0.tar.bz2;
mkdir $HOME/swig;
tar -xjvf swig-4.0.1-he1b5a44_0.tar.bz2 -C $HOME/swig;
export PATH=$HOME/swig/bin:$PATH;
export SWIG_LIB=$HOME/swig/share/swig/4.0.1;
pip install cython;
fi
-
if [[ "$OPENCL" == "false" && "$CUDA" == "false" && "$TRAVIS_OS_NAME" == "osx" ]]; then
wget http://anaconda.org/omnia/swig/3.0.7/download/osx-64/swig-3.0.7-0.tar.bz2;
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