- ADIOS source packages now include mxml, which means that it doesn't
need to be built separately.
- Use OpenFOAM config.sh/ADIOS (if it exists), or explicitly define
the version to compile. Eg, ./makeADIOS ADIOS-1.10.0
- On 64-bit systems, the library locations for boost, CGAL are changing.
* Boost 1_62_0 and older build into 'lib/'.
* CGAL-4.9 builds into 'lib64/', older versions into 'lib/'.
Future-proof things by using lib$WM_COMPILER_LIB_ARCH for boost and
CGAL targets.
As per patch provided by Bruno Santos @wyldckat to support Raspbian.
http://bugs.openfoam.org/view.php?id=2051
STYLE: drop unneeded linkage against old POSIX librt.so
- replace PYTHON_INCLUDE_PATH with PYTHON_INCLUDE_DIRS
(changed in paraview 2014-10-30)
- add check for Python.h for earlier failure.
Eg, when development headers are missing on the system.
- Qualify some paraview-specific functions with 'ParaView' in the name.
This helps with code-reuse.
STYLE: use lib$WM_COMPILER_LIB_ARCH instead of explicit lib64
- ThirdParty GMP/MPFR may be needed when making CGAL, but previously
no convenient means of compiling them without also compiling a
ThirdParty GCC.
Now support the combination of building GMP or MPFR, without needing
to build GCC as well. This could benefit people using clang.
- add a '-no-theadsafe' option when building MPFR via the makeGcc
script. This may help avoid conflicts with existing, older,
non-thread-safe system MPFR libraries.
- as per the other build scripts, use the OpenFOAM config
files for the base settings and command-line arguments
for refinement.
Note that the $ParaView_DIR (the installation path) contains
the paraview version information. So there is no need to
keep a second variable just for that purpose.
- Symmetrical with the usage for most other ThirdParty build
scripts. For example,
"makeParaView ParaView-5.0.1"
- As a convenience, also allow a number directly. For example,
"makeParaView 5.0.1"
This should be clearer than the old instruction and does not
rely on an alias:
"foamPV 5.0.1; ./makeParaView"
BUG: heuristics for activating GL2 rendering backend missed when
paraview version was specified from the command-line
Rationale: 32-bit support is not normally needed for OpenFOAM and
disabling reduces build issues.
Can use the '-multilib' option to enable 32-bit support if required.
- now check for existing third-party build and skip if all build
components are unchanged.
- skip build entirely for boost-none or CGAL-none
This is primarily useful when makeCGAL is called directly and not from
Allwmake.
STYLE: use WM_COMPILER_LIB_ARCH for boost system lib
- explicitly define WM_COMPILER_TYPE=ThirdParty before sourcing
the OpenFOAM settings. Provide system equivalents as fallbacks
so that it is apparent what is happening.
Make the same adjustment to makeLLVM.
BUG: inconsistent CGAL version between makeCGAL and OpenFOAM
- align comments in ParaView3Functions with ParaViewFunctions
(makes it easier to spot differences)
- mention '-buildType' option in usage
- fix the version extraction reporting
- drop broken date-stamp check
STYLE: align some naming in makeCCMIO with other files