ThirdParty: adjustments for csh
This commit is contained in:
parent
cecae8937e
commit
c828d84e65
1 changed files with 24 additions and 17 deletions
13
etc/cshrc
13
etc/cshrc
|
@ -107,8 +107,8 @@ if ( ! $?WM_OSTYPE ) setenv WM_OSTYPE POSIX
|
||||||
|
|
||||||
# Compiler: set to Gcc, Gcc43 or Icc (for Intel's icc)
|
# Compiler: set to Gcc, Gcc43 or Icc (for Intel's icc)
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
#if ( ! $?WM_COMPILER ) setenv WM_COMPILER Gcc
|
if ( ! $?WM_COMPILER ) setenv WM_COMPILER Gcc
|
||||||
setenv WM_COMPILER Gcc
|
#setenv WM_COMPILER Gcc
|
||||||
#setenv WM_COMPILER Icc
|
#setenv WM_COMPILER Icc
|
||||||
|
|
||||||
setenv WM_COMPILER_ARCH
|
setenv WM_COMPILER_ARCH
|
||||||
|
@ -207,6 +207,9 @@ case Linux:
|
||||||
breaksw
|
breaksw
|
||||||
|
|
||||||
case Darwin:
|
case Darwin:
|
||||||
|
# this makes certain things easier
|
||||||
|
setenv WM_ARCH_BASE darwin
|
||||||
|
|
||||||
switch (`uname -p`)
|
switch (`uname -p`)
|
||||||
case powerpc:
|
case powerpc:
|
||||||
setenv WM_ARCH darwinPpc
|
setenv WM_ARCH darwinPpc
|
||||||
|
@ -240,6 +243,8 @@ case Darwin:
|
||||||
setenv MACOSX_DEPLOYMENT_TARGET `sw_vers -productVersion`
|
setenv MACOSX_DEPLOYMENT_TARGET `sw_vers -productVersion`
|
||||||
|
|
||||||
# Use Mac-Ports-Compiler instead of Apple-gcc-4.2
|
# Use Mac-Ports-Compiler instead of Apple-gcc-4.2
|
||||||
|
if ( ! $?compilerInstall ) setenv compilerInstall System
|
||||||
|
if ( $compilerInstall == "System" ) then
|
||||||
switch ($WM_COMPILER)
|
switch ($WM_COMPILER)
|
||||||
case Gcc43:
|
case Gcc43:
|
||||||
setenv WM_CC 'gcc-mp-4.3'
|
setenv WM_CC 'gcc-mp-4.3'
|
||||||
|
@ -254,7 +259,9 @@ case Darwin:
|
||||||
setenv WM_CXX 'g++-mp-4.5'
|
setenv WM_CXX 'g++-mp-4.5'
|
||||||
breaksw;
|
breaksw;
|
||||||
endsw
|
endsw
|
||||||
setenv WM_COMPILER ""
|
#setenv WM_COMPILER ""
|
||||||
|
endif
|
||||||
|
|
||||||
breaksw
|
breaksw
|
||||||
|
|
||||||
case SunOS:
|
case SunOS:
|
||||||
|
|
Reference in a new issue