Clang Compiler build scripts
December 6, 2024 ยท View on GitHub
The repository is part of the Compiler Explorer project. It builds the docker images used to build the various clang compilers used on the site.
To Test
This assumes you have set up your user account to be able to run
docker without being root;
if you haven't done so, you'll need to prefix these commands with sudo.
docker build -t clangbuilder .docker run clangbuilder ./build.sh trunk
If you need to change the default Ubuntu image, add --build-arg image=20.04
or similar to the build step.
Alternative to run (for better debugging)
docker run -t -i clangbuilder bash./build.sh trunk