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

Any way to build for ARM64 too? #2725

Open
SebastianGode opened this issue Jun 21, 2024 · 4 comments
Open

Any way to build for ARM64 too? #2725

SebastianGode opened this issue Jun 21, 2024 · 4 comments

Comments

@SebastianGode
Copy link

With the rise of all those new fancy devices with Snapdragon X Elite and likely some Ampere SoCs on their way I'd like to also compile all the media libraries natively for my Surface.
As far as I understand it, currently MingW64 is used which is only compiling for x64, right? Is there any way to change that easily or add support for 64Bit ARM?

@Andarwinux
Copy link

native build with an arm64 device shouldn't be a big deal, it's just switch from clang64 to clangarm64.

@SebastianGode
Copy link
Author

Where do I need to change this?

Also running the msys in x64 through the compatibility-layer works just fine (I think), but native would also be preferred :)

@Andarwinux
Copy link

Replace all clang64 with clangarm64 in the mabs script, and then choose clang instead of gcc when running media-autobuild_suite.bat. There may be a lot of packages that don't work, which will require adjust build options.

@Biswa96
Copy link
Contributor

Biswa96 commented Jun 23, 2024

If you are not faimilar with compiling stuff for arm64 you can use precompiled arm64 packages in msys2. The installation guide can be found in https://www.msys2.org/. Use the clangarm64 environment there.

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

3 participants