-
Notifications
You must be signed in to change notification settings - Fork 90
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
Don't set -mno-sse / -mno-avx2 #486
Comments
The script would have to be updated either like: if have_sse2:
base_compile_args.append('-mno-sse2' if disable_sse2 else '-msse2') but I'd be happier if it was just: if have_sse2 and not disable_sse2:
base_compiler_flags.append('-msse2') I don't think I've ever seen a build system that explicitly disabled a certain micro-architecture. Most of the build systems do something like "if |
Is this issue fixed? I am having problem while building and pushing image to docker hub on (linux/arm64/v8). And the issue stems from |
it's not |
The change described in #486 (comment) seems reasonable. @haampie, do you think you'd be able to open a pull request with that change? |
On PPC and other architecutres neither
-msse
nor-mno-sse
are supported.Yet
numcodecs/setup.py
Lines 25 to 32 in 45a8ef3
-mno-sse
/-mno-avx2
on those platforms.Either make it conditional on
have_sse/avx2
, or don't set any-mno-*
flag at all, why bother?The text was updated successfully, but these errors were encountered: