https://github.com/compiler-explorer/clang-builder
https://github.com/compiler-explorer/clang-builder
docker-images
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/compiler-explorer/clang-builder
- Owner: compiler-explorer
- License: bsd-2-clause
- Created: 2020-02-25T01:16:43.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-12-14T13:19:53.000Z (about 1 year ago)
- Last Synced: 2024-12-21T14:43:29.435Z (about 1 year ago)
- Topics: docker-images
- Language: Shell
- Size: 195 KB
- Stars: 10
- Watchers: 5
- Forks: 32
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
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`