Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
dd57f3c4
Commit
dd57f3c4
authored
Jan 27, 2011
by
Mark Olesen
Browse files
STYLE: set makeOption before 'set -x' (cleaner output) in Allwmake
parent
f0f5ba7c
Changes
18
Hide whitespace changes
Inline
Side-by-side
src/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
wmakeCheckPwd
"
$WM_PROJECT_DIR
/src"
||
{
echo
"Error: Current directory is not
\$
WM_PROJECT_DIR/src"
...
...
src/Pstream/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
set
-x
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
wmake
$makeOption
dummy
case
"
$WM_MPLIB
"
in
...
...
@@ -12,6 +10,7 @@ case "$WM_MPLIB" in
set
+x
echo
echo
"Note: ignore spurious warnings about missing mpicxx.h headers"
echo
set
-x
# force compilation into qualified directory
WM_OPTIONS
=
${
WM_OPTIONS
}
$WM_MPLIB
wmake
$makeOption
mpi
...
...
src/conversion/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
set
-x
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
wmake
$makeOption
# ----------------------------------------------------------------- end-of-file
src/dummyThirdParty/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
set
-x
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
wmake
$makeOption
scotchDecomp
wmake
$makeOption
ptscotchDecomp
wmake
$makeOption
metisDecomp
...
...
src/fvAgglomerationMethods/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
set
-x
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
wmake
$makeOption
MGridGenGamgAgglomeration
# ----------------------------------------------------------------- end-of-file
src/lagrangian/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
set
-x
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
wmake
$makeOption
basic
wmake
$makeOption
solidParticle
wmake
$makeOption
intermediate
...
...
src/lagrangian/molecularDynamics/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
set
-x
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
wmake
$makeOption
potential
wmake
$makeOption
molecularMeasurements
wmake
$makeOption
molecule
...
...
src/mesh/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
set
-x
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
wmake
$makeOption
autoMesh
wmake
$makeOption
blockMesh
...
...
src/parallel/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
set
-x
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
decompose/Allwmake
$*
reconstruct/Allwmake
$*
wmake
$makeOption
distributed
...
...
src/parallel/decompose/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
# get SCOTCH_VERSION, SCOTCH_ARCH_PATH
settings
=
`
$WM_PROJECT_DIR
/bin/foamEtcFile apps/scotch/bashrc
`
...
...
src/parallel/reconstruct/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
set
-x
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
wmake
$makeOption
reconstruct
# ----------------------------------------------------------------- end-of-file
src/postProcessing/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
set
-x
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
wmake libo postCalc
wmake
$makeOption
foamCalcFunctions
...
...
src/postProcessing/functionObjects/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
set
-x
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
wmake
$makeOption
field
wmake
$makeOption
forces
wmake
$makeOption
IO
...
...
src/thermophysicalModels/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
set
-x
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
wmake
$makeOption
specie
wmake
$makeOption
solid
wmake
$makeOption
thermophysicalFunctions
...
...
src/transportModels/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
set
-x
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
wmake
$makeOption
incompressible
wmake
$makeOption
interfaceProperties
wmake
$makeOption
twoPhaseInterfaceProperties
...
...
src/turbulenceModels/LES/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
set
-x
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
wmakeLnInclude ../incompressible/LES
wmake
$makeOption
LESfilters
...
...
src/turbulenceModels/compressible/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
set
-x
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
wmake
$makeOption
turbulenceModel
wmake
$makeOption
RAS
wmake
$makeOption
LES
...
...
src/turbulenceModels/incompressible/Allwmake
View file @
dd57f3c4
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# run from this directory
[
$#
-ge
1
]
&&
makeOption
=
$1
||
makeOption
=
libso
set
-x
makeOption
=
libso
[
$#
-ge
1
]
&&
makeOption
=
$1
wmake
$makeOption
turbulenceModel
wmake
$makeOption
RAS
wmake
$makeOption
LES
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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