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

Build containers for riscv64 #132

Merged
merged 19 commits into from
Apr 16, 2024
Merged

Build containers for riscv64 #132

merged 19 commits into from
Apr 16, 2024

Conversation

bedroge
Copy link
Collaborator

@bedroge bedroge commented Sep 15, 2022

No description provided.

@bedroge
Copy link
Collaborator Author

bedroge commented Sep 16, 2022

The workflow that we use for the architectures, doesn't work for riscv64 (yet):

  • the Debian and CentOS images that we use are not available for riscv64, Debian only has an experimental/unstable one and for CentOS there's nothing at all, see here;
  • on an Ubuntu 20.04 image, building the package does not work, due to missing dependencies (e.g. Valgrind) on riscv64

As suggested by @amadio on Slack, we could switch to another workflow where we just build the client itself from source (instead of building packages), see:
https://gitweb.gentoo.org/repo/gentoo.git/tree/net-fs/cvmfs/cvmfs-2.9.2.ebuild#n70
That requires some more changes, though, and an initial attempt failed due to issues with protobuf on riscv64, so this needs some more work too.

@boegel
Copy link
Contributor

boegel commented Nov 2, 2022

@bedroge There's a riscv64 container image now for Ubuntu 22.10, cfr. https://hub.docker.com/r/riscv64/ubuntu/tags

@bedroge
Copy link
Collaborator Author

bedroge commented Nov 3, 2022

@bedroge There's a riscv64 container image now for Ubuntu 22.10, cfr. https://hub.docker.com/r/riscv64/ubuntu/tags

That was already there when I tried this, but from what I remember, I had similar issues as with 20.04.

Copy link
Contributor

@trz42 trz42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good (and most familiar). I left a comment regarding the inclusion of eessi-upload-to-staging in the container. Feel free to ignore that if you think it's unproblematic.

containers/Dockerfile.EESSI-build-node-debian-sid Outdated Show resolved Hide resolved
Copy link
Contributor

@trz42 trz42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great. Looks promising to build some software.

@trz42 trz42 merged commit e291d95 into EESSI:main Apr 16, 2024
30 checks passed
@bedroge bedroge deleted the riscv branch April 16, 2024 13:13
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

Successfully merging this pull request may close these issues.

3 participants