Commit Graph

69 Commits

Author SHA1 Message Date
Mark Olesen
47bd172682 pushed too soon before fixing typo on wmakeLnInclude 2009-03-04 14:31:37 +01:00
Mark Olesen
db8febe9f9 wmakeLnInclude -f now also changes the default linking to 'ln -sf'
- this seems to be the most sensible solution.
  The changed time stamps on the links doesn't seem to bother make at all.
2009-03-04 13:14:11 +01:00
mattijs
f80012000b removed checking since overwrites files 2009-02-27 10:43:18 +00:00
Mark Olesen
d3ec38f0aa Merge commit 'OpenCFD/master' into olesenm 2009-02-06 10:40:19 +01:00
mattijs
b79ccb9293 sunos changes 2009-02-05 09:30:26 +00:00
mattijs
5afc0db5a8 Solaris port 2009-02-02 12:23:41 +00:00
Mark Olesen
5ba68da75b wmake script cosmetics 2009-01-10 08:25:31 +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
Mark Olesen
1cd18ce0b5 added wmakeLnIncludeAll - can be quite useful after a wcleanLnIncludeAll 2009-01-07 21:06:08 +01:00
Mark Olesen
cdd2266467 Merge commit 'OpenCFD/master' into olesenm
Conflicts:

	src/OpenFOAM/db/IOstreams/Pstreams/IPstream.C
	src/OpenFOAM/db/IOstreams/Pstreams/OPstream.C
2009-01-07 09:39:17 +01:00
mattijs
eb2e37b296 SiCortex port 2009-01-06 21:41:20 +00:00
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +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
Mark Olesen
d3ab1df730 fixed silly mistakes in wmakePrintBuild 2008-12-19 19:04:09 +01:00
andy
14314fc126 correcting script for refs/heads/master instead of HEAD
- if local repo is up to date, HEAD and origin/HEAD are the same
  so id was returned twice
2008-12-19 16:39:35 +00:00
Mark Olesen
0c5571519f changes to build version string
- version is WM_PROJECT_VERSION prefix + SHA1 from current git head
- move double quotes from make rules to global.Cver for extra safety
2008-12-19 13:20:14 +01:00
Mark Olesen
5f7d2acb9c tweaked build version strings
- added wmakePrintBuild -check, -update, -version options
- only update .build cache when explictly requested and
  from within the wmake Cver rules
- use -check option to avoid unnecessary remake in src/Allwmake
2008-12-19 12:13:08 +01:00
Mark Olesen
6a4b83bc43 Added wmakePrintBuild for determining the build version
- the $WM_PROJECT_DIR/.build file is automatically updated.
  This file is (and must be) ignored by git.
2008-12-19 11:11:20 +01:00
Mark Olesen
b5f06a3833 use git describe for header version, but use existing wmake framework 2008-12-18 19:54:13 +01:00
Mark Olesen
367639bf02 Merge commit 'OpenCFD/master' into olesenm 2008-11-19 18:57:15 +01:00
henry
16e9f10e22 Added support for HP-MPI. 2008-11-19 14:57:06 +00:00
Mark Olesen
9a2c1adb79 wmakeLnInclude : also ignore 'noLink' directories
- useful for avoiding links on older versions, or for 'hiding' contents
2008-11-12 23:33:51 +01:00
Mark Olesen
50427d7712 leave *~ files alone in wcleanAll and drop wcleanAlmostAll 2008-10-23 08:16:43 +02:00
Mark Olesen
50a2ddfcc7 bin/ wmake/ script updates
- send error messages to stderr
  - added -h/-help options where some were missing
  - changed 3-space to 4-space indentation
  - where possible, allow multiple directories from the command-line
2008-10-22 14:33:59 +02:00
mattijs
135c6d0536 colouring; indentation 2008-10-22 09:23:59 +01:00
Mark Olesen
bd78708543 just use plain ssh for GridEngine compilation 2008-10-20 17:28:33 +02:00
henry
1bc24ee3b8 Removed the host prefix as this inhibits correct error parsing by intelligent editors. 2008-10-16 21:50:09 +01:00
henry
1f8bf1bac8 Removed the host prefix as this inhibits correct error parsing by intelligent editors. 2008-10-16 21:44:01 +01:00
henry
3e6401f862 Removed the host prefix as this inhibits correct error parsing bu intelligent editors. 2008-10-16 21:42:18 +01:00
mattijs
6943d2fb6f mark changes 2008-10-06 14:42:32 +01:00
Mark Olesen
f8823b684b wcleanAll - provide some information about the progress
- move tutorial cleanup to the end in case the user wishes to
    abort the wcleanAll script

  - adjusted wcleanAlmostAll according, but don't know if it's really
    needed any more
2008-09-30 19:32:13 +02:00
Mark Olesen
e0bb935efb wmakeLnInclude: improvements and bugfix
- fixed typo: had skipped '-Make' instead of 'Make' directory

  - remove broken links first
    * helps when file locations have changed

  - filter out trailing 'lnInclude' from the <dir> spec
    * this makes it easier to update existing lnInclude dirs:
         find -name lnInclude -exec wmakeLnInclude -f {} \;

  - reduced output noise when re-creating an identical link
2008-09-26 18:39:30 +02:00
mattijs
e548936cb0 revert to pipe - behaves better 2008-09-26 13:11:31 +01:00
andy
2a424fddab using Graham's latest CGAL wmake rules 2008-07-24 14:40:53 +01:00
Mark Olesen
7f9631634d cleanup wmake scripts
- match comments to names of scripts
  - remove comments about using C-shell (not true anymore)
  - use 'assert' style syntax in places instead of if/then/fi
  - wcleanMachine supports multiple arguments
2008-07-18 15:32:10 +02:00
Mark Olesen
0d3eec3dc4 removed more derived files from repo 2008-07-01 13:09:04 +02:00
mattijs
18886a8fa4 derived files should not be in repo 2008-06-27 16:29:04 +01:00
mattijs
98578b55b4 make comment state exclusive 2008-06-27 16:27:15 +01:00
Mark Olesen
02cabc3cf2 updated Copyright (C) \d+-2008 OpenCFD Ltd. 2008-06-25 15:01:46 +02:00
mattijs
0178d7268a simplification of colouring 2008-06-25 09:31:28 +01:00
henry
29c8fd500b I have no idea... 2008-06-17 17:03:27 +01:00
henry
f02ef4fa4b Corrected for gcc-4.3.1 2008-06-17 16:56:42 +01:00
Mark Olesen
dcb487fd0f wmake : set WM_NCOMPPROCS automatically when both WM_HOSTS and WM_SCHEDULER are set
This substantially eases enabling/disabling distributed compiling
For example,
 - export WM_HOSTS="host1:N ... hostN:N"  as usual
 - simply set/unset WM_SCHEDULER

etc/aliases.{sh,csh} added aliases for enabling/disabling wmakeScheduler
 - alias wmSchedON='export WM_SCHEDULER=$WM_PROJECT_DIR/wmake/wmakeScheduler'
 - alias wmSchedOFF='unset WM_SCHEDULER'

Removed wmakeLockScheduler, identical to wmakeScheduler except a 'sleep'
2008-06-16 11:46:11 +02:00
Mark Olesen
1025c3c4d3 eliminate .OpenFOAM-VERSION references in dotFoam and other files 2008-06-16 10:39:22 +02:00
henry
e0d3735b08 Filter out 'Optional' directories from 'wmake all'; these must be built
specifically on the request of the user by running 'wmake all' or 'Allwmake'
in the directory as appropriate.
2008-06-11 09:44:14 +01:00
henry
1a5ed84c41 Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev 2008-06-10 15:20:59 +01:00
henry
401dc84c25 Added the removal of $1$WM_MPLIB as suggested in
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/7969
2008-06-10 15:20:53 +01:00
Mark Olesen
9c35ea85bb wmakeLnInclude : also remove broken links 2008-06-10 13:09:36 +02:00
henry
450894c239 Removed wmakeScheduler.old 2008-06-09 13:56:54 +01:00
henry
f5261d7e46 Removed THIRD_PARTY.If such a variable is needed it should be WM_THIRD_PARTY and set in thesettings.?sh. 2008-06-09 13:55:15 +01:00