ENH: cshrc: make foamCompiler environment variable so can be set through command line

This commit is contained in:
mattijs 2014-07-11 11:12:46 +01:00 committed by Andrew Heather
parent c98456cda3
commit a80f38bdf5
2 changed files with 4 additions and 3 deletions

View File

@ -542,6 +542,7 @@ endif
# cleanup environment:
# ~~~~~~~~~~~~~~~~~~~~
#- keep _foamAddPath _foamAddLib _foamAddMan
unset foamCompiler minBufferSize
unset minBufferSize
unsetenv foamCompiler
# ----------------------------------------------------------------- end-of-file

View File

@ -57,8 +57,8 @@ set foamInstall = $HOME/$WM_PROJECT
if ( ! $?FOAM_INST_DIR ) setenv FOAM_INST_DIR $foamInstall
#- Compiler location:
# foamCompiler= system | ThirdParty (OpenFOAM)
set foamCompiler=system
# foamCompiler = system | ThirdParty (OpenFOAM)
setenv foamCompiler system
#- Compiler:
# WM_COMPILER = Gcc | Gcc45 | Gcc46 | Gcc47 | Clang | Icc (Intel icc)