2 # Copyright (c) 2003,2005 SUSE Linux Products GmbH, Germany. All rights reserved.
4 # Authors: Thorsten Kukuk <kukuk@suse.de>
6 # this script use the following variable(s):
11 case $BUILD_BASENAME in
13 # Our biarch 32-bit compiler needs to be build on a 64-bit machine,
14 # otherwise some configure checks fail.
15 # Note that we cannot use uname here since powerpc32 was invoked
17 grep 'series64\|ppc64' /proc/version > /dev/null
18 if [ $? -ne 0 ] ; then
19 echo "build does not work on `hostname` for gcc"
24 #if [ `ulimit -v` -le 740000 ] ; then
25 # echo "build does not work on ("`hostname`" for gcc)"
28 if [ `getconf _NPROCESSORS_CONF` -lt 2 ] ; then
29 echo "build does not work on `hostname` for gcc"