mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
CONFIG: adjustments to environment
- provide default WM_DIR if not already set, to improve robustness if a
reduced environment is used
- add etc/ to WM_PROJECT_SITE search. This makes the site directory
structure consistent with the OpenFOAM structure.
Eg,
WM_PROJECT_SITE/etc/..
WM_PROJECT_SITE/bin/..
WM_PROJECT_SITE/platforms/..
- Don't set/export WM_OSTYPE. The default is POSIX and is properly
defaulted throughout, including in CMakeLists-OpenFOAM.txt (also for
Catalyst)
This commit is contained in:
@ -3,7 +3,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Can never be too certain ...
|
||||
# Compile tools for wmake
|
||||
( cd "${WM_DIR:?}/src" && make )
|
||||
( cd "${WM_DIR:-${WM_PROJECT_DIR}/wmake}/src" && make )
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@ -18,5 +18,5 @@ LIB_LIBS = \
|
||||
-lconversion \
|
||||
-lgenericPatchFields \
|
||||
-llagrangian \
|
||||
-L$(FOAM_LIBBIN) -lfoamPv-pv$(PARAVIEW_MAJMIN) \
|
||||
-L$(FOAM_LIBBIN) -lfoamPv-pv$(PARAVIEW_API) \
|
||||
$(GLIBS)
|
||||
|
||||
@ -12,5 +12,5 @@ EXE_INC = \
|
||||
LIB_LIBS = \
|
||||
-lmeshTools \
|
||||
-lblockMesh \
|
||||
-L$(FOAM_LIBBIN) -lfoamPv-pv$(PARAVIEW_MAJMIN) \
|
||||
-L$(FOAM_LIBBIN) -lfoamPv-pv$(PARAVIEW_API) \
|
||||
$(GLIBS)
|
||||
|
||||
Reference in New Issue
Block a user