ENH: cshrc: make foamCompiler environment variable so can be set through command line
This commit is contained in:
parent
67f03e3fb3
commit
d1c61b912f
2 changed files with 4 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue