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 on linux-arm64 produces linux-x64 binaries #947

Closed
avoidik opened this issue Nov 4, 2022 · 8 comments
Closed

Build on linux-arm64 produces linux-x64 binaries #947

avoidik opened this issue Nov 4, 2022 · 8 comments
Assignees

Comments

@avoidik
Copy link

avoidik commented Nov 4, 2022

Hello,

Build on linux-arm64 produces linux-x64 binaries even when --arch arm64 --os linux flags were set. How can I fix it?

@ldennington
Copy link
Contributor

Can you please include the full command you're using to build?

@mjcheetham
Copy link
Collaborator

--arch arm64 --os linux

I don't recognise those build arguments.. they aren't dotnet command arguments.

@avoidik
Copy link
Author

avoidik commented Nov 8, 2022

Here is the command

sudo dotnet build ./src/linux/Packaging.Linux/Packaging.Linux.csproj -c Release -p:InstallFromSource=true --arch arm64 --os linux

Here is the reference to extra params

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-build

@ldennington
Copy link
Contributor

Ah, I see. For that particular project, we use a custom build.sh script that assumes x64. We do not yet support arm64 for Linux - we will discuss and prioritize accordingly.

@rowntreerob
Copy link

+1 on the arm64 for Linux

new chromebook thats good dev box, but no gpg support for pushing signed commits to git

@jozefizso
Copy link

This will be helpful for WSL on Windows ARM systems.

@grzn
Copy link

grzn commented Nov 28, 2022

+1

@ldennington
Copy link
Contributor

Duplicate of #606

@ldennington ldennington marked this as a duplicate of #606 Feb 27, 2023
@ldennington ldennington closed this as not planned Won't fix, can't repro, duplicate, stale Feb 27, 2023
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

No branches or pull requests

8 participants
@rowntreerob @grzn @jozefizso @mjcheetham @avoidik @ldennington and others