CONFIG: rationalize compiler tuning

- support prefs.compiler with better possibilities to provide
  overload values

STYLE: reduce code for WM_ARCH_OPTION (seldom-used)
This commit is contained in:
Mark Olesen
2020-11-07 18:11:27 +01:00
parent 67b3c01e13
commit 26ec9b5a17
13 changed files with 191 additions and 186 deletions

View File

@ -12,10 +12,12 @@
#
# File
# config.sh/example/compiler-Gcc92
# - sourced by OpenFOAM-*/etc/config.sh/compiler
#
# Description
# Example of fine tuning compiler settings with a hook
# Example of tuning compiler settings with a hook (POSIX shell).
#
# Copy to etc/config.sh (or ~/.OpenFOAM/config.sh) and it will be
# sourced by OpenFOAM-*/etc/config.sh/compiler
#
#------------------------------------------------------------------------------