Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
844b2830
Commit
844b2830
authored
Dec 14, 2014
by
Henry
Browse files
New version of wmake supporting out-of-tree object and dependency files
parent
bd2f16e2
Changes
249
Hide whitespace changes
Inline
Side-by-side
Allwmake
View file @
844b2830
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
cd
${
0
%/*
}
||
exit
1
# Run from this directory
# Parse arguments for library compilation without documentation by default
genDoc
=
0
targetType
=
libso
.
$WM_PROJECT_DIR
/wmake/scripts/AllwmakeParseArguments
wmakeCheckPwd
"
$WM_PROJECT_DIR
"
||
{
echo
"
E
rror: Current directory is not
\$
WM_PROJECT_DIR"
echo
"
Allwmake e
rror: Current directory is not
\$
WM_PROJECT_DIR"
echo
" The environment variables are inconsistent with the installation."
echo
" Check the OpenFOAM entries in your dot-files and source them."
exit
1
}
[
-n
"
$FOAM_EXT_LIBBIN
"
]
||
{
echo
"
E
rror: FOAM_EXT_LIBBIN not set"
echo
"
Allwmake e
rror: FOAM_EXT_LIBBIN not set"
echo
" Check the OpenFOAM entries in your dot-files and source them."
exit
1
}
#
wmake is required for subsequent target
s
(
cd
wmake/src
&&
make
)
#
Compile wmake support application
s
(
cd
wmake/src
&&
make
)
#
bu
il
d
ThirdParty
source
s
#
Comp
il
e
ThirdParty
libraries and application
s
if
[
-d
"
$WM_THIRD_PARTY_DIR
"
]
then
$WM_THIRD_PARTY_DIR
/Allwmake
else
echo
"no ThirdParty
sources
found - skipping"
echo
"
Allwmake:
no ThirdParty
directory
found - skipping"
fi
# build OpenFOAM libraries and applications
src/Allwmake
$*
applications/Allwmake
$*
# Compile OpenFOAM libraries and applications
src/Allwmake
$targetType
$*
# Compile OpenFOAM libraries and applications
applications/Allwmake
$targetType
$*
# Optionally build OpenFOAM Doxygen documentation
[
$genDoc
-eq
1
]
&&
doc/Allwmake
if
[
"
$1
"
=
doc
]
then
doc/Allwmake
$*
fi
# ----------------------------------------------------------------- end-of-file
README.org
View file @
844b2830
...
...
@@ -2,7 +2,7 @@
#
#+
TITLE
:
OpenFOAM
README
for
version
dev
#+
AUTHOR
:
The
OpenFOAM
Foundation
#+
DATE
:
1
0
th
December
2014
#+
DATE
:
1
4
th
December
2014
#+
LINK
:
http
://
www
.
openfoam
.
org
#+
OPTIONS
:
author
:
nil
^:{}
#
Copyright
(
c
)
2014
OpenFOAM
Foundation
.
...
...
@@ -28,10 +28,10 @@
[[
http
://
www
.
OpenFOAM
.
org
/
git
.
php
]]
*
Documentation
[[
http
://
www
.
OpenFOAM
.
com
/
docs
]]
*
Support
and
development
contracts
[[
http
://
www
.
OpenFOAM
.
com
/
support
]]
[[
http
://
www
.
OpenFOAM
.
org
/
docs
]]
*
Reporting
Bugs
in
OpenFOAM
[[
http
://
www
.
OpenFOAM
.
com
/
bugs
]]
[[
http
://
www
.
OpenFOAM
.
org
/
bugs
]]
*
Contacting
the
OpenFOAM
Foundation
http
://
www
.
openfoam
.
org
/
contact
applications/Allwmake
View file @
844b2830
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
cd
${
0
%/*
}
||
exit
1
# Run from this directory
# Parse arguments for library compilation
targetType
=
libso
.
$WM_PROJECT_DIR
/wmake/scripts/AllwmakeParseArguments
wmakeCheckPwd
"
$WM_PROJECT_DIR
/applications"
||
{
echo
"
E
rror: Current directory is not
\$
WM_PROJECT_DIR/applications"
echo
"
Allwmake e
rror: Current directory is not
\$
WM_PROJECT_DIR/applications"
echo
" The environment variables are inconsistent with the installation."
echo
" Check the OpenFOAM entries in your dot-files and source them."
exit
1
}
[
-n
"
$FOAM_EXT_LIBBIN
"
]
||
{
echo
"
E
rror: FOAM_EXT_LIBBIN not set"
echo
"
Allwmake e
rror: FOAM_EXT_LIBBIN not set"
echo
" Check the OpenFOAM entries in your dot-files and source them."
exit
1
}
set
-x
wmake all utilities
$*
wmake all solvers
$*
wmake
-all
utilities
$*
wmake
-all
solvers
$*
# ----------------------------------------------------------------- end-of-file
applications/solvers/combustion/reactingFoam/Allwmake
deleted
100755 → 0
View file @
bd2f16e2
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
set
-x
wmake
wmake rhoReactingFoam
wmake rhoReactingBuoyantFoam
wmake LTSReactingFoam
# ----------------------------------------------------------------- end-of-file
applications/solvers/compressible/rhoCentralFoam/Allwclean
View file @
844b2830
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
#
r
un from this directory
cd
${
0
%/*
}
||
exit
1
#
R
un from this directory
set
-x
wclean libso BCs
...
...
applications/solvers/compressible/rhoCentralFoam/Allwmake
View file @
844b2830
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
#
r
un from this directory
cd
${
0
%/*
}
||
exit
1
#
R
un from this directory
set
-x
(
wmake libso BCs
&&
wmake
&&
wmake rhoCentralDyMFoam
)
...
...
applications/solvers/compressible/rhoPimpleFoam/Allwmake
deleted
100755 → 0
View file @
bd2f16e2
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
set
-x
wmake
wmake rhoPimplecFoam
wmake rhoLTSPimpleFoam
wmake rhoPimpleDyMFoam
# ----------------------------------------------------------------- end-of-file
applications/solvers/compressible/rhoSimpleFoam/Allwclean
deleted
100755 → 0
View file @
bd2f16e2
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
set
-x
wclean
wclean rhoPorousSimpleFoam
wclean rhoSimplecFoam
# ----------------------------------------------------------------- end-of-file
applications/solvers/compressible/rhoSimpleFoam/Allwmake
deleted
100755 → 0
View file @
bd2f16e2
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
set
-x
wmake
wmake rhoPorousSimpleFoam
wmake rhoSimplecFoam
# ----------------------------------------------------------------- end-of-file
applications/solvers/compressible/sonicFoam/Allwmake
deleted
100755 → 0
View file @
bd2f16e2
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
set
-x
wmake
wmake sonicDyMFoam
wmake sonicLiquidFoam
# ----------------------------------------------------------------- end-of-file
applications/solvers/heatTransfer/chtMultiRegionFoam/Allwclean
deleted
100755 → 0
View file @
bd2f16e2
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
set
-x
wclean
wclean chtMultiRegionSimpleFoam
# ----------------------------------------------------------------- end-of-file
applications/solvers/heatTransfer/chtMultiRegionFoam/Allwmake
deleted
100755 → 0
View file @
bd2f16e2
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
set
-x
wmake
wmake chtMultiRegionSimpleFoam
# ----------------------------------------------------------------- end-of-file
applications/solvers/incompressible/pimpleFoam/Allwmake
deleted
100755 → 0
View file @
bd2f16e2
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
set
-x
wmake
wmake SRFPimpleFoam
wmake pimpleDyMFoam
# ----------------------------------------------------------------- end-of-file
applications/solvers/incompressible/simpleFoam/Allwmake
deleted
100755 → 0
View file @
bd2f16e2
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
set
-x
wmake
wmake SRFSimpleFoam
wmake porousSimpleFoam
# ----------------------------------------------------------------- end-of-file
applications/solvers/lagrangian/DPMFoam/Allwclean
View file @
844b2830
...
...
@@ -3,6 +3,6 @@
cd
${
0
%/*
}
||
exit
1
set
-x
wclean DPMTurbulenceModels
wclean
libso
DPMTurbulenceModels
wclean
wclean MPPICFoam
applications/solvers/lagrangian/DPMFoam/Allwmake
View file @
844b2830
...
...
@@ -3,6 +3,6 @@
cd
${
0
%/*
}
||
exit
1
set
-x
wmake DPMTurbulenceModels
wmake
libso
DPMTurbulenceModels
wmake
wmake MPPICFoam
applications/solvers/lagrangian/icoUncoupledKinematicParcelFoam/Allwmake
deleted
100755 → 0
View file @
bd2f16e2
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
set
-x
wmake
wmake icoUncoupledKinematicParcelDyMFoam
# ----------------------------------------------------------------- end-of-file
applications/solvers/lagrangian/reactingParcelFoam/Allwmake
deleted
100755 → 0
View file @
bd2f16e2
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
set
-x
wmake
wmake simpleReactingParcelFoam
wmake LTSReactingParcelFoam
# ----------------------------------------------------------------- end-of-file
applications/solvers/lagrangian/sprayFoam/Allwmake
deleted
100755 → 0
View file @
bd2f16e2
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
set
-x
wmake
wmake sprayEngineFoam
# ----------------------------------------------------------------- end-of-file
applications/solvers/multiphase/cavitatingFoam/Allwclean
deleted
100755 → 0
View file @
bd2f16e2
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
set
-x
wclean
wclean cavitatingDyMFoam
# ----------------------------------------------------------------- end-of-file
Prev
1
2
3
4
5
…
13
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment