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

[Bug]: fails to build on aarch64 host #303

Open
evanrichter opened this issue Nov 1, 2023 · 0 comments
Open

[Bug]: fails to build on aarch64 host #303

evanrichter opened this issue Nov 1, 2023 · 0 comments
Assignees

Comments

@evanrichter
Copy link

Which component impacted?

Build

Is it regression? Good in old configuration?

No, this issue exist a long time

What happened?

log.txt

The build stops due to adding x86 specific build flags which don't exist for aarch64. Specifically the first flag to fail is -msse4.2, but there are also avx2 and ssse3 flags that must not be enabled for this architecture:

https://github.com/oneapi-src/oneVPL-intel-gpu/blob/d2b457be2e531f5e358ad427252f2c0ac761a1e5/builder/FindGlobals.cmake#L321

The cmake build scripts should not only distinguish between Windows and Linux to determine build flags, but also target architecture

Thanks!

What's the usage scenario when you are seeing the problem?

Others

What impacted?

cannot build from source

Debug Information

No response

Do you want to contribute a patch to fix the issue?

None

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

2 participants