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

no lax vector conversions for clang on ARM #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JoachimSchurig
Copy link

Description

recent versions of sse2neon.h (included through simd_utils) do not build using clang and with -flax-vector-conversions.
clang builds (other than gcc) do not need this option though, therefore do not add it if clang is used.
Current code, when configured on ARM, configures with simd_utils, and -flax-vector-conversions.

List of changes:

  • main CMakeLists.txt, only add -flax-vector-conversions if compiler is not clang

Added dependencies: none

How to test

Try to build current code with clang on any ARM CPU against latest simd-utils. The build will fail.
With this patch applied, the build passes on ARM, with clang.

Checklist

  • I have tested the code manually
  • I have run regression tests
  • I have read and followed CONTRIBUTING.md
  • I have updated CHANGELOG.md

recent versions of sse2neon.h (included through simd_utils) do not build using (apple) clang and -flax-vector-conversions.

(apple) clang builds (other than gcc) do not need this option though, therefore do not add it if clang is used.
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.

1 participant