Commit Graph

130 Commits

Author SHA1 Message Date
Mark Olesen
d29c438657 STYLE: use url for FSF license instead of postal address, switch to GPL v3 2010-03-29 14:07:56 +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
46d96dc855 BUG: remove old wmake/rules/*/{dirToString,wmkdep} binaries 2010-03-25 14:42:29 +01:00
Mark Olesen
d1313bfda7 COMP: use current CGAL rules from cvm branch 2010-03-24 15:30:35 +01:00
Mark Olesen
d353f08f37 ENH: move internal wmake scripts to scripts/ directory
- more consistent script names
- remove '-help' option from internal scripts
2010-03-24 15:17:44 +01:00
Mark Olesen
f1d03a3802 ENH: cleanup shell scripts, BUG: unclosed 'if' in inlineReplace 2010-03-23 14:05:51 +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
2068c67a33 ENH: 'wclean all' now uses either Allwclean or Allclean files if
present.
2010-03-09 17:16:23 +01:00
Mark Olesen
d4054f6b1f ENH: add -i(ignore) option to wmkdep, wmkdepend
- specifies headers that should be ignored. Provides a workaround
  for the fact that wmkdep/wmkdepend doesn't handle defines at all.

STYLE: code cleanup of wmkdep.l
2010-03-09 16:16:17 +01:00
Mark Olesen
27ecc9177c ENH: only report the first occurance of missing file when making dependencies 2010-03-09 10:36:55 +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
Mark Olesen
be86669315 Merge remote branch 'OpenCFD/master' into olesenm 2010-03-05 15:46:49 +01:00
Mark Olesen
5726d59f63 STYLE: improved usage information for wmake 2010-03-04 09:37:50 +01:00
andy
22ce56db17 Merge branch 'olesenm' 2010-03-01 15:55:30 +00: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
f2f2f60cf5 STYLE: remove unused cruft from flex-based lexers 2010-02-25 16:18:34 +01: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
d0fd6f27a3 ENH: use stl::set instead of hand-rolled HashTable in wmkdependParser 2010-02-10 13:07:42 +01:00
Mark Olesen
49a70d832d ENH: add C++-based wmkdepend parser (uses Coco/R grammar).
- This avoids dependency on lex/flex and provides better encapsulation
  for buffer switching. As a result, the maximum number of open files
  only corresponds to the include depth.
2010-02-07 14:31:40 +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
henry
f686c8d531 Remove spurious warnings from the Icc compiler concerning casting NULL. 2009-12-02 16:39:12 +00:00
mattijs
9c1d1dc7b9 skip c++ include for mpi.h 2009-10-06 14:43:42 +01:00
andy
6c13d978cf extending template max depth to 60 2009-09-17 11:52:09 +01:00
mattijs
47066c7e51 cgal compilation 2009-08-17 22:03:53 +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
e211ff7dab consistency update: foamNew, foamNewSource, foamNewTemplate
- simplified the logic
- provide direct link to the respective scripts
- provide help from the respective scripts
2009-08-02 12:43:24 +02:00
Mark Olesen
7fb61ed941 wmakePrintBuild - cd first, so we get the correct git information 2009-08-02 11:06:26 +02:00
Mark Olesen
efce737693 Add provisioning for gcc-4.4.1
- compile into linux64Gcc44, linuxGcc44 to avoid clashes during testing
- continue to use gmp-4.2.4 since gmp-4.3.x might be miscompiled with
  a system gcc-4.3.2
2009-07-29 09:59:16 +02:00
Mark Olesen
fb6193f536 adjusted wmakeLnIncludeAll to search Make/files for LIB= 2009-07-21 11:11:03 +02:00
Mark Olesen
7215571eb7 updated wmakeLnIncludeAll
- search for 'lnInclude' rather than 'Make' by default
  This gives better general behaviour for rebuilding.
2009-07-21 08:59:49 +02: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
5cca4df2f0 finalize wmake/utilbin/ -> wmake/bin/ change
- update foamPack* scripts accordingly
2009-07-17 17:20:54 +02:00
Mark Olesen
dbf3d84560 Merge commit 'OpenCFD/master' into olesenm 2009-07-17 17:08:30 +02:00
henry
81b6fff674 Changed wmake/utilbin to wmake/bin. 2009-07-17 15:39:16 +01:00
henry
99a27c893d Removed Java support. 2009-07-17 11:24:15 +01: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
Mark Olesen
75080ab867 dropped pvm 2009-07-15 13:34:51 +02:00
Mark Olesen
0e5e84f4ed removed last remnants of LAM support 2009-07-15 12:26:12 +02:00
henry
218b2baec4 Changed SP and DP to WM_SP and WM_DP. 2009-07-03 11:46:45 +01:00
henry
0bb012d0c2 Corrected handling of loop macros and removed those for PtrList. 2009-06-23 20:43:51 +01:00
henry
dfbf96c4c8 Added new warning message. 2009-06-23 12:12:17 +01:00
Henry Weller
65a9101d2e More warning messages. 2009-06-22 21:04:30 +01:00