openfoam/etc/config.sh
Mark Olesen 934d0bd743 ENH: support FOAM_MODULE_PREFIX to guide location of module builds (#1721)
- When compiling additional modules or user code, we need more control
  for the installation locations beyond the usual FOAM_USER_LIBBIN,
  FOAM_SITE_LIBBIN, FOAM_LIBBIN, and wish to have these values be
  modifiable without editing files.

- provide wmake rules for handling standard defaults:
    * GENERAL_RULES/module-path-user
    * GENERAL_RULES/module-path-group
    * GENERAL_RULES/module-path-project
  which are incorporated as follows:

  Make/options:
      include $(GENERAL_RULES)/module-path-user

  Make/files:
      LIB = $(FOAM_MODULE_LIBBIN)/libMyLibrary

  By default these would compile into FOAM_USER_{APPBIN,LIBBIN} but
  could be adjusted at compilation time. For example,

```
wmake -module-prefix=/path/my-install-location
```
Or
```
./Allwmake -module-prefix=/path/my-install-location
./Allwmake -prefix=/path/my-install-location
```
Or
```
FOAM_MODULE_PREFIX=/path/my-install-location ./Allwmake
```

ENH: add -no-recursion option for AllwmakeParseArguments

- more descriptive naming than the -fromWmake option (still supported)

- remove wmake/scripts/wmake.{cmake,wmake}-args since the -prefix
  handling and -no-recursion is now directly handled by AllwmakeParseArguments
2020-06-08 13:51:26 +02:00
..
example CONFIG: provide separate default settings for clang/gcc (fixes #1566) 2020-02-06 12:36:26 +00:00
adios2 CONFIG: adjust adios and paraview versions 2019-11-11 10:37:06 +01:00
aliases CONFIG: adjust aliases to use project-dir directly 2020-06-03 12:11:17 +02:00
bash_completion STYLE: adjust 'No completions' message for more clarification 2020-05-14 11:20:49 +02:00
ccmio GIT: Header file updates 2019-10-31 14:48:44 +00:00
CGAL CONFIG: update boost, cgal, openmpi versions (#1705) 2020-06-05 16:28:01 +02:00
cmake ENH: improve cmake/ParaView config handling 2020-05-05 18:06:09 +02:00
compiler CONFIG: add gcc 10 series, reorder the compiler version list 2020-06-08 11:41:08 +02:00
completion_cache REL: Release preparations 2019-12-23 09:49:23 +00:00
FFTW STYLE: remove unnecessary stdout, stderr /dev/null redirects 2019-11-06 10:44:36 +01:00
functions CONFIG: improve config files for Darwin (#1667), BSD-csh syntax (#1668) 2020-04-08 11:38:18 +02:00
gperftools CONFIG: additional packaging helpers, tutorial test helper 2020-04-21 14:59:07 +02:00
hypre STYLE: remove unnecessary stdout, stderr /dev/null redirects 2019-11-06 10:44:36 +01:00
kahip Merge commit 'e9219558d7' into develop-v1906 2019-12-05 11:47:19 +00:00
metis GIT: Header file updates 2019-10-31 14:48:44 +00:00
mgridgen GIT: Header file updates 2019-10-31 14:48:44 +00:00
mpi CONFIG: update boost, cgal, openmpi versions (#1705) 2020-06-05 16:28:01 +02:00
paraview CONFIG: only set PV_PLUGIN_PATH if the directory actually exists 2020-05-22 21:53:42 +02:00
paraview-system CONFIG: only set PV_PLUGIN_PATH if the directory actually exists 2020-05-22 21:53:42 +02:00
petsc CONFIG: update boost, cgal, openmpi versions (#1705) 2020-06-05 16:28:01 +02:00
scotch CONFIG: update scotch and compiler versions 2019-11-15 17:49:12 +01:00
settings CONFIG: improve config files for Darwin (#1667), BSD-csh syntax (#1668) 2020-04-08 11:38:18 +02:00
setup CONFIG: additional packaging helpers, tutorial test helper 2020-04-21 14:59:07 +02:00
unset ENH: support FOAM_MODULE_PREFIX to guide location of module builds (#1721) 2020-06-08 13:51:26 +02:00
vtk CONFIG: prefer use of ParaView_MESA_DIR in runTimePostProcessing 2019-12-12 14:29:59 +01:00