mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 1360771 - llvm-config is N/A on FreeBSD try llvm-config39 as well. r=rillian
llvm39 package on FreeBSD installs llvm-config under non-default prefix with llvm-config39 wrapper under PATH. No package currently provides default/unsuffixed llvm-config. So, adjust lookup to avoid having to add "export LLVM_CONFIG=llvm-config39" in .mozconfig for the common case when Stylo bindgen is known to work. MozReview-Commit-ID: 9PmnpTPoBcR --HG-- extra : rebase_source : 6c252e9e0e8da1f02fa74107597f69066b024f55
This commit is contained in:
parent
527fb3fff5
commit
c4d4ebe05c
@ -587,7 +587,7 @@ option('--enable-stylo', env='STYLO_ENABLED', nargs=0,
|
||||
# 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-3.9', 'llvm-config',),
|
||||
llvm_config = check_prog('LLVM_CONFIG', ('llvm-config-3.9', 'llvm-config39', 'llvm-config',),
|
||||
what='llvm-config', allow_missing=True)
|
||||
|
||||
option('--disable-stylo-build-bindgen',
|
||||
|
Loading…
Reference in New Issue
Block a user