Bug 1494509 - disable geckodriver on aarch64 windows; r=ato
authorNathan Froyd <froydnj@mozilla.com>
Thu, 27 Sep 2018 12:44:02 -0400
changeset 494308 8c84bd8283872a6ac2702c6956936a376a23f930
parent 494307 7011d18300cc2f975eb50c03e9b55e88527f790e
child 494309 4ee1e1103a820bef4c635a744544a36d951f3cec
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersato
bugs1494509
milestone64.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 1494509 - disable geckodriver on aarch64 windows; r=ato
toolkit/moz.configure
--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -914,16 +914,19 @@ set_config('ENABLE_MARIONETTE', marionet
 # Turn off geckodriver for build configs we don't handle yet,
 # but allow --enable-geckodriver to override when compile environment is available.
 # --disable-tests implies disabling geckodriver.
 
 @depends('--enable-tests', target, cross_compiling, hazard_analysis, asan)
 def geckodriver_default(enable_tests, target, cross_compile, hazard, asan):
     if not enable_tests:
         return False
+    # geckodriver depends on winapi 0.2.8, which doesn't work with AArch64.
+    if target.os == 'WINNT' and target.cpu == 'aarch64':
+        return False
     if hazard or target.os == 'Android' or (asan and cross_compile):
         return False
     return True
 
 option('--enable-geckodriver', default=geckodriver_default,
        when='--enable-compile-environment',
        help='Build geckodriver')