buildit
changeset 1022 497b06e652f1
parent 1003 a4d17d6bc179
child 1124 7bc7e624f965
equal deleted inserted replaced
1021:4adf5ef64260 1022:497b06e652f1
    85 print "Building gate at hg id: ${XBUILD_HG_ID}"
    85 print "Building gate at hg id: ${XBUILD_HG_ID}"
    86 print -n "Start time: " ; date
    86 print -n "Start time: " ; date
    87 print -n "Building on: " ; uname -a
    87 print -n "Building on: " ; uname -a
    88 print "Using these compilers: "
    88 print "Using these compilers: "
    89 whence cc gcc
    89 whence cc gcc
    90 # Make sure Sun C compiler is at least version 5.9 (Studio 12)
    90 # Make sure Sun C compiler is at least version 5.10 (Studio 12 Update 1)
    91 cc -V 2>&1 | perl -n -e 'if (($_ =~ m| C (\d+).(\d+)|)) { \
    91 cc -V 2>&1 | perl -n -e 'if (($_ =~ m| C (\d+).(\d+)|)) { \
    92     print $_ ; print "*** Compiler too old!\n" if ( ($1 != 5) || ($2 < 9) ) }'
    92     print $_ ; print "*** Compiler too old!\n" if ( ($1 != 5) || ($2 < 10) ) }'
    93 gcc -v
    93 gcc -v
    94 
    94 
    95 # Exported to stop Sun compilers from reporting home on each usage
    95 # Exported to stop Sun compilers from reporting home on each usage
    96 export SUNW_NO_UPDATE_NOTIFY='true'
    96 export SUNW_NO_UPDATE_NOTIFY='true'
    97 export UT_NO_USAGE_TRACKING='1'
    97 export UT_NO_USAGE_TRACKING='1'