...
Code Block | ||||
---|---|---|---|---|
| ||||
cd $WK
mkdir build; cd build;
# Go with defaults, will build with CMAKE_BUILD_TYPE=Release and install to /usr/local
cmake ..
# build release with debug info
# cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
# Override install prefix
# cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/apps/ecflow/5.5.1
# do NOT build the gui.
# cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/apps/ecflow -DCMAKE_BUILD_TYPE=Release -DENABLE_GUI=OFF
# ignore Wdeprecated-declarations compiler warning messages and do NOT build python api
# cmake .. -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" -DENABLE_PYTHON=OFF
# Use -j option to speed up compilation. Determine number of cpu's
CPUS=$(lscpu -p | grep -v '#' | wc -l)
make -j${CPUS}
make check
make install |
...