gecko-dev/taskcluster
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
..
ci Bug 1555454 - move cppunit, jittest, mochitest-devtools-webreplay, mochiest-gpu to macosx1014 r=jmaher 2019-06-05 01:29:08 +00:00
docker Bug 1554406 - Install rustfmt in the CI r=ahal 2019-06-03 19:59:17 +00:00
docs Bug 1522581 - Publish GeckoView multi-architecture fat AAR Nightly. r=jlorenzo 2019-05-30 15:22:41 +00:00
scripts Bug 1526857 - Improve bindgen configuration wrt clang. r=chmanchester 2019-06-05 02:48:20 +00:00
taskgraph Bug 1535056 - Specifies schema for taskgraph parameters r=tomprince 2019-06-04 12:10:18 +00:00
.yamllint Bug 1550816: Enforce consistent indenting in taskcluster yaml; r=aki 2019-05-10 21:19:48 +00:00
mach_commands.py Bug 1535056 - Specifies schema for taskgraph parameters r=tomprince 2019-06-04 12:10:18 +00:00
moz.build