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

Only emit SIMD compiler flags on x86-based platforms #1645

Conversation

jmather-sesi
Copy link
Contributor

Enabling the SSE4.2 or AVX SIMD flags on non-x86 based platforms will result in a compilation error stating that the -msse4.2 and -mavx flags cannot be found. This patch causes the flags to only be emitted on x86-based platforms.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jul 18, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

Enabling the SSE4.2 or AVX SIMD flags on non-x86 based platforms will
result in a compilation error stating that the -msse4.2 and -mavx flags
cannot be found. This patch causes the flags to only be emitted on x86-based
platforms.

Signed-off-by: jmather-sesi <54645798+jmather-sesi@users.noreply.github.com>
Signed-off-by: jmather-sesi <54645798+jmather-sesi@users.noreply.github.com>
@jmlait jmlait merged commit 3f8b6f3 into AcademySoftwareFoundation:master Aug 1, 2023
40 of 41 checks passed
@jmather-sesi jmather-sesi deleted the non-x86-intrinsic-flag-fix branch August 1, 2023 19:09
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

Successfully merging this pull request may close these issues.

4 participants