Commit graph

53 commits

Author SHA1 Message Date
Henry Weller
5defb3b751 wmake: General cleanup to improve consistency and maintainability
The Makefiles are now in the makefiles sub-directory

The "-f | -force" option in wmakeLnInclude is now "-u | -update" for
consistency with the other scripts.

The "Usage" entry in the headers is now consistently formatted in all
scripts.
2015-12-16 18:31:02 +00:00
Henry Weller
947632531c Updated header 2015-12-15 15:40:06 +00:00
Henry Weller
098e90de88 wmakeLnIncludeAll: Start messages with capital 2015-12-15 15:39:26 +00:00
Henry Weller
01840651d4 Updated header 2015-12-15 15:39:19 +00:00
Henry Weller
88e523aad6 wmakeLnInclude: Use xargs with find 2015-12-15 15:38:59 +00:00
Henry Weller
119708e401 wcleanPlatform: Updated version of wcleanMachine and wcleanAll
wcleanPlatform is a more general and cleaner version of wcleanMachine
supporting the "-all" option to provide the equivalent of wcleanAll.

Both wcleanMachine and wcleanAll are now deprecated and will be removed
for the next major release.
2015-12-15 12:12:06 +00:00
Henry Weller
d1992c7e99 wmake/makeWmake: Removed
Legacy script which is no longer used
2015-12-14 18:23:50 +00:00
Henry Weller
608dd321d1 wcleanAll, wrmdep: Updated check for the WM_PROJECT_DIR 2015-12-14 17:49:02 +00:00
Henry Weller
436c3b92e4 AllwmakeParseArguments: Added "-update" option
Updates lnInclude directories and dep files before compilation.  This is
useful to apply following a "git pull" to ensure consistency between the
source files, dep files and links.
2015-12-14 11:03:16 +00:00
Henry Weller
dbe56f6460 wrmdep: Update documentation 2015-12-13 21:23:04 +00:00
Henry Weller
1185daf9b7 wrmdep: Added "update" option
Searches all the "src" and "application" directories of the project for
broken symbolic links for source code files and then remove all .dep
files that relate to the files that no longer exist.  Must be executed
in main project source code folder: $WM_PROJECT_DIR

Patch provided by Bruno Santos

Resolves feature-request http://www.openfoam.org/mantisbt/view.php?id=1941
2015-12-13 20:57:25 +00:00
Henry Weller
21cf5fbe10 wclean: Added the target "empty", which removes empty directories
It will exit after removing the empty folders and it will not do the
other standard "wclean" operations.  This replaces the functionality
provided by "wrmdepold".

Patch provided by Bruno Santos
2015-12-13 20:55:24 +00:00
Henry Weller
e8eb1707b5 FreeBSD sed: ensure that a "-e" option immediately follows "-i" 2015-11-14 17:03:03 +00:00
Henry Weller
f7d3901cbf CGAL: Upgrade to 4.7 2015-10-23 17:25:59 +01:00
Henry Weller
82855f6aca Renamed file
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1846
2015-09-13 21:21:51 +01:00
Henry Weller
2ead55ceb9 wmake/rules/linuxPPC64leGcc/linuxPPC64leGcc: Updated link options
Patch provided by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1846
2015-09-12 23:32:11 +01:00
Henry Weller
36ae54f803 Resolve various unimportant warning messages from Gcc, Clang and Icpc 2015-07-19 11:31:49 +01:00
Henry Weller
8641e77bb7 Updated warning suppression for CGAL 2015-07-17 23:10:10 +01:00
Henry Weller
155527d528 Suppress compiler warnings from CGAL 2015-07-17 21:38:25 +01:00
Henry Weller
d0b7597873 Icpc 15: -no-prec-div optimization causes snappyHexMesh to fail -- removed 2015-07-17 19:34:19 +01:00
Henry Weller
80bf93b496 wmake rules for icpc: suppress warnings from CGAL 2015-07-17 18:27:30 +01:00
Henry Weller
e6e7820ae5 Upgrade Intel C++ compiler to icpc (ICC) 15.0.3 20150407
This resolves a whole range of issues and work-arounds with earlier
releases.  This version of icpc is more or less compatible with the
latest gcc and clang compilers and only required one hack to avoid
warnings from PackedBoolList.H.
2015-07-17 16:50:40 +01:00
Henry Weller
77bf182edc Resolved issues with virtual function inheritance and warning from clang
Also removed __GNUC__ conditional compilation statements which are no
longer needed.
2015-07-17 12:11:37 +01:00
Henry Weller
986a4f9611 Added support for the PPC64le architecture
Resolves feature request http://www.openfoam.org/mantisbt/view.php?id=1759
2015-06-23 11:26:18 +01:00
Henry
6281619fb9 Upgraded gcc from 5.0.0 to 5.1.0 2015-05-18 22:35:48 +01:00
Henry
372dc26c8d 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
930d3d4387 Scripts: Add {} following -I option to xargs
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1573
2015-03-15 22:14:44 +00:00
Henry
3739559e75 Replace xargs -i with xargs -I as the -i option is deprecated 2015-03-13 17:56:52 +00:00
Henry
339c1e2a3d 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
d2fbdcb9a9 Added support for gcc-5.0.0
Tested with snapshot gcc-5-20150215.tar.bz2
2015-02-23 08:44:18 +00:00
Henry
2c25b8db52 Add support for reading and updating the debug switches of templated
classes in the DebugSwitches sub-dictionary of system/controlDict
2015-02-04 22:08:27 +00:00
Henry
53a0e4a2f3 Icc support: added floating-point exception trapping and accurate maths
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1432
2015-01-28 09:18:47 +00:00
Henry
8c591c480e wmake: Added to "See also" 2015-01-11 18:44:18 +00:00
Henry
ac42485493 wmake: Added "See also" 2015-01-11 18:21:20 +00:00
Henry
03ebd6ddb9 wdep: If source file is not in the current directory search tree for first occurrence 2015-01-11 17:16:15 +00:00
Henry
4e90a5d364 Remove set -x 2015-01-11 13:16:56 +00:00
Henry
0e51d263d0 wrmdepold: Updated rmdepold to handle out-of-tree .dep and .o files 2015-01-11 13:14:55 +00:00
Henry
fb1b5ffac5 wdep: updated 2015-01-11 12:15:06 +00:00
Henry
dddbe58c94 wrmo: Add -a/-all/all option to remove .o files from all platforms rather than just the current platform. 2015-01-10 23:22:46 +00:00
Henry
92f1b0fb78 Updated doc 2015-01-10 23:22:39 +00:00
Henry
16b29a9bd0 wrmdep: Add -a/-all/all option to removed for all platforms rather than just the current platform. 2015-01-10 23:18:34 +00:00
Henry
1c83ab493e Replaced rmoall with wrmo
Description
    Remove all .o files from the object directory tree corresponding to the
    current source derectory or remove only the .o file corresponding to the
    optionally specified [file].
2015-01-10 22:33:39 +00:00
Henry
b0c120b7b5 wmake/scripts/AllwmakeParseArguments: Handle stop-on-error
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1485
2015-01-10 21:58:19 +00:00
Henry
fd6459c556 Corrected typo 2015-01-10 21:12:27 +00:00
Henry
24d054199d wmake/wcleanAll: Corrected typo
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1483
2015-01-10 17:23:20 +00:00
Henry
28aa1141e9 wrmdep: Replacement for rmdepall
Remove all .dep files from the object directory tree corresponding to the
current source derectory or remove only the .dep files referring to the
optionally specified [file].
2015-01-08 10:36:37 +00:00
Henry
2a614865ff 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
9c7b04d0c3 Coco/R based parsers are no longer supported 2014-12-17 20:11:02 +00:00
Henry
e59ed485e3 Updated to preferentially search the local directory for dependencies
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1222
2014-12-17 20:09:01 +00:00
Henry
3d30a05a92 Renamed -frounded-math option 2014-12-16 08:37:25 +00:00