Commit Graph

57 Commits

Author SHA1 Message Date
Henry Weller
91e04d69c1 Resolve various unimportant warning messages from Gcc, Clang and Icpc 2015-07-19 11:31:49 +01:00
Henry
84486a4234 int32: Add IO operators for long on 32bit OS
On 32bit OSs long is not unambiguously int32_t (or int64_t) causing
problems for IO operator resolution.  This problem is avoided by
explicitly defining the following operators:
2015-05-16 15:29:34 +01:00
Henry
ad7053d560 MPI configuration: Added support for SYSTEMMPI
Provided by Bruno Santos
Also some general cleaning and update of comment.
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1167
2015-03-08 21:04:38 +00:00
Henry
88b6f63bb3 Added support for gcc-5.0.0
Tested with snapshot gcc-5-20150215.tar.bz2
2015-02-23 08:44:18 +00:00
Henry
325b003b6e Added and verified support for 64bit labels
To compile with 64bit labels set

WM_LABEL_SIZE=64

in ~/OpenFOAM/dev/prefs.sh

source ~/.bashrc

then Allwmake in OpenFOAM-dev.

This will build into for example OpenFOAM-dev/platforms/linux64ClangDPInt64Opt

If WM_LABEL_SIZE is unset or set to 32:

WM_LABEL_SIZE=32

the build would be placed into OpenFOAM-dev/platforms/linux64ClangDPInt32Opt

Thus both 32bit and 64bit label builds can coexist without problem.
2014-12-31 19:02: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
william
951534b33a COMP: foamyHexMesh: added mpfr to cgal libraries 2014-01-28 16:03:57 +00:00
william
412317575d COMP: foamyHexMesh: move CGAL dependencies into rules 2014-01-28 14:58:29 +00:00
mattijs
2b97e91ce2 COMP: clang: suppress foamy compilation warning 2013-09-26 12:31:57 +01:00
laurence
fd8eebab13 ENH: Latest version of cvMesh. Squash of commits. 2012-12-11 17:22:06 +00:00
laurence
6a3571b3e9 COMP: Move boost and mpfr library includes from wmake/rules/general/CGAL
This is so that surfaceFeatureExtract will compile without boost/mpfr
2012-04-26 15:10:24 +01:00
Henry
25504bf856 Settings and wmake: Updated the use of WM_COMPILER_LIB_ARCH to set the library path 2012-04-12 11:07:47 +01:00
laurence
1d93f171ad COMP: Correct Make/options for SloanRenumber and the CGAL rules 2012-03-02 12:34:24 +00:00
laurence
075e47ea5a ENH: Merge cvMesh functionality into cv2DMesh
- Added conformationSurface and searchableSurface classes in place
  of querySurface.
- Added cellSizeControl class.
- Change cvMesh argument of relaxation model constructor to Time.
- Add writePrecision option to surfaceConvert.
- Add onLine function to surfaceFeatureExtract.
- Remove querySurface.
- Move createShellMesh and extrude2DMesh to their own libraries.
- Replace controls and tolerances with a cv2DControls object.
- Add patchToPoly2DMesh class to extrude2DMesh.
2011-11-18 09:53:46 +00:00
Henry
a47a04b55c Added support for building on SGI machines 2011-09-19 15:06:11 +01:00
Henry
0143dd5b34 flex: Updated command-line options to work with flex version 2.5.4 2011-06-24 13:40:39 +01:00
Mark Olesen
4aafea74a9 COMP: removed calcEntry bits missed in b4dae1a5ab 2011-02-24 11:35:24 +01:00
graham
423fe1048b COMP: Correcting CGAL/boost/GMP build setup. 2011-02-18 16:18:46 +00:00
Mark Olesen
fc2bd19356 STYLE: use 'platforms/' for organizing wmake binaries as well
- replaces previously used 'bin/'

STYLE: add -help to makeWmake
2011-02-15 19:01:04 +01:00
Mark Olesen
a2fe746899 ENH: allow -pkg|-package option for wmakePrintBuild
- improves the chances of tracking who built OpenFOAM, where, etc

ENH: make it easier to parse version/build from OpenFOAM -help output

- For example,
    foamListTimes -help | awk '{ if (/^Using:/) print $2}'
    foamListTimes -help | awk '{ if (/^Build:/) print $2}'
2011-01-28 13:52:36 +01:00
Mark Olesen
6c0e040bfe STYLE: remove trailing space from remaining wmake rules 2010-11-17 11:44:46 +01:00
Mark Olesen
b16ef5f0fa ENH: set PINC, PLIBS in the rules (not the env) for system-openmpi
BUG: syntax error in settings.sh
2010-04-22 15:46:54 +02:00
Mark Olesen
0d44584112 ENH: rationalize wmake rules to avoid unnecessary duplication
- main mplib rules located in GENERAL_RULES with specializations
  (if any) under RULES. Modest change in a few options files, but
  cleans up the rules directories.

  previously in options:
      include $(RULES)/mplib$(WM_MPLIB)

  now in options:
      sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB)
      sinclude $(RULES)/mplib$(WM_MPLIB)

  For GNU make it would be permissible to write both in a single line.
2010-04-22 15:01:07 +02:00
Mark Olesen
0686bdf1e9 ENH: simplify cpp rules to avoid absolute paths and multiple GFLAGS.
- otherwise /lib/cpp may need a different library binding than
  currently available and results in this type of error:

  /usr/lib64/gcc/x86_64-suse-linux/4.4/cc1:
  /data/app/OpenFOAM/ThirdParty-1.6.x/platforms/linux64/gcc-4.3.3/lib64/libstdc++.so.6:
  version `GLIBCXX_3.4.11' not found (required by
  /usr/lib64/libppl_c.so.2)

ENH: remove unused flex++ rule for SiCortex that was identical to the
general one anyhow.
2010-03-29 10:59:35 +02:00
Mark Olesen
0b9e5ea11a ENH: link to general mplib* rules where possible.
ENH: generalize rule for X11

ENH: Avoid move in flex/flex++ rule.
2010-03-26 11:48:23 +01:00
Mark Olesen
d1313bfda7 COMP: use current CGAL rules from cvm branch 2010-03-24 15:30:35 +01:00
Mark Olesen
d239cc053a COMP: coco-cpp now installed with --prefix and without separate --exec-prefix
COMP: latest coco-cpp can find the frame files relative to the
executable path. This simplifies the make rules.
2010-03-10 12:11:26 +01:00
Mark Olesen
03b30396cb ENH: relocate third-party binaries
old: $WM_THIRD_PARTY_DIR/<packageName>/platforms/$WM_ARCH*
new: $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH*/<packageName>

This streamlines the creation of binary packs, eases distribution and
helps when testing the robustness of relocatable installations.
2010-03-09 10:15:10 +01:00
mattijs
85a481906a ENH: Added new WM_MPLIB setting.
This signals that we are using the system installed openmpi version.
2010-03-01 15:14:03 +00:00
Mark Olesen
e3a1ffb1bb COMP: rename wmake rule coco -> coco-cpp to reflect frame language (C++) 2010-02-10 13:13:45 +01:00
Mark Olesen
00616b72ff ENH: Add functionEntry '#calc' to dictionary
- handles basic operations, references to other dictionary entries
  (with '$name' syntax) and assorted mathematical functions:

      pi(), degToRad, radToDeg, asin, acos, atan, sin, cos, tan, log,
      log10, mag, atan2, pow

The basic syntax: #calc{ ... };

NOTE the trailing ';' is required for the primitiveEntry to be
properly defined.
2010-02-07 13:58:10 +01:00
Mark Olesen
7dd1ad1e23 Adjust Make options for calcEntry. 2010-01-15 19:25:12 +01:00
Mark Olesen
cf3e2a8abf Update calcEntry grammar to include copyright.
Include character class (wchar_t or char) as a template parameter in
CocoParserErrors.
2010-01-06 12:27:14 +01:00
Mark Olesen
e0ba4cbb02 Adjust line number before/after #calc{} scanner for improved error messages. 2010-01-03 21:45:32 +01:00
Mark Olesen
ebfdafad7f Add preliminary wmake rule for using CoCo/R. 2010-01-03 00:39:28 +01:00
mattijs
47066c7e51 cgal compilation 2009-08-17 22:03:53 +01:00
Mark Olesen
ea14d8f8b4 Merge commit 'OpenCFD/master' into olesenm 2009-07-20 14:38:38 +02:00
henry
9b44034d8c Changed more references to wmake/utilbin to wmake/bin. 2009-07-20 11:02:57 +01:00
Mark Olesen
f48b841973 mkdep rule was still using utilbin/ directory 2009-07-20 09:15:30 +02:00
Mark Olesen
dbf3d84560 Merge commit 'OpenCFD/master' into olesenm 2009-07-17 17:08:30 +02:00
henry
6b3ceaf4b5 Removed support for Java. 2009-07-17 09:30:36 +01:00
Mark Olesen
33358fd383 fix wmake bug introduced by a9699afbb4
- skip including java rather than having recursive includes
  (and too many files open error) when WM_JAVAC_OPTION isn't defined.
2009-07-16 13:32:40 +02:00
henry
218b2baec4 Changed SP and DP to WM_SP and WM_DP. 2009-07-03 11:46:45 +01:00
Henry Weller
3345fd8378 Removed support for cint. 2009-06-22 21:03:57 +01:00
Mark Olesen
1cdbeb29d7 minor tweak to wmake
- place wmkdep and dirToString executables under
  utilbin/$(WM_ARCH)$(WM_COMPILER).
  This helps somewhat when copying rules about, and might help when creating
  general rules.
2009-05-06 15:56:29 +02:00
mattijs
de2a74b2fa use gcc, not g++ for flex 2009-04-23 16:20:57 +01:00
mattijs
2c48a69e50 scotch decomposition method 2009-04-23 14:44:23 +01:00
henry
4dedd47382 Changed the option to select the generation of a C++ scanner to the backward compatible -+. 2009-03-31 20:14:40 +01:00
Mark Olesen
0061e9ed03 added Foam::FOAMbuild to Foam::FOAMversion
- avoids problems with finding files based on FOAMversion
  (reported by Mattijs)
2009-01-09 09:11:50 +01:00
henry
7386e4c94d Changed "flex++" to "flex --c++" to avoid the need to create the link from "flex" to "flex++" after installing "flex". 2008-12-30 19:02:45 +00:00