Skip to content

Commit 9fd0db5

Browse files
OpenFOAM-adminOpenFOAM-admin
authored andcommitted
Initial commit for version 2.3.x
0 parents  commit 9fd0db5

File tree

13,212 files changed

+3961940
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

13,212 files changed

+3961940
-0
lines changed

.gitignore

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# git-ls-files --others --exclude-from=.git/info/exclude
2+
# Lines that start with '#' are comments.
3+
4+
# editor and misc backup files - anywhere
5+
*~
6+
.*~
7+
*.bak
8+
*.bak[0-9][0-9]
9+
*.orig
10+
*.orig[0-9][0-9]
11+
\#*\#
12+
13+
# file-browser settings - anywhere
14+
.directory
15+
16+
# CVS recovered versions - anywhere
17+
.#*
18+
19+
# objects and archives - anywhere
20+
*.[oa]
21+
*.la
22+
*.so
23+
*.jar
24+
25+
# derived files
26+
lex.yy.c
27+
28+
# Corefiles
29+
core
30+
31+
# dependency files - anywhere
32+
*.dep
33+
34+
# lnInclude (symlink) directories - anywhere
35+
lnInclude
36+
37+
# build directories - anywhere
38+
linux*Clang*/
39+
linux*Gcc*/
40+
linux*Icc*/
41+
linuxming*/
42+
SiCortex*Gcc*/
43+
solaris*Gcc*/
44+
SunOS*Gcc*/
45+
platforms/
46+
47+
# reinstate wmake/rules that might look like build directories
48+
!wmake/rules/*/
49+
50+
# doxygen generated documentation
51+
doc/Doxygen/html
52+
doc/Doxygen/latex
53+
doc/Doxygen/man
54+
doc/Doxygen/DTAGS
55+
56+
# generated files in the main directory (e.g. ReleaseNotes-?.?.html)
57+
# and in the doc directory
58+
/*.html
59+
/doc/*.html
60+
61+
# untracked configuration files
62+
/etc/prefs.csh
63+
/etc/prefs.sh
64+
/etc/config/prefs.csh
65+
/etc/config/prefs.sh
66+
67+
# source packages - anywhere
68+
*.tar.bz2
69+
*.tar.gz
70+
*.tar
71+
*.tgz
72+
*.gtgz
73+
74+
# ignore the persistent .build tag in the main directory
75+
/.build
76+
77+
# ignore .timeStamp in the main directory
78+
/.timeStamp
79+
80+
# ignore .tags in the main directory
81+
/.tags
82+
83+
# ignore eclipse project files in the main directory
84+
/.cproject
85+
/.project
86+
87+
# end-of-file

Allwmake

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/bin/sh
2+
cd ${0%/*} || exit 1 # run from this directory
3+
4+
wmakeCheckPwd "$WM_PROJECT_DIR" || {
5+
echo "Error: Current directory is not \$WM_PROJECT_DIR"
6+
echo " The environment variables are inconsistent with the installation."
7+
echo " Check the OpenFOAM entries in your dot-files and source them."
8+
exit 1
9+
}
10+
11+
[ -n "$FOAM_EXT_LIBBIN" ] || {
12+
echo "Error: FOAM_EXT_LIBBIN not set"
13+
echo " Check the OpenFOAM entries in your dot-files and source them."
14+
exit 1
15+
}
16+
17+
# wmake is required for subsequent targets
18+
( cd wmake/src && make )
19+
20+
# build ThirdParty sources
21+
if [ -d "$WM_THIRD_PARTY_DIR" ]
22+
then
23+
$WM_THIRD_PARTY_DIR/Allwmake
24+
else
25+
echo "no ThirdParty sources found - skipping"
26+
fi
27+
28+
# build OpenFOAM libraries and applications
29+
src/Allwmake $*
30+
applications/Allwmake $*
31+
32+
if [ "$1" = doc ]
33+
then
34+
doc/Allwmake $*
35+
fi
36+
37+
# ----------------------------------------------------------------- end-of-file

0 commit comments

Comments
 (0)