gecko-dev/build/build-clang/use-clang-artifact.json
Mike Hommey 62718af062 Bug 1915778 - Clean up the clang toolchain json configs. r=firefox-build-system-reviewers,sergesanspaille
By separating the "use this compiler" configuration from other items,
we avoid redundancies, and at the same time simplify how the aarch64
variants are configured by having the $os_variant.json files only
contain the `target`.

Overall, each build now only uses at most 4 configs:
- one for the compiler it uses
- one for the target (optional when the host is the same as the target)
- one for the patches applied to the clang/llvm source
- one for the build type (stage-1, profile or stage-4-pgo)

And a similar pattern for clang-tidy.

Also remove the setting for ld, which hasn't been used since bug
1799423, and ranlib and ar for builds using clang-cl, as it's not used
either.

Differential Revision: https://phabricator.services.mozilla.com/D220652
2024-09-04 05:43:03 +00:00

9 lines
319 B
JSON

{
"cc": "{MOZ_FETCHES_DIR}/clang/bin/clang",
"cxx": "{MOZ_FETCHES_DIR}/clang/bin/clang++",
"as": "{MOZ_FETCHES_DIR}/clang/bin/clang",
"ar": "{MOZ_FETCHES_DIR}/clang/bin/llvm-ar",
"ranlib": "{MOZ_FETCHES_DIR}/clang/bin/llvm-ranlib",
"libtool": "{MOZ_FETCHES_DIR}/clang/bin/llvm-libtool-darwin"
}