8000 GitHub - compiler-explorer/infra: Infrastructure to set up the public Compiler Explorer instances and compilers
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

compiler-explorer/infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Compiler Explorer Infrastructure

A whole bag of scripts and AWS config to run Compiler Explorer.

Of most use to the casual observer is probably the code in bin/ce_install - a tool to install the Compiler Explorer compilers to /opt/compiler-explorer. In particular, the open source compilers can be installed by anyone by running:

$ make ce  # this installs python modules etc
$ ./bin/ce_install install compilers

This will grab all the open source compilers and put them in /opt/compiler-explorer (which must be writable by the current user). To get the beta and nightly-built latest compilers, add the parameter --enable nightly to the command.

To list installation candidates, use ./bin/ce_install list. A single installation can be installed by name.

More info can be found here

Built compilers

Status page to our daily built compilers https://compiler-explorer.github.io/compiler-workflows/build-status

Cleaning up old AMIs

Something like:

$ npx aws-amicleaner --region 'us-east-1' \
    --exclude-in-use --verbose \
    --exclude-newest=2 --exclude-days 7 \
    --include-name 'compiler-explorer*'

Deploying the admin site and associated lambda

  • If you had to change the Python lambda code:
  • make terraform-apply - will build and update the python bundle and updates the endpoints/balancer config to point at the new lambda zip
  • make update-admin - deploys the admin site HTML and CSS etc

Note that the events lambda is npm-based and doesn't work in quite the same way, see make upload-events-lambda then manually make terraform-apply after.

About

Infrastructure to set up the public Compiler Explorer instances and compilers

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

< 3E2D span style="background-color:#89e051 !important;;width: 7.1%;" itemprop="keywords" data-view-component="true" class="Progress-item color-bg-success-emphasis">
0