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

Building on Linux on ARM64 #6

Closed
k8ieone opened this issue Feb 21, 2023 · 10 comments
Closed

Building on Linux on ARM64 #6

k8ieone opened this issue Feb 21, 2023 · 10 comments

Comments

@k8ieone
Copy link

k8ieone commented Feb 21, 2023

Is aarch64 Linux ever going to be supported like with Embree? Or is it never going to happen like with OpenImageDenoise?

Right now building openpgl on ARM fails. I have attached the error.
build.log

@sherholz-intel
Copy link
Collaborator

@a13xie could you give us a little bit more information of your arm-based system?

@k8ieone
Copy link
Author

k8ieone commented Mar 10, 2023

Sure thing, sorry I didn't go more detailed in the first place.
It's Arch Linux ARM running in a Docker container. The host that the container runs on is x86, but uses qemu-user-static to emulate ARM.

@StefanBruens
Copy link

You are apparently affected by RenderKit/embree#410

TLDR: add "-flax-vector-conversions" to your CXXFLAGS

@k8ieone
Copy link
Author

k8ieone commented Mar 11, 2023

@StefanBruens Thank you so much! Indeed using -flax-vector-conversions while building OPGL seems to fix this.

Should I close the issue?

@sherholz-intel
Copy link
Collaborator

@a13xie wait with the closing for the next point release.
I will add this flag with some others.

@sherholz-intel
Copy link
Collaborator

@StefanBruens thanks for looking up a fix and pointing it out.

@sherholz-intel
Copy link
Collaborator

Hi @a13xie ,

could you try and see if the fix/linux-arm-and-visibility branch fixes your problem?

@k8ieone
Copy link
Author

k8ieone commented Jul 5, 2023

Hi @a13xie ,

could you try and see if the fix/linux-arm-and-visibility branch fixes your problem?

Will do!

@k8ieone
Copy link
Author

k8ieone commented Jul 5, 2023

@sherholz-intel I can confirm that building from the fix/linux-arm-and-visibility branch doesn't require manually adding the -flax-vector-conversions flag anymore.

@sherholz-intel
Copy link
Collaborator

Thanks for testing. This fix will be included in the next release.

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