Skip to content

Commit

Permalink
OSX build trial N.5
Browse files Browse the repository at this point in the history
  • Loading branch information
darioizzo committed Sep 14, 2019
1 parent e614545 commit d03aea7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tools/install_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,16 @@ elif [[ "${PAGMO_PLUGINS_NONFREE_BUILD}" == Python* ]]; then
fi
done
elif [[ "${PAGMO_PLUGINS_NONFREE_BUILD}" == OSXPython* ]]; then
# Install pagmo_plugins_nonfree
export CXX=clang++
export CC=clang
# Install pagmo_plugins_nonfree first
cd ..;
mkdir build_pagmo_plugins_nonfree;
cd build_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;
# Install pygmo_plugins_nonfree.
cd ../build;
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=no -DPPNF_BUILD_PYTHON=yes ../;
make install VERBOSE=1;
# Move out of the build dir.
Expand Down

0 comments on commit d03aea7

Please sign in to comment.