Skip to content

Instantly share code, notes, and snippets.

@kinow
Last active September 15, 2022 02:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kinow/278ae5939fcf705a08aa222ef0dd265c to your computer and use it in GitHub Desktop.
Save kinow/278ae5939fcf705a08aa222ef0dd265c to your computer and use it in GitHub Desktop.
# git clone ...ecflow
# git checkout 5.8.4
ln -s /home/kinow/Development/python/workspace/ecflow/ /tmp/ecflow_build/ecFlow-5.8.4-Source
export WK=/tmp/ecflow_build/ecFlow-5.8.4-Source
export BOOST_ROOT=/tmp/ecflow_build/boost_1_71_0
cd $BOOST_ROOT
./bootstrap.sh --prefix=/home/kinow/Development/python/workspace/ecflow/boost
./b2 install
# boost_build.sh failed to locate /usr/bin/libcrypt.so ?
find /usr/ -name libcrypt.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libcrypt.so /usr/lib64/libcrypt.so
$WK/build_scripts/boost_build.sh
# download Qt open source - https://www.qt.io/download-open-source
cd ~/Downloads
chmod u+x qt-unified-linux-x64-4.4.1-online.run 
./qt-unified-linux-x64-4.4.1-online.run
cd $WK
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/home/kinow/Development/python/workspace/ecflow/install/cmake/ecflow -DCMAKE_PREFIX_PATH="/home/kinow/Qt/6.3.1/gcc_64/" -DENABLE_PYTHON=OFF -DBOOST_ROOT=/home/kinow/Development/python/workspace/ecflow/boost
make -j 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment