add support for letting the bot build compat layer#163
Conversation
|
This seems to work now. I've tested it, but had to disable the package set installation (as, for instance, |
| @@ -0,0 +1,17 @@ | |||
| FROM debian:11-slim | |||
Check warning
Code scanning / Scorecard
Pinned-Dependencies
| RUN apt-get update | ||
| RUN apt-get install -y gcc g++ make diffutils libgmp-dev perl | ||
| RUN apt-get install -y git python3-pip | ||
| RUN pip3 install --upgrade pip |
Check warning
Code scanning / Scorecard
Pinned-Dependencies
83619d2 to
8b9ef7d
Compare
|
Initially, I switched from CentOS to Rocky for the container, but Rocky 8 only provides Docker containers for |
|
See https://github.com/EESSI/compatibility-layer/actions/runs/3903315061/jobs/6667515735#step:7:3652 for the failure...no |
|
almalinux:8 does have a container for POWER |
Yeah, I considered that one as well, but since Debian is a bit more active with respect to |
Weird, I think it should exist: https://packages.debian.org/bullseye/rustc |
|
Successfully ran this on |
|
This PR includes so many different things now, I'm splitting it up into smaller ones:
|
| host_arch=$(uname -m) | ||
| eessi_arch=${cpu_target_arch:-${host_arch}} | ||
| eessi_os=linux | ||
| eessi_version=2023.02 |
version bump is done or needs to be done in a follow up PR
trz42
left a comment
There was a problem hiding this comment.
All conflicts resolved. Some requested changes (version bump) postponed to follow-up PR.
The new script
install-compatibility-layer.shwill run Ansible inside an Apptainer container (generated with a modified version of the existing Dockerfile, updated to Rocky 8).Haven't managed to do a full test run, due to issues with the bootstrapping process: it fails to fetch some source file, so I'll probably have to update the gentoo commit that we use.