https://github.com/codeintelligencetesting/llvm-toolchain
LLVM Toolchain
https://github.com/codeintelligencetesting/llvm-toolchain
Last synced: 8 months ago
JSON representation
LLVM Toolchain
- Host: GitHub
- URL: https://github.com/codeintelligencetesting/llvm-toolchain
- Owner: CodeIntelligenceTesting
- Created: 2020-04-24T18:22:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-26T11:15:26.000Z (almost 5 years ago)
- Last Synced: 2025-01-24T18:35:37.176Z (10 months ago)
- Language: CMake
- Homepage: https://code-intelligence.com
- Size: 25.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Building our LLVM Toolchain
In order to support as many different platforms as possible with our toolchain, we use a two-stage bootstrap build on CentOS 7.
We use the LLVM Docker builder provided in [build/docker/builders](../../build/docker/builders/llvm.Dockerfile).
Run the following command from this directory in order to build the toolchain.
This uses the GCC 7 software collection, because GCC 5 cannot build current LLVM.
```
docker run -e LLVM_RELEASE=11.0.0 -it \
--mount type=bind,source=$(pwd),target=/llvmbuild \
--workdir /llvmbuild \
registry.gitlab.com/code-intelligence/core/builders/llvm:latest \
scl enable devtoolset-7 /llvmbuild/build_llvm.sh
```
Currently we are on Release 11.0.0.
See the comments in `build_llvm.sh` for how to modify the build.