269 Commits

Author SHA1 Message Date
d07150e20e BUG: Allclean removes platforms/ instead of build/ (closes #7)
- Now only cleans the build/ directory.

- Add -all, -current options etc for also removing platforms,
  if wishing a complete clean.
2016-10-14 17:52:56 +02:00
105e8a0d50 BUG: need -lrt when linking scotch on some systems (issue #6) 2016-10-07 11:00:33 +02:00
375de7066d COMP: simplify scotch makefiles
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
2016-09-14 10:12:03 +02:00
85180484c3 CONFIG: update cmake variables for paraview with python (issue #5)
- 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.
2016-09-14 10:11:03 +02:00
f8e0b17acb ENH: provide makeParaView.example (mpi + mesa)
- an example of compiling for pvserver

- make upper-limit on MPI processes command-line configurable for
  makeParaView and add MPI support into makeVTK
2016-09-08 11:28:33 +02:00
8f68d51717 CONFIG: change default library target for ccm to be static
- Makes it easier to locate for compiling/linking and lets us
  wrap away in a C++ interface to hide low-level C routines.
2016-08-09 09:54:11 +02:00
a5ab962792 STYLE: allow argument passing in makeVTK.example 2016-08-04 16:02:09 +02:00
2453d95ef7 ENH: provide makeADIOS script 2016-08-01 11:26:49 +02:00
cd07d9f6bc ENH: provide makeMesa and makeVTK scripts 2016-08-01 10:45:10 +02:00
5dd6900492 ENH: relocate common functions into ThirdPartyFunctions
- 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
2016-07-27 20:14:18 +02:00
5de10e0e5a ENH: improve flexibility of makeGcc for non-gcc builds
- 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.
2016-07-27 17:38:34 +02:00
b36e02052b CONFIG: enable shared libraries when building clang 2016-07-27 17:02:28 +02:00
c20c2c2509 CONFIG: update paraview patch for paraview-5.1.0
ENH: include ThirdParty platforms when searching for cmake
2016-07-14 09:44:29 +02:00
f3ef77b946 ENH: remove reliance on ParaView_VERSION env variable
- 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.
2016-07-13 09:42:00 +02:00
bee5ef0d19 ENH: makeParaView now accepts paraview-VERSION directly as argument
- 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
v1606
2016-07-13 09:29:48 +02: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
17aaa3dc77 CONFIG: rename config file to avoid premature filtering of its name 2016-07-06 08:12:31 +02:00
9bb96a7bcd BUG: need 'unset -f' to unset functions (issue #2)
- triggered by dash.
2016-07-01 17:47:05 +02:00
7ec9f0713f STYLE: update some instructions in makeLLVM 2016-06-30 15:55:20 +02:00
68b7b8c135 ENH: integrate makeFFTW into Allwmake script
- issue warning message but not failure when optional things like
  (boost, CGAL, FFTW) encounter build issues in ThirdParty Allwmake.
2016-06-28 16:50:29 +02:00
f7ec8c304e ENH: add makeFFTW build script 2016-06-28 14:29:30 +02:00
4cd3848a40 ENH: out-of-source build for openmpi
- update openmpi infiniband config options
2016-06-21 12:21:22 +02:00
cf251ea182 ENH: support new rendering backend for paraview >= 5.0
ENH: patch paraview 4.4.0 directly before building

- this avoids more manual steps for the user
2016-06-20 07:07:52 +02:00
3da9455ca9 ENH: makeGcc now uses --disable-multilib by default
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.
2016-06-20 07:07:52 +02:00
f09aa2ebdc ENH: SOURCE_CGAL_VERSIONS_ONLY workaround replaced in OpenFOAM
Unset the _foamAddLib function prior to sourcing config.sh/CGAL

DOC: restriction about mixing ThirdParty and system gmp/mpfr
     does not apply anymore.
2016-06-20 07:07:51 +02:00
fde551c072 ENH: avoid repeated CGAL builds
- 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
2016-06-20 07:07:51 +02:00
0b1c761075 STYLE: provide 'die' as alternative to 'usage'
- make option parsing more consistent
2016-06-20 07:07:51 +02:00
b66ec91d01 ENH: support use of system gmp/mpfr/mpc with ThirdParty gcc
- not previously possible to configure a third-party gcc
  with system gmp/mpfr/mpc.
  This makes it easier to switch between compilers for testing.
2016-06-20 07:07:51 +02:00
5d63dd1b5a BUG: missing library arch on 3rd party gmp/mpfr/mpc paths 2016-06-20 07:07:51 +02:00
a66c85ce80 BUG: inconsistent gcc libraries between makeGcc and OpenFOAM
- 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
2016-06-20 07:07:51 +02:00
b06f4a8639 ENH: generalize patching facilty - provide patch for scotch_6.0.4
- fixes #1
2016-06-20 07:07:51 +02:00
dc0ed1606a STYLE: slight cleanup of paraview make
- 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
2016-06-20 07:07:50 +02:00
d75ec96234 ENH: add a patch mechanism for ParaView build
- this adds some flexiblity/robustness to the build
2016-06-14 18:28:56 +02:00
b979e25f28 DOC: update download links for gmp,mpfr,mpc,cmake
- align fallback clang version with OpenFOAM config files
2016-06-14 18:28:56 +02:00
f2e5aba339 ENH: adjust build options for third-party IO libraries
- support building static libraries
2016-06-14 18:28:56 +02:00
6c13263e59 STYLE: make WM_NCOMPPROCS consistent with Allwmake behaviour 2016-06-14 18:28:56 +02:00
376a2b66f4 GIT: Merge in foundation/master with cleanup (2016-06-14)
The ThirdParty repository from the Foundation now includes some
3rd-party source code (paraview, scotch) as well.

To avoid this bloat (ca. 50MB), now and in the future, it is
unfortunately necessary to break the linear history and the direct
connection with the Foundation repository.

This commit is a squashed merge of the current Foundation master branch
with some minor adjustments.

Stop tracking of the derived README.html file.

===========================================================================
Changes prior to merge:

commit 3cb21d12be069561fbe13461440cbdf1c8b188d5
Author: mark <mark@opencfd>
Date:   Tue Jun 14 17:18:40 2016 +0200

    GIT: rationalize .gitignore

    - do not track derived content.
    - do track wmake files etc. (re-instates some content)

commit d1bf108bea922bf60a1002c4641770b91f09f226
Author: Henry Weller <http://cfd.direct>
Date:   Sat Nov 7 21:44:27 2015 +0000

    Reinstated Qt build scripts
    Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1905

commit 7302adf5d0a7bafe635c5d0470f00a6fe78a57f6
Author: mark <mark@opencfd>
Date:   Tue Jun 14 17:15:27 2016 +0200

    Revert "scotch_6.0.3: Added to the source tree to simplify building OpenFOAM"

    This reverts commit 1cce60aa78540bf96783684523e1cac4b6a78043.

commit fbe0018d5fd4d5f94f00f8e7efd3ae11b6ab41b5
Author: mark <mark@opencfd>
Date:   Tue Jun 14 17:15:03 2016 +0200

    Revert "ParaView-5.0.1: Added the source-tree to ThirdParty-dev and patched as described in the README file"

    This reverts commit eba760a6d6bb44860fc7d94d922be7215ee93c1f.

===========================================================================
All changes since NOV-2015 are included in the merge:

commit 17cafd35812493f9a39e56c7355f49c1d3eef2d0
Author: Henry Weller <http://cfd.direct>
Date:   Thu Jun 9 14:36:59 2016 +0100

    makeGcc, makeCGAL: lib -> lib64 on 64bit OSs
    Patch contributed by Bruno Santos
    Resolves patch request http://bugs.openfoam.org/view.php?id=2114

commit ce4951579b8e01ce524ed6e465ea352e6a243f1b
Author: Henry Weller <http://cfd.direct>
Date:   Wed Jun 8 15:14:47 2016 +0100

    ThirdParty-dev/makeGcc: added "-no-multilib" option
    Patch contributed by Bruno Santos
    Resolves patch request http://bugs.openfoam.org/view.php?id=2113

commit f72ad1f0a66338e5c342efed47079347e1db16d0
Author: Henry Weller <http://cfd.direct>
Date:   Tue May 31 09:16:57 2016 +0100

    README: Updated download instructions

commit eba760a6d6bb44860fc7d94d922be7215ee93c1f
Author: Henry Weller <http://cfd.direct>
Date:   Mon May 30 21:20:56 2016 +0100

    ParaView-5.0.1: Added the source-tree to ThirdParty-dev and patched as described in the README file
    Resolves bug-report http://bugs.openfoam.org/view.php?id=2098

commit 1cce60aa78540bf96783684523e1cac4b6a78043
Author: Henry Weller <http://cfd.direct>
Date:   Mon May 30 21:17:14 2016 +0100

    scotch_6.0.3: Added to the source tree to simplify building OpenFOAM
    Recent versions of scotch are rarely available in packaged form for
    ready installation on GNU/Linux distributions and so the sources are
    generally required.

commit 08df75f4c7339520880fcf9dd243e9c414cbfe7e
Author: Henry Weller <http://cfd.direct>
Date:   Mon May 30 21:16:54 2016 +0100

    .gitignore: Simplified

commit ef2d69ba55076ba14ab0c771ac2981b94ab60f2e
Author: Henry Weller <http://cfd.direct>
Date:   Mon May 30 21:16:27 2016 +0100

    README: Updated instructions for compiling ParaView-5.0.1

commit 7cdc8b196acfa021c4ff23036714aaee5e1b9612
Author: Henry Weller <http://cfd.direct>
Date:   Mon May 30 12:30:17 2016 +0100

    README: Upgraded to CGAL-4.8

commit bc8ce83166a05db0dc197a7a203634aa6d25c96f
Author: Henry Weller <http://cfd.direct>
Date:   Mon May 30 12:28:27 2016 +0100

    makeCGAL: Updated to CGAL-4.8

commit c0afdcde7920538ceaf9e0c78827e3a3f18f541d
Author: Henry Weller <http://cfd.direct>
Date:   Mon May 23 18:46:27 2016 +0100

    etc/tools/ParaViewFunctions: Improve instructions for updating the environment after compiling ParaView

commit b627924a4bf104521b567d3aa3dc80c864325b1a
Author: Henry Weller <http://cfd.direct>
Date:   Tue May 10 11:38:00 2016 +0100

    Allwmake: Added scripted changes for REALTYPEWIDTH and IDXTYPEWIDTH
    Patch contributed by Bruno Santos
    Resolves bug-report http://bugs.openfoam.org/view.php?id=2085

commit 69dba76b3195420c71173a65b1c227b2650eaebf
Author: Henry Weller <http://cfd.direct>
Date:   Sun Apr 3 14:43:58 2016 +0100

    Further changes for http://www.openfoam.org/mantisbt/view.php?id=2040
    Patch provided by Bruno Santos

commit 1379e08a39ef9e199307e9b6608e7ad97ed03b77
Author: Henry Weller <http://cfd.direct>
Date:   Sun Apr 3 10:30:43 2016 +0100

    Allwmake: Implement the default "stop on 1st error"
    Patch contributed by Bruno Santos
    Resolves tweak http://www.openfoam.org/mantisbt/view.php?id=2040

commit 8c9c235db686de2612c62112b37e132bfa773b16
Author: Henry Weller <http://cfd.direct>
Date:   Wed Mar 30 19:28:28 2016 +0100

    Updated handling of the ParaView installation path
    Patch contributed by Bruno Santos
    Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2034

commit d88b4ea88db7d35c7b7fe8d869d59be32a224144
Author: Henry Weller <http://cfd.direct>
Date:   Mon Mar 21 23:03:59 2016 +0000

    makeCGAL: Corrected typo
    Patch contributed by Bruno Santos
    Resolves report http://www.openfoam.org/mantisbt/view.php?id=1215

commit 578f8827fbc5f709595fc5ab5185053aaa8cf678
Author: Henry Weller <http://cfd.direct>
Date:   Mon Mar 14 11:13:23 2016 +0000

    Make scripts updated to use the new OpenFOAM-dev/ets/config.sh variables
    Contributed by Bruno Santos
    Resolves patch request http://www.openfoam.org/mantisbt/view.php?id=1215
    See also http://www.openfoam.org/mantisbt/view.php?id=1232

commit c8904e60d2c97ee3c4865bb34419758a10cb2a5a
Author: Henry Weller <http://cfd.direct>
Date:   Tue Feb 16 08:57:29 2016 +0000

    scripts: Reformat with consistent section separators

commit 43f2b369458ff87d0c85c493586d12b75855cf32
Author: Henry Weller <http://cfd.direct>
Date:   Tue Feb 16 08:56:26 2016 +0000

    ThirdParty-dev/etc/tools/ParaViewFunctions: Updated docs
    Including patch from Bruno Santos
    Resolves report http://www.openfoam.org/mantisbt/view.php?id=1997

commit dfe9e823de452f4c540aa4d02dcf5058e063dd44
Author: Henry Weller <http://cfd.direct>
Date:   Wed Feb 10 20:44:32 2016 +0000

    README.org: Upgrade OpenMPI link to openmpi-1.10.2

commit 99d158539e21a3a86d9ac9d5d6f67834142a1847
Author: Henry Weller <http://cfd.direct>
Date:   Wed Feb 10 20:21:34 2016 +0000

    Rename makeParaView4 makeParaView and update to support versions 4 and 5
    Rename makeParaView makeParaView3 specifically for ParaView version 3

commit 8219a109a24d0699f689cf29a6ce6b4190dc84f0
Author: Henry Weller <http://cfd.direct>
Date:   Wed Feb 10 16:21:23 2016 +0000

    Updates for changes to etc/config structure

commit c6474e672655864b784950b3bc12e245745ea64d
Author: Henry Weller <http://cfd.direct>
Date:   Sun Feb 7 10:30:22 2016 +0000

    README: Added download link for ParaView-5.0.0

commit 2da4d8ccea67b4d194161f03c2aca8f693789121
Author: Henry Weller <http://cfd.direct>
Date:   Sun Feb 7 10:27:46 2016 +0000

    README: Updated for ParaView-5.0.0

commit 730b8840f7a47e4807c5c239caf337b49960fc9b
Author: Henry Weller <http://cfd.direct>
Date:   Sun Feb 7 10:26:15 2016 +0000

    makeGcc: Removed support for gcc versions older the 4.5

commit 2500c120b9cd29b5b46d4ca118a60dfac78a8923
Author: Henry Weller <http://cfd.direct>
Date:   Mon Nov 2 20:00:59 2015 +0000

    README.org: Added patch instructions for ParaView-4.4.0 from
    http://www.openfoam.org/mantisbt/view.php?id=1887

===========================================================================
2016-06-14 18:24:31 +02:00
e321e17f71 Reinstated Qt build scripts
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1905
2015-11-07 21:44:27 +00:00
8f0ee0c31e README: updated 2015-11-07 21:44:16 +00:00
2ccce19f01 Upgrade ParaView to version 4.4.0 2015-10-27 16:50:22 +00:00
ebcc701315 makeGcc: Ignore problems with makeinfo 2015-10-23 17:32:18 +01:00
2f262505cd CGAL: Upgraded to 4.7 2015-10-23 17:32:02 +01:00
e84752411d Corrected typo
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1834
2015-08-23 00:07:05 +01:00
5ee053cd3e Allwmake: Update OpenMPI configuration options
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1750
2015-06-17 16:55:06 +01:00
f0d4150c46 README: Updated instructions for ParaView versions 2015-06-09 12:08:35 +01:00
5dba27fa26 README: Added instructions for building ParaView on Ubuntu 14.10 and higher
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1734
2015-06-09 12:03:57 +01:00
ae832c564f ParaView4Functions: Corrected for dash
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1701
2015-05-21 08:48:18 +01:00
605cfc1e4e Minor reformat 2015-05-19 14:24:41 +01:00
1d1b345494 Upgraded CGAL and scotch 2015-05-18 22:26:18 +01:00