ENH: cshrc: make foamCompiler environment variable so can be set through command line
This commit is contained in:
parent
c98456cda3
commit
a80f38bdf5
@ -542,6 +542,7 @@ endif
|
||||
# cleanup environment:
|
||||
# ~~~~~~~~~~~~~~~~~~~~
|
||||
#- keep _foamAddPath _foamAddLib _foamAddMan
|
||||
unset foamCompiler minBufferSize
|
||||
unset minBufferSize
|
||||
unsetenv foamCompiler
|
||||
|
||||
# ----------------------------------------------------------------- end-of-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)
|
||||
|
Loading…
Reference in New Issue
Block a user