-
Notifications
You must be signed in to change notification settings - Fork 88
Description
I am running to the issue with core 2 for -march is not supported.
I have indicated the output below. Any workaround
`~/github/anvio master ❯ pip install datrie anvio 12:59:57
Collecting datrie
Using cached datrie-0.8.2.tar.gz (63 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: datrie
Building wheel for datrie (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for datrie (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
running bdist_wheel
running build
running build_clib
building 'datrie' library
creating build
creating build/temp.macosx-10.9-x86_64-cpython-310
creating build/temp.macosx-10.9-x86_64-cpython-310/libdatrie
creating build/temp.macosx-10.9-x86_64-cpython-310/libdatrie/datrie
/opt/homebrew/opt/llvm/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mh057/Software/miniforge3_x86/envs/anvio/include -fPIC -O2 -isystem /Users/mh057/Software/miniforge3_x86/envs/anvio/include -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/mh057/Software/miniforge3_x86/envs/anvio/include -I/opt/homebrew/opt/llvm/include -arch arm64 -Ilibdatrie -c libdatrie/datrie/alpha-map.c -o build/temp.macosx-10.9-x86_64-cpython-310/libdatrie/datrie/alpha-map.o
clang: error: unsupported argument 'core2' to option '-march='
error: command '/opt/homebrew/opt/llvm/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for datrie
Failed to build datrie
ERROR: Could not build wheels for datrie, which is required to install pyproject.toml-based projects
`