...
ecFlow uses some of compiled libraries in boost. The following script will build the required lib’s and configure boost build according to your platform
Code Block language bash title Build boost libraries including python3 used by ecflow. cd $BOOST_ROOT $WK/build_scripts/boost_1_53_fix.sh # fix for boost, only for some platforms $WK/build_scripts/boost_build.sh # compile boost libs used by ecFlow. Please see notes in boost_build.sh, if you want to build both for python2 and python3
If you want to build python2 and python3. Then ALWAYS build the python3 first. See earlier steps
Code Block title Building boost python2 libs mv $BOOST_ROOT/project-config.jam $BOOST_ROOT/project-config.jam_python3 # move the python3 config to the side ./bootstrap.sh # || ./bootstrap.sh --with-python=/path/to/python2/exe to regenerate project-config.jam ./b2 --with-python --clean # Clean previous build. *VERY* important $WK/build_scripts/boost_build.sh # Build boost python2 libs
...