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

https://github.com/compiler-explorer/clang-builder


https://github.com/compiler-explorer/clang-builder

docker-images

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Clang Compiler build scripts

The repository is part of the [Compiler Explorer](https://godbolt.org/) 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](https://docs.docker.com/engine/security/rootless/);
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`