Commit Graph

23 Commits

Author SHA1 Message Date
c8a7f46db2 STYLE: regularize quoting and exit on failed 'cd' 2019-11-19 16:17:01 +01:00
5ac0e3624f STYLE: trim trailing slash from tested directories 2019-04-25 11:44:53 +02:00
a7c2a4bfb9 STYLE: use EXT_SO instead of SO for consistency with wmake internal naming 2019-04-25 10:46:45 +02:00
770e22bf51 ENH: update handling of compiler and flags
- 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
2019-04-25 10:46:44 +02:00
0e599b7a64 ENH: add optional -clang flag for building gcc
- can be useful when bootstrapping
2018-07-18 09:39:12 +02:00
4f844dabcf STYLE: use _foamConfig function instead of _foamEtc -config 2018-06-19 20:41:57 +02:00
6d7ef8dc42 COMP: adjust make scripts for systems with .dylib instead of .so 2018-04-11 16:28:32 +02:00
231733bc15 STYLE: use foamEtcFile with -config option instead of config.sh/ 2018-01-22 16:05:19 +01:00
f49d26dad5 COMP: more stringent checks for WM compiler settings (issue #29)
- 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.
2018-01-03 13:41:12 +01:00
4c049afb40 ENH: add configure options for makeFFTW 2018-01-03 12:43:51 +01:00
816173b7c4 CONFIG: update versions
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 ...
2017-12-15 11:21:31 +01:00
491b3390bb ENH: add build scripts for KaHIP and METIS 2017-10-11 12:28:04 +02:00
59be96faed ENH: remove reliance on OpenFOAM etc/config.sh/functions file.
- 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
2017-03-20 12:42:44 +01:00
9f6a77a1ab ENH: introduce a separate makeOPENMPI
- makes is easier to quickly build different versions and reduces
  clutter in Allwmake.

- provide some quick '-test' options for makeCGAL, makeFFTW etc
  to reduce duplication of logic in Allwmake.
2017-01-20 16:02:25 +01:00
59432b7b2d ENH: use pkgconfigAdjust when compiling software that has pkgconfig files
- simplifies relocation at a later stage
2017-01-20 14:55:18 +01:00
1622a46832 STYLE: clearly document which scripts contain user-configurable settings
- unify cd, check for the cwd and error message
2017-01-20 09:00:51 +01:00
2461877bf5 BUG: inconsistency in fftw make (closes #14)
- fftw uses the double-precision interface only and thus
  makeFFTW should not have any special single-precision treatment.

- Bug is not apparent if the fftw was previously build with
  double-precision.
2017-01-09 11:23:24 +01:00
318e249542 STYLE: reference the location of sources via the sourceBASE variable
- in the future it may be useful to locate all the sources under a
  sub-directory instead
2016-11-27 18:47:06 +01:00
cc2161856b ENH: improve third-party make with central installations
- initial attempt for building CGAL as headers-only, and without
  gmp/mpfr
2016-11-27 16:00:43 +01:00
34023f31b8 STYLE: echo more information about boost header/lib
- improve some other feedback information
2016-07-12 22:03:24 +02:00
b351eff392 BUG: need 'unset -f' to unset functions (issue #2, issue #180)
- triggered by dash. makeFFTW needed the same fix.
2016-07-12 21:00:28 +02:00
7ec9f0713f STYLE: update some instructions in makeLLVM 2016-06-30 15:55:20 +02:00
f7ec8c304e ENH: add makeFFTW build script 2016-06-28 14:29:30 +02:00