< prev index next >

make/autoconf/build-performance.m4

Print this page
rev 59383 : [mq]: final

*** 36,49 **** NUM_CORES=`cat /proc/cpuinfo | grep -c ^CPU` fi if test "$NUM_CORES" -ne "0"; then FOUND_CORES=yes fi - elif test -x /usr/sbin/psrinfo; then - # Looks like a Solaris system - NUM_CORES=`/usr/sbin/psrinfo -v | grep -c on-line` - FOUND_CORES=yes elif test -x /usr/sbin/sysctl; then # Looks like a MacOSX system NUM_CORES=`/usr/sbin/sysctl -n hw.ncpu` FOUND_CORES=yes elif test "x$OPENJDK_BUILD_OS" = xaix ; then --- 36,45 ----
*** 77,87 **** # Looks like a Linux (or cygwin) system MEMORY_SIZE=`cat /proc/meminfo | grep MemTotal | awk '{print [$]2}'` MEMORY_SIZE=`expr $MEMORY_SIZE / 1024` FOUND_MEM=yes elif test -x /usr/sbin/prtconf; then ! # Looks like a Solaris or AIX system MEMORY_SIZE=`/usr/sbin/prtconf 2> /dev/null | grep "^Memory [[Ss]]ize" | awk '{ print [$]3 }'` FOUND_MEM=yes elif test -x /usr/sbin/sysctl; then # Looks like a MacOSX system MEMORY_SIZE=`/usr/sbin/sysctl -n hw.memsize` --- 73,83 ---- # Looks like a Linux (or cygwin) system MEMORY_SIZE=`cat /proc/meminfo | grep MemTotal | awk '{print [$]2}'` MEMORY_SIZE=`expr $MEMORY_SIZE / 1024` FOUND_MEM=yes elif test -x /usr/sbin/prtconf; then ! # Looks like an AIX system MEMORY_SIZE=`/usr/sbin/prtconf 2> /dev/null | grep "^Memory [[Ss]]ize" | awk '{ print [$]3 }'` FOUND_MEM=yes elif test -x /usr/sbin/sysctl; then # Looks like a MacOSX system MEMORY_SIZE=`/usr/sbin/sysctl -n hw.memsize`
*** 368,380 **** PRECOMPILED_HEADERS_AVAILABLE=true AC_MSG_CHECKING([if precompiled headers are available]) if test "x$ICECC" != "x"; then AC_MSG_RESULT([no, does not work effectively with icecc]) PRECOMPILED_HEADERS_AVAILABLE=false - elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then - AC_MSG_RESULT([no, does not work with Solaris Studio]) - PRECOMPILED_HEADERS_AVAILABLE=false elif test "x$TOOLCHAIN_TYPE" = xxlc; then AC_MSG_RESULT([no, does not work with xlc]) PRECOMPILED_HEADERS_AVAILABLE=false elif test "x$TOOLCHAIN_TYPE" = xgcc; then # Check that the compiler actually supports precomp headers. --- 364,373 ----
< prev index next >