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
1ddce750
"...src/ssh:/git@developer.sourcefind.cn:2222/tsoc/openmm.git" did not exist on "5fa4345f600503b2c90ed8ae5673c44ee96cd9be"
Commit
1ddce750
authored
Oct 08, 2018
by
peastman
Browse files
Install Cython on CI
parent
2a6a5edc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
.travis.yml
.travis.yml
+4
-3
appveyor.yml
appveyor.yml
+1
-0
devtools/ci/jenkins/install.sh
devtools/ci/jenkins/install.sh
+1
-1
No files found.
.travis.yml
View file @
1ddce750
...
@@ -132,9 +132,9 @@ before_install:
...
@@ -132,9 +132,9 @@ 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
for Python wrappers. However, testing CUDA and
OpenCL, we
# Install
SWIG and Cython
for Python wrappers. However, testing CUDA and
# skip the Python wrapper for speed. We're not using anaconda
python,
#
OpenCL, we
skip the Python wrapper for speed. We're not using anaconda
# but this is a fast way to get an apparently functional precompiled
#
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.
# 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" ]]; 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;
...
@@ -142,6 +142,7 @@ before_install:
...
@@ -142,6 +142,7 @@ before_install:
tar -xjvf swig-3.0.7-0.tar.bz2 -C $HOME/swig;
tar -xjvf swig-3.0.7-0.tar.bz2 -C $HOME/swig;
export PATH=$HOME/swig/bin:$PATH;
export PATH=$HOME/swig/bin:$PATH;
export SWIG_LIB=$HOME/swig/share/swig/3.0.7;
export SWIG_LIB=$HOME/swig/share/swig/3.0.7;
pip install cython
fi
fi
-
if [[ "$OPENCL" == "false" && "$CUDA" == "false" && "$TRAVIS_OS_NAME" == "osx" ]]; then
-
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;
wget http://anaconda.org/omnia/swig/3.0.7/download/osx-64/swig-3.0.7-0.tar.bz2;
...
...
appveyor.yml
View file @
1ddce750
...
@@ -11,6 +11,7 @@ install:
...
@@ -11,6 +11,7 @@ install:
-
"
set
PATH=C:
\\
Program
Files
(x86)
\\
Git
\\
bin;%PATH%"
-
"
set
PATH=C:
\\
Program
Files
(x86)
\\
Git
\\
bin;%PATH%"
-
pip install pytest
-
pip install pytest
-
pip install numpy
-
pip install numpy
-
pip install cython
# Use cclash for compiler caching (experimental)
# Use cclash for compiler caching (experimental)
-
ps
:
wget https://github.com/inorton/cclash/releases/download/0.3.14/cclash-0.3.14.zip -OutFile cclash-0.3.14.zip
-
ps
:
wget https://github.com/inorton/cclash/releases/download/0.3.14/cclash-0.3.14.zip -OutFile cclash-0.3.14.zip
...
...
devtools/ci/jenkins/install.sh
View file @
1ddce750
...
@@ -26,7 +26,7 @@ create_conda_env() {
...
@@ -26,7 +26,7 @@ create_conda_env() {
}
}
conda remove
-yn
${
CONDAENV
}
--all
--quiet
||
true
conda remove
-yn
${
CONDAENV
}
--all
--quiet
||
true
create_conda_env
||
create_conda_env
# Crappy way to work around conda concurrency restrictions
create_conda_env
||
create_conda_env
# Crappy way to work around conda concurrency restrictions
conda
install
-yn
${
CONDAENV
}
numpy scipy pytest
--quiet
conda
install
-yn
${
CONDAENV
}
numpy scipy pytest
cython
--quiet
source
activate
${
CONDAENV
}
# enter our new environment
source
activate
${
CONDAENV
}
# enter our new environment
# Build OpenMM
# Build OpenMM
...
...
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