Skip to content

trail-of-forks/misc-builder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 99.6%
  • Assembly 0.4%