Make Sun Studio 12.4 default compiler for testing
parent
5ae5127f7c
commit
6f15b37494
10
cryptest.sh
10
cryptest.sh
|
|
@ -101,12 +101,12 @@ if [ "$CXX" == "gcc" ]; then
|
||||||
CXX=g++
|
CXX=g++
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Fixup
|
# Fixup. See if the user already set it to CC
|
||||||
if [ "$IS_SOLARIS" -ne "0" ]; then
|
if [ "$IS_SOLARIS" -ne "0" ] && [ $(echo $CXX | grep -c "CC" 2>/dev/null) -ne "0" ]; then
|
||||||
if [ -e "/opt/solarisstudio12.3/bin/CC" ]; then
|
if [ -e "/opt/solarisstudio12.4/bin/CC" ]; then
|
||||||
CXX=/opt/solarisstudio12.3/bin/CC
|
|
||||||
elif [ -e "/opt/solarisstudio12.4/bin/CC" ]; then
|
|
||||||
CXX=/opt/solarisstudio12.4/bin/CC
|
CXX=/opt/solarisstudio12.4/bin/CC
|
||||||
|
elif [ -e "/opt/solarisstudio12.3/bin/CC" ]; then
|
||||||
|
CXX=/opt/solarisstudio12.3/bin/CC
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
SUN_COMPILER=$($CXX -V 2>&1 | $EGREP -i -c "CC: Sun")
|
SUN_COMPILER=$($CXX -V 2>&1 | $EGREP -i -c "CC: Sun")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue