Dep compile script: Separate configure/cmake and build
Dependencies can sometimes download additional dependencies as part of CMake's FetchContent
. In some clusters, one should compile on a compute node and not login node. If internet access is unavailable on the compute node, our compile dependency script is not feasible.
A new argument for the compile script should allow to only run the configure
or cmake
commands without building the dependency. This will download all necessary dependencies. Later the compile script can be rerun (including configure
and cmake
) in case the compute and login nodes are different before finally building them.