2017-01-03 01:02:55 +03:00
|
|
|
{
|
2019-04-01 15:24:35 +03:00
|
|
|
"llvm_revision": "356365",
|
2017-01-03 01:02:55 +03:00
|
|
|
"stages": "1",
|
|
|
|
"build_libcxx": true,
|
|
|
|
"build_type": "Release",
|
|
|
|
"assertions": false,
|
2017-01-03 06:23:08 +03:00
|
|
|
"build_clang_tidy": true,
|
2017-01-03 01:02:55 +03:00
|
|
|
"osx_cross_compile": true,
|
2019-04-01 15:24:35 +03:00
|
|
|
"llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_800/final",
|
|
|
|
"clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_800/final",
|
|
|
|
"extra_repo": "https://llvm.org/svn/llvm-project/clang-tools-extra/tags/RELEASE_800/final",
|
|
|
|
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_800/final",
|
|
|
|
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_800/final",
|
2017-01-03 01:02:55 +03:00
|
|
|
"python_path": "/usr/bin/python2.7",
|
2017-08-28 14:44:51 +03:00
|
|
|
"gcc_dir": "/builds/worker/workspace/build/src/gcc",
|
|
|
|
"cc": "/builds/worker/workspace/build/src/clang/bin/clang",
|
|
|
|
"cxx": "/builds/worker/workspace/build/src/clang/bin/clang++",
|
|
|
|
"as": "/builds/worker/workspace/build/src/clang/bin/clang",
|
Bug 1551690 - be more specific about the LLVM target on OS X; r=nalexander
Our current OS X builds use `--target=x86_64-darwin11` (which
corresponds to OS X 10.7). This target is problematic for two reasons:
* We're actually targeting for OS X 10.9 (`MACOSX_DEPLOYMENT_TARGET`);
* It's slightly different from the default Rust target.
Let's address these problems in reverse order: differences from the Rust
target are bad, because the `--target` we provide to `clang` and the
Rust target find their way into LLVM bitcode files and the linker will
refuse to link together bitcode files that have incompatible targets.
Why are the two incompatible? The current `--target` doesn't have a
"vendor" in triple-speak, whereas the Rust one has "apple" as the
vendor (`x86_64-apple-darwin`) We therefore need to change the
`--target` we pass to `clang` to have a vendor of "apple".
This need is behind the {init,toolchain}.configure changes,
but it has ramifications elsewhere, because `clang` looks for
`--target`-prefixed build tools. So we have to change the `--target`
for cctools to get the right tool prefixes and we have to change the
`--target` for building clang ourselves so that *those* builds can find
the newly renamed cctools.
Once we've done, that's really enough; we don't *need to address the
first problem: While the `--target` might be `x86_64-apple-darwin11`,
both `clang` and `rustc` will dynamically choose the target triple that
eventually lands in LLVM bitcode files based on
`MACOSX_DEPLOYMENT_TARGET`, which we set in all builds. But the current
target is slightly misleading, and the cctools don't need to be prefixed
with a particular Darwin version, since they work for all Darwin
targets. Let's just drop the "11" from the `--target` and eliminate a
little bit of confusion.
Differential Revision: https://phabricator.services.mozilla.com/D31128
--HG--
extra : moz-landing-system : lando
2019-05-21 20:53:44 +03:00
|
|
|
"ar": "/builds/worker/workspace/build/src/cctools/bin/x86_64-apple-darwin-ar",
|
|
|
|
"ranlib": "/builds/worker/workspace/build/src/cctools/bin/x86_64-apple-darwin-ranlib",
|
|
|
|
"libtool": "/builds/worker/workspace/build/src/cctools/bin/x86_64-apple-darwin-libtool",
|
2017-08-28 14:44:51 +03:00
|
|
|
"ld": "/builds/worker/workspace/build/src/clang/bin/clang",
|
2017-02-02 19:36:17 +03:00
|
|
|
"patches": [
|
2019-04-01 15:18:44 +03:00
|
|
|
"clang-tidy-8.patch"
|
2017-02-02 19:36:17 +03:00
|
|
|
]
|
2017-01-03 01:02:55 +03:00
|
|
|
}
|