Created
August 14, 2021 19:56
-
-
Save larsbratholm/0b14933d1d3edde356cb362e6fe2e047 to your computer and use it in GitHub Desktop.
compile phaistos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
export BOOST_ROOT_DIR=/home/lab/opt/boost-1.58_gcc-1.61 | |
export BOOST_ROOT=$BOOST_ROOT_DIR | |
export LD_LIBRARY_PATH=$BOOST_ROOT_DIR/lib #:/usr/lib64:$LD_LIBRARY_PATH | |
export CC=gcc-6; export CXX=g++-6 | |
mkdir $1 | |
cd $1 | |
cmake -DBoost_NO_BOOST_CMAKE=TRUE -DBoost_NO_SYSTEM_PATHS=TRUE -DBOOST_ROOT_DIR=$BOOST_ROOT_DIR -DBOOST_ROOT=$BOOST_ROOT_DIR -DBoost_INCLUDE_DIR=$BOOST_ROOT_DIR/include -DBoost_PROGRAM_OPTIONS_LIBRARY=$BOOST_ROOT_DIR/lib/libboost_program_options.a -DBoost_SERIALIZATION_LIBRARY=$BOOST_ROOT_DIR/lib/libboost_serialization.a -DBoost_THREAD_LIBRARY=$BOOST_ROOT_DIR/lib/libboost_thread.a -DBoost_UNIT_TEST_FRAMEWORK_LIBRARY=$BOOST_ROOT_DIR/lib/libboost_unit_test_framework.a -DBoost_REGEX_LIBRARY=$BOOST_ROOT_DIR/lib/libboost_regex.a -DBoost_PROGRAM_OPTIONS_LIBRARY_RELEASE=$BOOST_ROOT_DIR/lib/libboost_program_options.a -DBoost_SERIALIZATION_LIBRARY_RELEASE=$BOOST_ROOT_DIR/lib/libboost_serialization.a -DBoost_THREAD_LIBRARY_RELEASE=$BOOST_ROOT_DIR/lib/libboost_thread.a -DBoost_UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE=$BOOST_ROOT_DIR/lib/libboost_unit_test_framework.a -DBoost_REGEX_LIBRARY_RELEASE=$BOOST_ROOT_DIR/lib/libboost_regex.a -DPHAISTOS_MODULE_DISABLE="applications_backbone_dbn|applications|camshift|distance|distance_dev|energy_archive|git|inference|irrm|mocapy|mumu|opls|pleiades|ppm|profasi|regression|saxs|sidechain_dbns|trajectory|typhon|visible_volume|doc|crisp|charmm" .. | |
make -j2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment