tar -xvf ecFlow-5.5.2-Source.tar.gz
tar -xvf boost_1_72_0.tar.gz
export WK=/path/to/ECFLOW_BUILD/ecFlow-5.5.2-Source export BOOST_ROOT=/path/to/ECFLOW_BUILD/boost_1_72_0
cd $BOOST_ROOT export CC=`which clang` export CXX=`which clang++` export FC=`which flang` ./bootstrap.sh ./b2 install --prefix=/path/to/ECFLOW_BUILD/boost_1_72_0
$WK/build_scripts/boost_build.sh
cd $WK
mkdir build cd build
export CC=`which clang` export CXX=`which clang++` export FC=`which flang` cmake .. -DENABLE_UI=OFF -DENABLE_PYTHON=OFF
开始回显:
结束回显:
make -j 8
make install