-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
enhancementNew feature or requestNew feature or request
Description
As of OpenFOAM-v2006 (commit 5ba2cbc5) there is support for specifying alternative config file locations (actually for an alternative OpenFOAM etc/ layer).
This was specifically added to handle systems like MacOS and mingw cross-compilation.
For this you would probably want to try something like this (pseudo-code):
- cd openfoam-project-dir
- mkdir -p "etc-macos/config.sh"
- echo 'export FOAM_CONFIG_ETC="etc-macos"' >> etc/prefs.sh
- copy/rsync etc/config.sh/{adios2,boost,CGAL, ....} to etc-macos/config.sh
- run bin/tools/foamConfigurePaths (can specify the -etc=... option for more certainty) and the rest of your configure.sh file
This way most of the changes will be encapsulated within the directory: making the changes more transparent and preserving them after a git update of OpenFOAM.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request