mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: cshrc: make foamCompiler environment variable so can be set through command line
This commit is contained in:
@ -542,6 +542,7 @@ endif
|
|||||||
# cleanup environment:
|
# cleanup environment:
|
||||||
# ~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~
|
||||||
#- keep _foamAddPath _foamAddLib _foamAddMan
|
#- keep _foamAddPath _foamAddLib _foamAddMan
|
||||||
unset foamCompiler minBufferSize
|
unset minBufferSize
|
||||||
|
unsetenv foamCompiler
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
@ -57,8 +57,8 @@ set foamInstall = $HOME/$WM_PROJECT
|
|||||||
if ( ! $?FOAM_INST_DIR ) setenv FOAM_INST_DIR $foamInstall
|
if ( ! $?FOAM_INST_DIR ) setenv FOAM_INST_DIR $foamInstall
|
||||||
|
|
||||||
#- Compiler location:
|
#- Compiler location:
|
||||||
# foamCompiler= system | ThirdParty (OpenFOAM)
|
# foamCompiler = system | ThirdParty (OpenFOAM)
|
||||||
set foamCompiler=system
|
setenv foamCompiler system
|
||||||
|
|
||||||
#- Compiler:
|
#- Compiler:
|
||||||
# WM_COMPILER = Gcc | Gcc45 | Gcc46 | Gcc47 | Clang | Icc (Intel icc)
|
# WM_COMPILER = Gcc | Gcc45 | Gcc46 | Gcc47 | Clang | Icc (Intel icc)
|
||||||
|
|||||||
Reference in New Issue
Block a user