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

Installation problem on recent mac #347

Closed
keflavich opened this issue Mar 10, 2023 · 1 comment
Closed

Installation problem on recent mac #347

keflavich opened this issue Mar 10, 2023 · 1 comment

Comments

@keflavich
Copy link
Contributor

This is almost certainly not a reproject issue exclusively, but I'm encountering it only for reproject and I don't know where else to ask - but maybe you've seen it?

I try to install the latest reproject and get:

  ERROR: Failed building wheel for numcodecs
Successfully built reproject
Failed to build numcodecs
ERROR: Could not build wheels for numcodecs, which is required to install pyproject.toml-based projects

which follows a long traceback:

      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/adam/mambaforge/include -arch arm64 -fPIC -O2 -isystem /Users/adam/mambaforge/include -arch arm64 -DHAVE_LZ4=1 -DHAVE_ZLIB=1 -DHAVE_ZSTD=1 -Ic-blosc/blosc -Ic-blosc/internal-complibs/lz4-1.9.3 -Ic-blosc/internal-complibs/zstd-1.4.8 -Ic-blosc/internal-complibs/zlib-1.2.8 -Ic-blosc/internal-complibs/zstd-1.4.8/compress -Ic-blosc/internal-complibs/zstd-1.4.8/dictBuilder -Ic-blosc/internal-complibs/zstd-1.4.8/decompress -Ic-blosc/internal-complibs/zstd-1.4.8/legacy -Ic-blosc/internal-complibs/zstd-1.4.8/common -Ic-blosc/internal-complibs/zstd-1.4.8/dll -Ic-blosc/internal-complibs/zstd-1.4.8/deprecated -Ic-blosc/internal-complibs/zstd-1.4.8/dll/example -I/Users/adam/mambaforge/include/python3.10 -c c-blosc/blosc/bitshuffle-sse2.c -o build/temp.macosx-11.0-arm64-cpython-310/c-blosc/blosc/bitshuffle-sse2.o -stdlib=libc++ -DSHUFFLE_SSE2_ENABLED
      c-blosc/blosc/bitshuffle-sse2.c:20:4: error: SSE2 is not supported by the target architecture/platform and/or this compiler.
        #error SSE2 is not supported by the target architecture/platform and/or this compiler.
         ^
      In file included from c-blosc/blosc/bitshuffle-sse2.c:23:
      In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/include/emmintrin.h:13:
      In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/include/xmmintrin.h:13:
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/include/mmintrin.h:50:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
          return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I can't make sense of any of this. My best guess is there's a disagreement between the libraries and the compiler.

@keflavich
Copy link
Contributor Author

OK this is probably zarr-developers/numcodecs#315. Closing as noise.

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

1 participant