Mark Olesen
765c430748
STYLE: only count processors if required
...
- POSIX specifies '-c' for counting the number of matching lines,
so we can just use that instead of 'wc' in wmake
2017-04-19 19:13:23 +02:00
Mark Olesen
4d29c32e9b
ENH: improve handling of wmakeLnIncludeAll default search directories
...
- if called from the top-level project directory ($WM_PROJECT_DIR)
default to using {applications,src} directories. This avoids
erroneous linking of etc/codeTemplates and avoids the lengthy
scanning of the tutorials directory
2017-04-19 18:31:21 +02:00
Mark Olesen
46ecad8f7a
STYLE: make wmake scripts look more POSIX-like
...
- also add some comments about the side-effects
2017-02-10 11:38:12 +01:00
Henry Weller
c022898851
wmakeLnIncludeAll: Add '-update' option
2016-07-09 14:22:14 +01:00
Henry Weller
02e14ffd4b
wmakeLnIncludeAll: 'sync' does not guarantee synchronization of the links
...
A simple 'sleep' is more reliable.
2016-07-08 16:35:40 +01:00
Henry Weller
23ea3b364e
wmakeLnIncludeAll: Improved messages
2016-07-08 14:02:57 +01:00
Henry Weller
10ad855d8d
wmake: Improve messages from wclean, wrmdep and wmakeLnIncludeAll
2016-07-08 10:57:08 +01:00
Henry Weller
d7e6c04855
wmakeLnIncludeAll: When running parallel wait for the wmakeLnInclude jobs to complete
...
then synchronize the file system to ensure all links are flushed before
compilation starts
2016-07-08 08:22:28 +01:00
Henry Weller
c15eea16f1
wmakeLnIncludeAll: Now a bash script
...
Uses the 'wait -n' builtin to avoid the use of non-POSIX 'sleep' commands
2016-07-07 12:09:49 +01:00
Henry Weller
91a8421241
wmakeLnIncludeAll: Corrected type
2016-07-04 10:27:43 +01:00
Henry Weller
9e712bbfc7
wmakeLnIncludeAll: Use 'wait -n' rather than and arbitrary 'sleep' when limiting the number of jobs
2016-07-04 09:39:28 +01:00
Henry Weller
17bec8aab2
wmakeLnIncludeAll: Added -j option for parallel operation
2016-07-03 22:22:00 +01:00
Henry Weller
cd265693f5
wmake: Update comments
2016-01-24 14:37:39 +00:00
Henry Weller
5355dbc5fe
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
d112699c9f
Updated header
2015-12-15 15:40:06 +00:00
Henry Weller
416b0a6f2a
wmakeLnIncludeAll: Start messages with capital
2015-12-15 15:39:26 +00:00
Henry
844b283030
New version of wmake supporting out-of-tree object and dependency files
2014-12-14 21:42:18 +00:00
Henry
c2dd153a14
Copyright transfered to the OpenFOAM Foundation
2011-08-14 12:17:30 +01:00
andy
eaef8d482b
STYLE: Updated 1991 start copyright year to 2004
2011-01-14 16:08:00 +00:00
andy
14d1300a36
Revert "STyLE: More 2011 copyright dates (non-code)."
...
This reverts commit 2e1e671d96
.
2011-01-05 18:25:32 +00:00
graham
2e1e671d96
STyLE: More 2011 copyright dates (non-code).
2011-01-05 11:48:24 +00:00
Mark Olesen
9707e5c100
ENH: "wmake all" makes 'libso' instead of 'exe' where appropriate
...
- adds more DWIM (do what I mean) intelligence to wmake
ENH: use ~/.OpenFOAM/.wmake instead of ~/.wmakeScheduler for the lock dir
- keeps more of the OpenFOAM bits together
2010-04-19 10:54:23 +02:00
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
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
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
5ba68da75b
wmake script cosmetics
2009-01-10 08:25:31 +01:00
Mark Olesen
1cd18ce0b5
added wmakeLnIncludeAll - can be quite useful after a wcleanLnIncludeAll
2009-01-07 21:06:08 +01:00