-
Notifications
You must be signed in to change notification settings - Fork 31
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
add loong64 support #139
base: master
Are you sure you want to change the base?
add loong64 support #139
Conversation
@tonistiigi @crazy-max The PR of add loong64 support has been moved here |
4ae1547
to
2eff431
Compare
Update test-clang.bats is currently effective |
golang support loong64 from 1.19 |
ptal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is still the whitespace issue to solve in the bake file. Can you also squash your commits please?
Signed-off-by: yzewei <[email protected]>
Signed-off-by: yzewei <[email protected]>
I don’t figure out why there is an assertion failure when using loong64 in debian and ubuntu, and not all versions will do this. |
The golang installed is 1.15 does not support loong64 and changed to 1.19 |
The code you changed is under "buster-backports" condition |
Signed-off-by: yzewei <[email protected]>
When |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's hard to see how this would be useful in current form. No packages seem to install in debian. No C-based build seems to work in any distro, in debian because packages can't be installed and in old Alpine 3.11 because there doesn't seem to be any supported linker.
Despite most tests being disabled, the CI still looks quite red.
src/xx-apt
Outdated
if [ "$TARGETARCH" = "loong64" ] && [ "$(xx-info vendor)" = "debian" ]; then | ||
apt-get update | ||
apt-get install -y debian-ports-archive-keyring | ||
echo "deb [ arch=loong64 ] http://ftp.ports.debian.org/debian-ports sid main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't seem to get any packages to install in sid
. This may be temporary error, but looks like there are conflicts between architectures.
Eg. difference of versions of gcc-13-base
seems to cause issues.
Signed-off-by: yzewei <[email protected]>
Can I adapt to debian first, alpine is waiting for the official community to start loadarch into the upstream and modify it? |
Signed-off-by: yzewei <[email protected]>
Due to the fact that the alpine community has not yet accepted the loongarch architecture, I have temporarily removed the build testing under alpine. After alpine community receives the loongarch architecture, I will start ci-testing. |
It seems that there are some problems with the cargo part of the arm64 and ppc64 architecture test in the debian: sid test. Can you see what the situation is? @tonistiigi |
Why does this happen on CI? |
@tonistiigi Thanks! |
Get the latest Commit, the latest PR
The previous PR add loong64 support
I'm sorry to complete this PR so late. I am busy some time ago. I have only been free now. Thank you very much for your attention!
Let me give you the lowdown once again: Loongarch, also known as Loongarch, is a badass RISC-style Instruction Set Architecture (ISA). It's all the rage in the open-source community and has been rocking long-term support.