Allwmake 1.54 KB
Newer Older
1
#!/bin/sh
2
cd ${0%/*} || exit 1    # run from this directory
3

4
wmakeCheckPwd "$WM_PROJECT_DIR/src" || {
5
6
    echo "Error: Current directory is not \$WM_PROJECT_DIR/src"
    echo "    The environment variables are inconsistent with the installation."
7
8
    echo "    Check the OpenFOAM entries in your dot-files and source them."
    exit 1
9
}
10

11
12
set -x

13
# update OpenFOAM version strings if required
Mark Olesen's avatar
Mark Olesen committed
14
wmakePrintBuild -check || /bin/rm -f OpenFOAM/Make/$WM_OPTIONS/global.? 2>/dev/null
15

henry's avatar
henry committed
16
17
wmakeLnInclude OpenFOAM
wmakeLnInclude OSspecific/$WM_OSTYPE
18
Pstream/Allwmake
19

20
wmake libo  OSspecific/$WM_OSTYPE
21
22
23
24
wmake libso OpenFOAM

wmake libso lagrangian/basic

25
wmake libso fileFormats
26
wmake libso edgeMesh
Mark Olesen's avatar
Mark Olesen committed
27
wmake libso surfMesh
28
wmake libso triSurface
29

30
# Decomposition methods needed by dummyThirdParty
31
parallel/AllwmakeLnInclude
32
# dummyThirdParty (dummy metisDecomp, scotchDecomp etc) needed by e.g. meshTools
33
dummyThirdParty/Allwmake
34

35
36
wmake libso meshTools
wmake libso finiteVolume
37
wmake libso genericPatchFields
38

39
40
41
# Build the proper scotchDecomp, metisDecomp etc.
parallel/Allwmake

42
43
44
45
46
47
48
49
50
wmake libso sampling

wmake libso dynamicMesh
wmake libso dynamicFvMesh
wmake libso topoChangerFvMesh

wmake libso ODE
wmake libso randomProcesses

51
52
53
54
thermophysicalModels/Allwmake
transportModels/Allwmake
turbulenceModels/Allwmake
lagrangian/Allwmake
55
parallel/Allwmake
56
57
postProcessing/Allwmake
conversion/Allwmake
58
mesh/Allwmake
59
60
61

wmake libso errorEstimation

mattijs's avatar
mattijs committed
62
63
fvAgglomerationMethods/Allwmake

64
65
66
wmake libso fvMotionSolver
wmake libso engine

67
# ----------------------------------------------------------------- end-of-file