This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/etc
Henrik Rusche 46f509ad79 FEATURE: Simpler ThirdParty packages selection mechanism. Author: Martin Beaudoin. Merge: Henrik Rusche.
I am proposing an improved ThirdParty packages selection mechanism based on a set of package-specific, pre-defined environment variables.

Using those environment variables, one can control the selection of the full list of ThirdParty packages he/she want to compile/use by simply editing the etc/prefs.sh or etc/prefs.csh file.

Using this new approach, you will no longer have to edit the ThirdParty/AllMake.stageXXX files or the etc/settings.[sh,csh] to suit your needs; every supported package is selectable from a single environment variable specified in your prefs.[sh,csh] file, or in one of your script file.

Another benefit from this improvement will also come from supplying a set of predefined prefs.[sh,csh]-EXAMPLE files for both generic or specialized configurations and/or for specific Operating Systems. For example:

prefs.sh-EXAMPLE-Centos-7
prefs.sh-EXAMPLE-Ubuntu-14.02
prefs.sh-EXAMPLE-MacOSX_Yosemite_without_MacPorts
prefs.sh-EXAMPLE-RaspberryPi2

I also took the liberty of bumping many ThirdParty packages to the latest version available.
2015-06-01 18:03:56 +02:00
..
apps controlSwitches: updating after code merge. Minor correction for DimensionedConstants sigmaSB. Adapting foamDebugSwitches 2015-05-02 09:57:47 -04:00
thermoData update the tutorials for new waveTransmissive BC 2010-05-12 13:27:55 +00:00
aliases.csh controlSwitches: updating after code merge. Minor correction for DimensionedConstants sigmaSB. Adapting foamDebugSwitches 2015-05-02 09:57:47 -04:00
aliases.sh controlSwitches: updating after code merge. Minor correction for DimensionedConstants sigmaSB. Adapting foamDebugSwitches 2015-05-02 09:57:47 -04:00
bashrc ThirdParty: Various adjustments to the selection mechanism 2015-05-26 00:59:43 -04:00
cellModels bump version number 2014-06-01 18:23:43 +02:00
controlDict-EXAMPLE controlSwitches: - We are now completely free from the global controlDict file. 2015-05-05 08:57:06 -04:00
cshrc ThirdParty: Various adjustments to the selection mechanism 2015-05-26 00:59:43 -04:00
fishrc Added fish-shell to demonstrate that this approach allows completely different shells 2015-05-12 16:28:28 +01:00
getVariables.py Make sure that the aliases that source the tcshrc still work 2015-05-12 16:28:29 +01:00
prefs.csh-EXAMPLE ThirdParty: Various adjustments to the selection mechanism 2015-05-26 00:59:43 -04:00
prefs.sh-EXAMPLE ThirdParty: Various adjustments to the selection mechanism 2015-05-26 00:59:43 -04:00
settings.csh ThirdParty: bumping Scotch to version 6.0.4 2015-05-17 07:46:05 -04:00
settings.sh ThirdParty: Various adjustments to the selection mechanism 2015-05-26 00:59:43 -04:00
tcshrc Now etc/tcshrc also works if sourced from .tcshrc. But an environment variable has to be set to make it work correctly as in this case diff does not work correctly 2015-05-12 16:28:29 +01:00
zshrc Added fish-shell to demonstrate that this approach allows completely different shells 2015-05-12 16:28:28 +01:00