Skip to content

compiler-explorer/misc-builder

Folders and files

NameName
Last commit message
Last commit date
Mar 27, 2025
Sep 28, 2023
Aug 24, 2024
Mar 27, 2025
Apr 27, 2025
Apr 23, 2023
Sep 27, 2024
Sep 30, 2024
Jun 21, 2024
Sep 5, 2023
Nov 28, 2024
Apr 8, 2025
Jul 30, 2024
Sep 28, 2023
Feb 18, 2025
Feb 25, 2024
Apr 24, 2025
Jun 10, 2024
May 14, 2023
Sep 11, 2024
Feb 25, 2020
Aug 24, 2024
Mar 27, 2025
Dec 20, 2024
Nov 26, 2024
Sep 27, 2024
May 30, 2024
Jun 21, 2024
Sep 5, 2023
Nov 28, 2024
Mar 26, 2024
Jan 21, 2024
Sep 28, 2023
Nov 26, 2024
Feb 25, 2024
Jul 3, 2024
Feb 17, 2025
May 14, 2023
Nov 28, 2024
Feb 25, 2020
May 30, 2024
Apr 25, 2023

Miscellaneous tool build scripts

The repository is part of the Compiler Explorer project. It builds the docker images used to build some of the more...esoteric...tools used on the site.

For example, it builds the 6502 compiler.

It's in the process of being broken into smaller docker files, and/or separate repos as appropriate. What "as appropriate" means is still being worked on. Each dockerfile is for one group of related things, building a XXX-builder for the Dockerfile.XXX file. The misc Dockerfile itself is for the super misc-y things that really only are one-off, though that's still being split up.

If you add a new Dockerfile, you'll need to edit the matrix in the .github/workflows/build.yml file.

Testing locally

Note: make sure you chmod +x yourlanguage/build-yourcompiler.sh first.

# Building the Docker image with tag `builder`
docker build -t builder -f Dockerfile.misc .

# Running the build script in the container directly
docker run --rm -v/tmp/out:/build builder ./build-yourcompiler.sh trunk /build

# Alternative to running the build script 
#  (It first starts a bash terminal inside the container, so it's easier for debugging.)
docker run -t -i miscbuilder bash
./build-yourcompiler.sh trunk /build

Note: Different compiler builder scripts may require different command line arguments, check your script for details.