Bug 1160490 - Set target to x86_64 for spidermonkey shell build on Windows 8 x64. r=sfink
authorTooru Fujisawa <arai_a@mac.com>
Tue, 05 May 2015 13:59:48 +0900
changeset 273699 8e40c9f2da349b10ba366ebb132b6a8695fa26e1
parent 273698 8123996547d6708d3207945102bcbd54ab0a2017
child 273700 e0a9638176712156c4aa73cc00512969c8c02198
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
bugs1160490
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 1160490 - Set target to x86_64 for spidermonkey shell build on Windows 8 x64. r=sfink
js/src/devtools/automation/autospider.sh
--- a/js/src/devtools/automation/autospider.sh
+++ b/js/src/devtools/automation/autospider.sh
@@ -112,16 +112,19 @@ elif [ "$OSTYPE" = "msys" ]; then
   MAKE=${MAKE:-mozmake}
   source "$ABSDIR/winbuildenv.sh"
 fi
 
 MAKE=${MAKE:-make}
 
 if $USE_64BIT; then
   NSPR64="--enable-64bit"
+  if [ "$OSTYPE" = "msys" ]; then
+    CONFIGURE_ARGS="$CONFIGURE_ARGS --target=x86_64-pc-mingw32 --host=x86_64-pc-mingw32"
+  fi
 else
   NSPR64=""
   if [ "$OSTYPE" != "msys" ]; then
     export CC="${CC:-/usr/bin/gcc} -m32"
     export CXX="${CXX:-/usr/bin/g++} -m32"
     export AR=ar
   fi
 fi