Bug 1344318 - Check for llvm-config-3.9 in configure. r=ted
authorMatt Brubeck <mbrubeck@mozilla.com>
Fri, 03 Mar 2017 11:08:23 -0800
changeset 395484 5ca7be935164ebedf565def12bdc8b3e6d9c9939
parent 395483 3862c0c5350c65982b82951fddffe51d6470b4cf
child 395485 8245e6ca72d4384218ea51c5392547c7ffece51e
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs1344318
milestone55.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 1344318 - Check for llvm-config-3.9 in configure. r=ted MozReview-Commit-ID: 9SoInQFyfLd
toolkit/moz.configure
--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -569,17 +569,17 @@ option('--enable-stylo', env='STYLO_ENAB
             'This requires either building servo within Gecko\'s cargo phase '
             'or passing --with-servo')
 
 # We support setting up the appropriate options for Stylo's build-time
 # bindings generation via setting LLVM_CONFIG or by providing explicit
 # configure options.  The Windows installer of LLVM/Clang doesn't provide
 # llvm-config, so we need both methods to support all of our tier-1
 # platforms.
-llvm_config = check_prog('LLVM_CONFIG', ('llvm-config',),
+llvm_config = check_prog('LLVM_CONFIG', ('llvm-config-3.9', 'llvm-config',),
                          what='llvm-config', allow_missing=True)
 
 option('--disable-stylo-build-bindgen',
        help='Enable build-time bindgen for Stylo')
 
 option('--with-libclang-path', nargs=1,
        help='Absolute path to Clang/LLVM libraries for Stylo (at least version 3.9.0')
 option('--with-clang-path', nargs=1,