define sparc64 platform

This commit is contained in:
Sergey Avseyev 2016-07-20 22:31:24 +03:00
commit 1492ff33ce
4 changed files with 10 additions and 5 deletions

View file

@ -105,7 +105,11 @@ case $ucpu in
*amd*64* | *x86-64* | *x86_64* )
mycpu="amd64" ;;
*sparc*|*sun* )
mycpu="sparc" ;;
mycpu="sparc"
if [ "$(isainfo -b)" = "64" ]; then
mycpu="sparc64"
fi
;;
*ppc64* )
if [ "$myos" = "linux" ] ; then
COMP_FLAGS="$COMP_FLAGS -m64"

View file

@ -18,7 +18,7 @@ import
const
maxOS = 20 # max number of OSes
maxCPU = 10 # max number of CPUs
maxCPU = 20 # max number of CPUs
buildShFile = "build.sh"
buildBatFile32 = "build.bat"
buildBatFile64 = "build64.bat"