ThirdParty: adjustments for csh
This commit is contained in:
parent
cecae8937e
commit
c828d84e65
1 changed files with 24 additions and 17 deletions
41
etc/cshrc
41
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,21 +243,25 @@ 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
|
||||||
switch ($WM_COMPILER)
|
if ( ! $?compilerInstall ) setenv compilerInstall System
|
||||||
case Gcc43:
|
if ( $compilerInstall == "System" ) then
|
||||||
setenv WM_CC 'gcc-mp-4.3'
|
switch ($WM_COMPILER)
|
||||||
setenv WM_CXX 'g++-mp-4.3'
|
case Gcc43:
|
||||||
breaksw;
|
setenv WM_CC 'gcc-mp-4.3'
|
||||||
case Gcc44:
|
setenv WM_CXX 'g++-mp-4.3'
|
||||||
setenv WM_CC 'gcc-mp-4.4'
|
breaksw;
|
||||||
setenv WM_CXX 'g++-mp-4.4'
|
case Gcc44:
|
||||||
breaksw;
|
setenv WM_CC 'gcc-mp-4.4'
|
||||||
case Gcc45:
|
setenv WM_CXX 'g++-mp-4.4'
|
||||||
setenv WM_CC 'gcc-mp-4.5'
|
breaksw;
|
||||||
setenv WM_CXX 'g++-mp-4.5'
|
case Gcc45:
|
||||||
breaksw;
|
setenv WM_CC 'gcc-mp-4.5'
|
||||||
endsw
|
setenv WM_CXX 'g++-mp-4.5'
|
||||||
setenv WM_COMPILER ""
|
breaksw;
|
||||||
|
endsw
|
||||||
|
#setenv WM_COMPILER ""
|
||||||
|
endif
|
||||||
|
|
||||||
breaksw
|
breaksw
|
||||||
|
|
||||||
case SunOS:
|
case SunOS:
|
||||||
|
|
Reference in a new issue