You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BuildingCompilers.md
+6-20
Original file line number
Diff line number
Diff line change
@@ -4,28 +4,14 @@ Compiler Explorer builds its compilers using docker images. These images are eac
4
4
5
5
## Daily images
6
6
7
-
There's an AWS instance (see `setup-builder.sh`) that is left shut down most of the time. It's used to build new
8
-
compilers. Daily compilations are orchestrated via the admin node. It runs the `admin-daily-build.sh` on a daily
7
+
Compilers are built using a Github workflow, running on our own builders, in the [compiler-workflows](https://github.com/compiler-explorer/compiler-workflows/) repo.
8
+
9
+
Some legacy builds use a dedicated AWS instance (see `setup-builder.sh`) that is left shut down most of the time. These compilations are orchestrated via the admin node. It runs the `admin-daily-build.sh` on a daily
9
10
schedule via cron (see `crontab.admin`). This script fires up the builder node, runs the various builds on it, and shuts down.
10
-
The same crontab also updates the symlinks in `/opt/compiler-explorer` daily to point at the newest builds.
11
11
12
12
## New compilers
13
13
14
-
New compilers are built by logging into the admin node (with `ce admin`), and then manually starting the build node (`ce builder start`).
**Don't forget to shut the build node down with `ce builder stop` when you've finished!**
14
+
New compilers can be built by triggering a Github action build - use the [Custom compiler build](https://github.com/compiler-explorer/infra/actions/workflows/bespoke-build.yaml) and then click "Run workflow". A clang build takes around 20 minutes.
28
15
29
-
Remember that after building a compiler you'll need to update the `update_compilers/install_compilers.sh` script
30
-
to install it. And if you're updating an existing compiler, you'll need to do something like unpacking the
31
-
compiler to the admin drive's `/tmp/` and then `rsync --delete-after -avz /tmp/compiler/ /opt/compiler-explorer/compiler/`.
16
+
Remember that after building a compiler you'll need to update the [YAML configuration](bin/yaml)
0 commit comments