Skip to content
GitLab
Explore
Sign in
Register
This is an archived project. Repository and other project resources are read-only.
Commits on Source (1)
STYLE: add note about compilation location into Allwmake
· 697c80d8
Mark OLESEN
authored
Jun 10, 2022
697c80d8
Hide whitespace changes
Inline
Side-by-side
Allwclean
View file @
697c80d8
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
#------------------------------------------------------------------------------
...
...
Allwmake
View file @
697c80d8
#!/bin/sh
cd
${
0
%/*
}
||
exit
1
# Run from this directory
if
[
-f
"
$WM_PROJECT_DIR
"
/wmake/scripts/AllwmakeParseArguments
]
then
.
"
$WM_PROJECT_DIR
"
/wmake/scripts/AllwmakeParseArguments
fi
cd
"
${
0
%/*
}
"
||
exit
# Run from this directory
.
"
${
WM_PROJECT_DIR
:?
}
"
/wmake/scripts/AllwmakeParseArguments
#------------------------------------------------------------------------------
# Build into FOAM_USER_{APPBIN,LIBBIN} unless otherwise specified with
# -prefix or FOAM_MODULE_{APPBIN,LIBBIN} env varables
#------------------------------------------------------------------------------
moduleName
=
"cfmesh"
#------------------------------------------------------------------------------
echo
"========================================"
date
"+%Y-%m-%d %H:%M:%S %z"
2>/dev/null
||
echo
"date is unknown"
echo
"Starting compile of
cfMesh
with
${
WM_PROJECT_DIR
##*/
}
${
0
##*
}
"
echo
"Starting compile of
$moduleName
with
${
WM_PROJECT_DIR
##*/
}
${
0
##*
}
"
echo
"
$WM_COMPILER
$WM_COMPILER_TYPE
compiler"
echo
"
${
WM_OPTIONS
}
, with
${
WM_MPLIB
}
${
FOAM_MPI
}
"
echo
" prefix =
${
FOAM_MODULE_PREFIX
:-
default
(user)
}
"
...
...
@@ -21,7 +26,7 @@ wmake -all utilities
echo
date
"+%Y-%m-%d %H:%M:%S %z"
2>/dev/null
||
echo
"date is unknown"
echo
"========================================"
echo
" Finished compile of
cfMesh
with
${
WM_PROJECT_DIR
##*/
}
"
echo
" Finished compile of
$moduleName
with
${
WM_PROJECT_DIR
##*/
}
"
echo
"
$WM_COMPILER
$WM_COMPILER_TYPE
compiler"
echo
"
${
WM_OPTIONS
}
, with
${
WM_MPLIB
}
${
FOAM_MPI
}
"
echo
...
...