gecko-dev/build/moz.configure
Mike Hommey 985a376afa Bug 1526857 - Improve bindgen configuration wrt clang. r=chmanchester
The current setup for bindgen relies on either finding clang/libclang
from the output of llvm-config, or from the paths given via the
configure flags --with-clang-path/--with-libclang-path.

One _very_ common problem is that the llvm-config we end up using does
not correspond to the clang used for compilation, which has some
undesirable side effect, like failing to build.

So instead of relying on llvm-config, we do the following:
- when the compiler is clang, we just use that
- when the compiler is clang-cl, we use clang from the same directory
- otherwise, we either try to find clang in PATH, or rely on
  --with-clang-path.

Once clang is found, we try to deduce the location of the corresponding
libclang via the output of `clang -print-search-dirs`, or rely on
--with-libclang-path.

Differential Revision: https://phabricator.services.mozilla.com/D33241

--HG--
extra : moz-landing-system : lando
2019-06-05 02:48:20 +00:00
..
android-ndk.configure Bug 1510897 - Add -stdlib=libstdc++ to the compiler flags on Android. r=froydnj 2019-03-28 13:15:43 +00:00
android-sdk.configure Bug 1526062 - Fix miscellaneous NameErrors lingering in the python configure code. r=nalexander 2019-02-08 16:56:13 +00:00
arm.configure Bug 1524429 - Move build/autoconf/arch.m4 to python configure. r=nalexander 2019-03-20 16:17:57 +00:00
bindgen.configure Bug 1526857 - Improve bindgen configuration wrt clang. r=chmanchester 2019-06-05 02:48:20 +00:00
checks.configure Backed out changeset f593f5a5bfa3 (bug 1555346) for build bustages on llvm-profdata. CLOSED TREE 2019-05-29 19:14:25 +03:00
compile-checks.configure Bug 1547038 - ignore unrelated errors when checking compiler flags with ccache; r=chmanchester 2019-04-30 20:04:22 +00:00
compilers-util.configure Bug 1510897 - Separate Android C++ flags from the other Android toolchain flags. r=nalexander 2019-03-27 22:05:04 +00:00
flags.configure Bug 1513009 - Deny Rust warnings on automation. r=ted 2018-12-14 23:35:47 +01:00
headers.configure Bug 1512504 - Remove support for MSVC. r=froydnj 2019-02-14 21:45:27 +00:00
init.configure Bug 1547730 - Update a build moz.configure function, to support py3 r=glandium 2019-05-28 14:28:43 +00:00
java.configure Bug 1527796 - Part 2. Detect Java on Windows. r=nalexander,glandium 2019-03-05 11:03:27 +09:00
keyfiles.configure
memory.configure Bug 1554928 - Remove configure options that have been deprecated for a while. r=nalexander 2019-05-29 02:01:02 +00:00
node.configure Bug 1482435 - Separate out nodejs finding logic from configure and use it for ESLint. r=firefox-build-system-reviewers,gps 2018-09-25 18:15:51 +00:00
old.configure Bug 1524429 - Move build/autoconf/arch.m4 to python configure. r=nalexander 2019-03-20 16:17:57 +00:00
pkg.configure Bug 1519308 - Try toolchain-prefixed pkg-config. r=froydnj 2019-01-11 23:56:19 +00:00
rust.configure Bug 1547196 - remove rustup wrapper from rustc as well as cargo; r=glandium 2019-05-14 05:43:19 +00:00
toolchain.configure Bug 1526857 - Improve bindgen configuration wrt clang. r=chmanchester 2019-06-05 02:48:20 +00:00
tup.configure Bug 1494833 - Bump tup version to v0.7.8; r=chmanchester 2018-09-28 02:33:53 +00:00
util.configure Bug 1526062 - Fix miscellaneous NameErrors lingering in the python configure code. r=nalexander 2019-02-08 16:56:13 +00:00
warnings.configure Bug 1530650 - Add --cap-lints warn to RUSTFLAGS when not building with --enable-warnings-as-errors. r=froydnj 2019-05-22 12:59:01 +00:00
windows.configure Bug 1546491 - raise minimum windows SDK version; r=RyanVM 2019-04-24 16:15:10 +00:00