- the various make scripts now also search hierarchical sources,
which makes it easier to organize sources. The secondary
sub-directory is the lower-case value of the package stripped of
trailing non-alphabet characters.
For example, searching for ParaView-v5.9.1
sources/
|-- adios
| |-- ...
| |-- ADIOS2-2.7.1
| \-- adios-1.13.1
|-- cgal
| |-- CGAL-4.12.2
| \-- CGAL-4.14.2
| ...
|-- openmpi
| |-- openmpi-4.0.3
| \-- openmpi-4.1.1
|-- paraview
| |-- ParaView-v5.6.1
| \-- ParaView-v5.9.1
\-- scotch
...
- additional out-of-source build options
FOAM_THIRD_PARTY_BUILDROOT :
Replace WM_THIRD_PARTY_DIR as the root for build/ and platforms/
FOAM_THIRD_PARTY_SOURCES :
Alternative to WM_THIRD_PARTY_DIR/sources/
- rationalise internal package variable names for easier maintenance
- use MPI_ARCH_PATH to provide an MPI hint when making ParaView, VTK
and ADIOS.
This should align the detected MPI with what OpenFOAM itself is
using. Option -mpi-home to override.
- in 1906, we changed the handling of compiler flags to include the
exact values as used by OpenFOAM.
While this is needed for compiling some external programs -- see
https://develop.openfoam.com/Development/OpenFOAM-plus/issues/1256
for the discussion -- it appears to bring in flags that upset
some of the ParaView (and possibly VTK) compilation.
The culprits are likely to be found in the various '-W' switches,
but for now we simply extract a mininal set of compiler flags
that include -std=c++11 -m64 -fPIC, but no optimization flags,
additional warnings flags or OpenFOAM-specific defines.
- support use of wmake -show-xyz, as well as older WM_CC, WM_CFLAGS etc.
- add support for Makefile.inc for scotch
- add -toolset= option for making boost and use b2 instead of legacy
bjam for configuration
- only export the WM_* settings to their plain counterparts
(eg, export CC=$WM_CC)
when they actually point to an accessible program
This helps in particular when bootstrapping builds with third-party
compilers.
ENH: add support of additional configure options to some make scripts
- remove hard-coded --verbs from makeOPENMPI in favour of letting the
user provide it via the command-line for makeOPENMPI.
eg, makeOPENMPI openmpi-1.10.6 -- --with-verbs=DIRECTORY ...
- only addresses -mesa-prefix behaviour.
The -mesa-lib option makes no assumptions at all.
STYLE: update versions in makeParaView.example, makeVTK.example
- similar functionality in etc/tools/ThirdPartyFunctions to improve
the independence of ThirdParty while reducing clutter in the callers.
- add useGcc function for convenience
- mask seeing our own git-repo when building
STYLE: various items
- eliminate old user-editable configuration in files - now command-line only.
- use *_BUILD_DIR instead of *_BINARY_DIR for more clarity of the purpose
- drop use of '-q' option for wmakeCheckPwd (already has stderr redirect)
- drop checkVersion for makeParaView since it stopped working properly
with newer paraview version
CONFIG: update list of versions