An open API service indexing awesome lists of open source software.

https://github.com/codeintelligencetesting/llvm-toolchain

LLVM Toolchain
https://github.com/codeintelligencetesting/llvm-toolchain

Last synced: 8 months ago
JSON representation

LLVM Toolchain

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.