about summary refs log tree commit diff
path: root/src/bootstrap/bin/llvm-config-wrapper.rs
AgeCommit message (Collapse)AuthorLines
2022-12-22Use LLVM_CMAKE_DIR for lld buildNikita Popov-24/+0
LLVM_CONFIG_PATH is no longer supported as of LLVM 16, switch to using the cmake module instead. We separately return the llvm-config and cmake directory paths, because llvm-config always refers to the host binary, while the cmake directory is for the target triple.
2020-04-24Fix cross-compiling LLD to different platformsAlex Crichton-1/+8
Looks like the native build system isn't great a coping with this, so try to work around that with a few workarounds.
2019-12-22Format the worldMark Rousskov-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-05-09ci: Compile LLVM with Clang 6.0.0Alex Crichton-0/+27
Currently on CI we predominately compile LLVM with the default system compiler which means gcc on Linux, some version of Clang on OSX, MSVC on Windows, and gcc on MinGW. This commit switches Linux, OSX, and Windows to all use Clang 6.0.0 to build LLVM (aka the C/C++ compiler as part of the bootstrap). This looks to generate faster code according to #49879 which translates to a faster rustc (as LLVM internally is faster) The major changes here were to the containers that build Linux releases, basically adding a new step that uses the previous gcc 4.8 compiler to compile the next Clang 6.0.0 compiler. Otherwise the OSX and Windows scripts have been updated to download precompiled versions of Clang 6 and configure the build to use them. Note that `cc` was updated here to fix using `clang-cl` with `cc-rs` on MSVC, as well as an update to `sccache` on Windows which was needed to correctly work with `clang-cl`. Finally the MinGW compiler is entirely left out here intentionally as it's currently thought that Clang can't generate C++ code for MinGW and we need to use gcc, but this should be verified eventually.