gecko-dev/build/unix
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
..
build-binutils Bug 1540882 - Align binutils aarch64 target with build time clang --target. r=froydnj 2019-04-02 13:50:54 +00:00
build-gcc Bug 1451104 - part 1 - be explicit about our GCC/binutils target and build machine; r=glandium 2019-03-15 01:28:10 +00:00
build-hfsplus Bug 1501885 - Switch hfsplus toolchain to clang 7. r=ted 2018-10-25 10:35:59 +00:00
elfhack Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
stdc++compat Bug 1536307 - Bump libstdc++ requirement to 4.7. r=froydnj 2019-03-25 12:40:25 +00:00
aix.exp
moz.build
mozconfig.asan Bug 1489001 - Move most of mozconfig.linux to mozconfig.unix. r=froydnj 2018-09-08 07:41:19 +09:00
mozconfig.linux Bug 1079662 - Always enable PIE. r=froydnj 2018-09-08 07:41:21 +09:00
mozconfig.linux32 Backed out 4 changesets (bug 1417646) for Webdriver missing geckodriver binary, at least on Linux x64 asan 2018-08-30 12:54:45 +03:00
mozconfig.stdcxx Bug 1486998 - Use the binutils toolchain instead of gcc for builds using clang. r=froydnj 2018-08-30 07:30:30 +09:00
mozconfig.tsan Bug 1079662 - Always enable PIE. r=froydnj 2018-09-08 07:41:21 +09:00
mozconfig.unix Bug 1526857 - Improve bindgen configuration wrt clang. r=chmanchester 2019-06-05 02:48:20 +00:00
mozilla.in
print-failed-commands.sh
print-non-newline.sh
rewrite_asan_dylib.py bug 1463425 - Fix flake8/pep8 issue by hand in build/ r=gps 2018-05-21 23:58:19 +02:00
run-gprof.sh
run-hiprof.sh
run-mozilla.sh Bug 1407211 - Fix typo in build/unix/run-mozilla.sh from bug 1403366. r=glandium 2017-10-12 07:28:20 +09:00
run-third.sh