Skip to content

Commit

Permalink
OSX build trial N.3
Browse files Browse the repository at this point in the history
  • Loading branch information
darioizzo committed Sep 14, 2019
1 parent 0253881 commit 490a4e9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ matrix:
# os: osx
# - env: PAGMO_PLUGINS_NONFREE_BUILD="OSXRelease"
# os: osx
- env: PAGMO_PLUGINS_NONFREE_BUILD="OSXPython36"
- env: PAGMO_PLUGINS_NONFREE_BUILD="OSXPython37"
os: osx
- env: PAGMO_PLUGINS_NONFREE_BUILD="OSXPython27"
os: osx
Expand Down
2 changes: 1 addition & 1 deletion tools/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [[ "${PAGMO_PLUGINS_NONFREE_BUILD}" != manylinux* ]]; then
conda_pkgs="boost>=1.56 cmake>=3.2 pagmo>=2.0"

# Only Python builds will need these
if [[ "${PAGMO_PLUGINS_NONFREE_BUILD}" == "Python37" || "${PAGMO_PLUGINS_NONFREE_BUILD}" == "OSXPython36" ]]; then
if [[ "${PAGMO_PLUGINS_NONFREE_BUILD}" == "Python37" || "${PAGMO_PLUGINS_NONFREE_BUILD}" == "OSXPython37" ]]; then
conda_pkgs="$conda_pkgs python=3.7 pygmo>=2.0"
elif [[ "${PAGMO_PLUGINS_NONFREE_BUILD}" == "Python27" || "${PAGMO_PLUGINS_NONFREE_BUILD}" == "OSXPython27" ]]; then
conda_pkgs="$conda_pkgs python=2.7 pygmo>=2.0"
Expand Down
5 changes: 0 additions & 5 deletions tools/install_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ elif [[ "${PAGMO_PLUGINS_NONFREE_BUILD}" == Python* ]]; then
# Install pygmo_plugins_nonfree.
cmake -DCMAKE_INSTALL_PREFIX=$deps_dir -DCMAKE_PREFIX_PATH=$deps_dir -DCMAKE_BUILD_TYPE=Release -DPPNF_BUILD_TESTS=no -DPPNF_BUILD_CPP=no -DPPNF_BUILD_PYTHON=yes ../;
make install VERBOSE=1;
ipcluster start --daemonize=True;
# Give some time for the cluster to start up. The cluster may be needed in tests of archipelagos with ipyparallel islands
sleep 20;
# Move out of the build dir.
cd ../tools
# Run the test suite
Expand Down Expand Up @@ -123,8 +120,6 @@ elif [[ "${PAGMO_PLUGINS_NONFREE_BUILD}" == Python* ]]; then
fi
done
elif [[ "${PAGMO_PLUGINS_NONFREE_BUILD}" == OSXPython* ]]; then
export CXX=clang++
export CC=clang
# Install pagmo_plugins_nonfree
cmake -DCMAKE_INSTALL_PREFIX=$deps_dir -DCMAKE_PREFIX_PATH=$deps_dir -DBoost_NO_BOOST_CMAKE=ON -DCMAKE_BUILD_TYPE=Release -DPPNF_BUILD_TESTS=no -DPPNF_BUILD_CPP=yes -DPPNF_BUILD_PYTHON=no ../;
make install VERBOSE=1;
Expand Down

0 comments on commit 490a4e9

Please sign in to comment.