Commit b0a6759e authored by peastman's avatar peastman
Browse files

Try installing swig with apt-get

parent 65e3f5dd
......@@ -144,7 +144,6 @@ before_install:
make -j 4;
make install;
export PATH=${HOME}/cmake/bin:${PATH};
echo ${PATH};
popd;
fi
#- if [[ "${TRAVIS_CPU_ARCH}" == "ppc64le" ]]; then
......@@ -190,21 +189,21 @@ before_install:
pip install cython;
fi
- if [[ "${TRAVIS_CPU_ARCH}" == "ppc64le" ]]; then
sudo apt-get install libpcre3;
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;
sudo apt-get install swig;
# 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
sudo apt-get install libpcre3;
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;
sudo apt-get install swig;
# 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
......@@ -231,7 +230,6 @@ before_install:
fi
script:
- echo ${PATH}
- cmake . $CMAKE_FLAGS -DCMAKE_INSTALL_PREFIX=$HOME/OpenMM
- make -j2 install
- if [[ "$OPENCL" == "true" ]]; then ./TestOpenCLDeviceQuery; fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment