More control for making or skipping make
When building with or without modules, it will be useful to selective suppress building of some components.
- compile all of OpenFOAM, but without any modules
- later compile a module indvidually
I'm thinking of places where we might want to have a module such as visualization, or adios added as an additional RPM or spack package on top of an existing OpenFOAM installation.
Ideas:
- If a
Allwmake.disabledexists at the same level as aAllwmakefile, skip it. - Use a
Allwmake.overrideinstead ofAllwmakefile at the same level. - Rename
Allwmakefile toAllwmake.enabledand symlink back toAllwmakewhen it is enabled. - Add in a minor logic into the overridable
Allwmake. For example,enabled=true if [ "$enabled" != true ] then echo "$0: is disabled" exit 0 fi
Edited by Mark OLESEN