Bug 1160137 - Use 64bit on Windows 8 x64 debug spidermonkey shell build. r=sfink
authorTooru Fujisawa <arai_a@mac.com>
Tue, 05 May 2015 13:59:51 +0900
changeset 273700 e0a9638176712156c4aa73cc00512969c8c02198
parent 273699 8e40c9f2da349b10ba366ebb132b6a8695fa26e1
child 273701 561c7f79f2a59183b7bc00b4c85d45f9a31f0cc6
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfink
bugs1160137
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1160137 - Use 64bit on Windows 8 x64 debug spidermonkey shell build. r=sfink
js/src/devtools/automation/autospider.sh
--- a/js/src/devtools/automation/autospider.sh
+++ b/js/src/devtools/automation/autospider.sh
@@ -100,20 +100,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"