-
Notifications
You must be signed in to change notification settings - Fork 247
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
Fix loongarch64 GOARCH value #1942
Conversation
uname gives loongarch64 target value while go has loong64 target instead. Without the fix `make install` can't find correct executable since it looks into bin/loongarch64 instead of bin/loong64
Changed commit message to suit contribution formatting |
@@ -6,6 +6,8 @@ ifeq ($(GOARCH),x86_64) | |||
GOARCH=amd64 | |||
else ifeq ($(GOARCH),aarch64) | |||
GOARCH=arm64 | |||
else ifeq ($(GOARCH),loongarch64) |
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.
We might want to add an item for release notes? if not I can skip them but I think it could be useful to communicate this.
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.
Made additional commit with only short description.
In changelog provided broad description and left link to this PR for details
Thank you for submitting this, just one small question otherwise lgtm. |
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.
LGTM, thank you for your contribution!
So in loongarch64
uname -m
givesloongarch64
but Go hasloong64
target instead. This PR proposes changes to set GOARCH toloong64
ifloongarch64
encountered.