Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cerberus support #1197

Open
vzaliva opened this issue Dec 24, 2023 · 0 comments
Open

Cerberus support #1197

vzaliva opened this issue Dec 24, 2023 · 0 comments

Comments

@vzaliva
Copy link

vzaliva commented Dec 24, 2023

Now, as compiler-explorer/compiler-explorer#5864 have been merged (Thanks!), I want to add support from Cerberus to the main website.

@mattgodbolt wrote: "The process could do with a look at: but basically if you have a system that can install the compiler from a tarball, or a dockerfile that can bulid it for Ubuntu 20 or 22, then we can help :) The compiler needs to be able to be somewhat hermetically built with no external dependencies (or minimal) as it will be run in a very restricted environment. Let me know if I can help more!"

We do not presently have a tarball, but we have a very simple ubuntu-based docker container:

  1. Dockerhub
  2. Dockerfile

As you can see, the installation is done via OPAM package manger, which is, in turn, provided by Ubuntu (and other distros). Theoretically one can make OPAM to install everything under /opt or any other location by providing --root=/opt/compiler-explorer/.opam command line option to opam init command.

I am volunteering to do what's needed but need some guidance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant