Add support for riscv#4079
Merged
Merged
Conversation
5 tasks
afea0d8 to
2136693
Compare
jlebon
reviewed
Apr 25, 2025
| declare -A BASEARCH_TO_GOARCH=([s390x]=s390x [x86_64]=amd64 [aarch64]=arm64 [ppc64le]=ppc64le) | ||
| KOLET_ARCHES="${KOLET_ARCHES:-s390x x86_64 aarch64 ppc64le}" | ||
| ARCH=$(arch) | ||
| KOLET_ARCHES="${KOLET_ARCHES:-$(ARCH)}" |
Member
There was a problem hiding this comment.
Invalid syntax I think? Also feels like we can just keep that as one line.
Member
Author
There was a problem hiding this comment.
Will fix in next upload. Not sure what you mean by keep it as one line.
I use the $ARCH var later in the script.
The reason we build kolet for other architectures is so that we can mix architectures with test initiators and test runners. i.e. i.e. x86_64 kola running in the pipeline testing against an aarch64 EC2 instance. This use case isn't too common so let's just not build kolet for all the different architectures on every architecture. We'll special case for x86_64 here and let it build for them all, but for the rest we just build for the architecture that the container build is for.
This is initial support for being able to build against a riscv64 architecture target. xref: coreos/fedora-coreos-tracker#1931
This fails with a symbol error. Error reported upstream in golang/go#72840
2136693 to
7c56335
Compare
jlebon
approved these changes
May 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is initial support for being able to build against a riscv64
architecture target.
xref: coreos/fedora-coreos-tracker#1931
There is also a commit in here for limiting the number of architectures we
build
koletfor by default. See the commit message for more details.