Commit Graph

27 Commits

Author SHA1 Message Date
Mark Olesen
dd78e042fe ENH: reduce reliance on FOAM_EXT_LIBBIN during builds
- just check WM_PROJECT_DIR instead.

- provide a fallback value when FOAM_EXT_LIBBIN might actually be needed.

Only strictly need FOAM_EXT_LIBBIN for scotch/metis decomposition, and
when these are actually supplied by ThirdParty.
All other ThirdParty dependencies are referenced by BOOST_ARCH_PATH etc.

Can therefore drop the FOAM_EXT_LIBBIN dependency for VTK-related
things, which do not use scotch/metis anyhow.
2017-04-04 15:28:42 +02:00
Mark Olesen
446b8e7188 STYLE: respect WM_DIR value when building wmake tools
- minor bug: 'wclean empty' may have had issues with logical vs physical path
2017-03-29 13:49:15 +02:00
Mark Olesen
8db517bfbb CONFIG: provide Clang38, Clang39 compiler settings
- easier to test or use different versions

- change WM_CXXFLAGS to -std=c++11 instead of -std=c++0x
2017-03-10 18:13:49 +01:00
Mark Olesen
3e5307111c STYLE: unify cd, check for the cwd and error message 2017-02-06 09:13:59 +01:00
Mark Olesen
195a37cdb5 STYLE: avoid specifying the path to 'date' (issue #364)
- this is apparently not uniform across systems

STYLE: unify the date format in logfile
2016-12-23 08:03:09 +01:00
Mark Olesen
608bb5d83b COMP: update lnInclude directories when building (issue #364)
- Could be related to interrupted builds.
  So if there are any parts of the build that rely on an explicit
  'wmakeLnInclude', make sure that the contents are properly updated.

--

ENH: improved feedback from top-level Allwmake

- Report which section (libraries, applications) is being built.

- Provide final summary of date, version, etc, which can be helpful
  for later diagnosis or record keeping.

- The -log=XXX option for Allwmake now accepts a directory name
  and automatically appends an appropriate log name.
  Eg,
      ./Allwmake -log=logs/  ->> logs/log.linux64GccDPInt32Opt

  The default name is built from the value of WM_OPTIONS.

--

BUG: shell not exiting properly in combination with -log option

- the use of 'tee' causes the shell to hang around.
  Added an explicit exit to catch this.

--

- Detecting the '-k' (-non-stop) option at the top-level Allwmake, which
  may improve robustness.

- Explicit continue-on-error for foamyMesh (as optional component)

- unify format of script messages for better readability

COMP: reduce warnings when building Pstream (old-style casts in openmpi)
2016-12-22 11:26:29 +01:00
Henry Weller
8abdc36398 Allwmake: Simplified by removing 'doc' option
It is better to run doc/Allwmake or doc/Doxygen/Allwmake and provide the
required options.
2016-07-04 22:28:19 +01:00
Henry Weller
dea6a3c6e8 wmake/Allwmake: Completed support for targetType 'objects'
Patch contributed by Mattijs Janssens
2016-06-24 15:25:11 +01:00
Henry Weller
350d03246e scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
Henry Weller
8ed5d9fd33 Allwmake: Change test logic for building documentation to avoid return "fail" 2015-10-26 16:26:52 +00:00
Henry
844b283030 New version of wmake supporting out-of-tree object and dependency files 2014-12-14 21:42:18 +00:00
mattijs
15c433b337 ENH: wmake: 'wmake dep' to build dependencies and softlinks 2013-06-04 16:50:33 +01:00
Mark Olesen
171d7a35e5 ENH: relocate 3rd party libraries -> FOAM_EXT_LIBBIN
- place under $WM_THIRD_PARTY_DIR/lib/$WM_OPTIONS
- relocate FOAM_MPI_LIBBIN accordingly
2010-12-30 13:52:34 +01:00
Mark Olesen
5810f991d7 STYLE: report when skipping ThirdParty build 2010-07-02 09:06:04 +02:00
mattijs
5b01d2bf27 COMP: Allwmake : check for existence of Thirdparty 2010-06-22 17:28:52 +01:00
Mark Olesen
bdbdd25bac Allwmake and {applications,src}/Allwmake use wmake/wmakeCheckPwd
- solves problems that can occur when checking $PWD and links are involved
2009-08-07 20:24:11 +02:00
Mark Olesen
f763b00d08 spelling/grammar in Allwmake consistency checks 2009-07-30 11:51:58 +02:00
henry
2d58cdf8ca Added a consistency check for the location of the installation. 2009-07-29 12:52:06 +01:00
Mark Olesen
7fd14818e9 drop 'set -x' from top-level Allwmake - it's in the subordinate ones anyhow
- also gives better isolation between scripts
2009-07-27 08:46:43 +02:00
Mark Olesen
91157af10c All ThirdParty build-related stuff moved there. 2009-07-24 23:10:15 +02:00
Mark Olesen
b1a3bcc9a9 take control of Allwmake scripts for third-party sources
- this improves the chances of having a current version
2009-07-24 11:01:29 +02:00
Mark Olesen
5d0b3348c5 can call Allwmake scripts directly instead of with ( cd foo && ./Allwmake ) 2008-11-05 10:39:06 +01:00
Mark Olesen
7be206a5f3 Be pickier about only running certain scripts from the cwd 2008-08-09 18:50:27 +02:00
Mark Olesen
3bbd01ebfb minor changes to Allwmake script(s)
* use $WM_THIRD_PARTY_DIR variable in top-level Allwmake
  * test new shell idiom for Allwmake files:
        # run from this directory only
        cd ${0%/*} || exit 1
    this might be especially useful when building optional components
2008-06-15 17:57:55 +02:00
Mark Olesen
aa68159ae4 wmake must be made before other targets. 2008-06-05 15:29:53 +02:00
henry
8c6878a9e5 Corrected for relacation of src/other to $WM_PROJECT_INST_DIR/ThirdParty 2008-06-03 21:34:07 +01:00
OpenFOAM-admin
3170c7c0c9 Creation of OpenFOAM-dev repository 15/04/2008 2008-04-15 18:56:58 +01:00