You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minimal, reproducible code sample, a copy-pastable example if possible
Build in arm
Problem description
The code in setup.py does not seem to consider installing numcodecs in arm.
ifhave_cflags:
# respect compiler options set by userpasselifos.name=='posix':
ifdisable_sse2:
base_compile_args.append('-mno-sse2')
elifhave_sse2:
base_compile_args.append('-msse2')
ifdisable_avx2:
base_compile_args.append('-mno-avx2')
elifhave_avx2:
base_compile_args.append('-mavx2')
When there is no CFLAGS environmental variable defined, it will always add flags about sse2 and avx2, but all the four flags -mno-sse2, -msse2, -mno-avx2, and -mavx2 are not supported in linux/arm64 architecture. To build it successfully, I have to add some cflags mannually to ignore appending the flags.
Version and installation information
Please provide the following:
Value of numcodecs.__version__: latest
Version of Python interpreter: 3.8
Operating system (Linux/Windows/Mac): Linux
How NumCodecs was installed (e.g., "using pip into virtual environment", or "using conda"): pip install
The text was updated successfully, but these errors were encountered:
Minimal, reproducible code sample, a copy-pastable example if possible
Build in arm
Problem description
The code in
setup.py
does not seem to consider installing numcodecs in arm.When there is no
CFLAGS
environmental variable defined, it will always add flags about sse2 and avx2, but all the four flags-mno-sse2
,-msse2
,-mno-avx2
, and-mavx2
are not supported in linux/arm64 architecture. To build it successfully, I have to add some cflags mannually to ignore appending the flags.Version and installation information
Please provide the following:
numcodecs.__version__
: latestThe text was updated successfully, but these errors were encountered: