Bug 1160137 - Use 64bit on Windows 8 x64 debug spidermonkey shell build. r=sfink, a=test-only
authorTooru Fujisawa <arai_a@mac.com>
Tue, 05 May 2015 13:59:51 +0900
changeset 267334 55c3df7a17a9df51e5119f0a6c4f6c4d5a1da5f5
parent 267333 a37776f7389ca8d31145dd1f771f600382b0b11b
child 267335 7461eda5d2ab32e75a2f9ddb757cd098a47bd2bf
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfink, test-only
bugs1160137
milestone39.0a2
Bug 1160137 - Use 64bit on Windows 8 x64 debug spidermonkey shell build. r=sfink, a=test-only
js/src/devtools/automation/autospider.sh
--- a/js/src/devtools/automation/autospider.sh
+++ b/js/src/devtools/automation/autospider.sh
@@ -97,20 +97,24 @@ elif [ "$OSTYPE" = "linux-gnu" ]; then
     export CXX=$GCCDIR/bin/g++
     if $USE_64BIT; then
       export LD_LIBRARY_PATH=$GCCDIR/lib64
     else
       export LD_LIBRARY_PATH=$GCCDIR/lib
     fi
   fi
 elif [ "$OSTYPE" = "msys" ]; then
-  USE_64BIT=false
-  if [ "$platform" = "win64" ]; then
-      USE_64BIT=true
-  fi
+  case "$platform" in
+  win64*)
+    USE_64BIT=true
+    ;;
+  *)
+    USE_64BIT=false
+    ;;
+  esac
   MAKE=${MAKE:-mozmake}
   source "$ABSDIR/winbuildenv.sh"
 fi
 
 MAKE=${MAKE:-make}
 
 if $USE_64BIT; then
   NSPR64="--enable-64bit"