spack/var/spack/repos/builtin/packages/openfoam-com/common/README-spack
Mark Olesen 1f2e56e1f3 refactor openfoam packages (#3669)
* Several improvements for the openfoam packages

--

Refactor openfoam packages by adding an OpenfoamArch class

Use separate configure, build, install phases.

Provide FOAM_PROJECT_DIR dependent env for openfoam packages
- easier way to locate

Eliminate intermediate installation directories
- unneeded clutter.
- makes it less than easy to find the etc/bashrc file

Add versioning for all openfoam patches
- no certainty which parts (if any) will be needed in future versions,
  especially if we strive to ensure that the upstream version builds
  well with spack to begin with.

Support build of develop branches
- helps track build regressions for future openfoam releases

STYLE: use common/ and assets/ to provide additional (build) resources ...

* - adjust OpenFOAM provider

Move openfoam-com up front since this is the one being used as a base
for the others
2017-06-21 11:35:31 -05:00

16 lines
563 B
Plaintext

Additional notes for spack
--------------------------
OpenFOAM largely manages its own PATH and LD_LIBRARY_PATH settings.
The spack build currently also follows this and only provides
a minimum modules environment.
The variable FOAM_PROJECT_DIR points to the location of the OpenFOAM project
and shall contain a $FOAM_PROJECT_DIR/etc/bashrc file for OpenFOAM.
The variable FOAM_INST_DIR may also be provided for older OpenFOAM versions.
It is the aim for the future to use spack to provide the environment directly,
but this still needs more work.
2017-04-18