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

Failed to build datrie unsupported core2 to -march #100

Open
hmamine opened this issue Feb 7, 2024 · 0 comments
Open

Failed to build datrie unsupported core2 to -march #100

hmamine opened this issue Feb 7, 2024 · 0 comments

Comments

@hmamine
Copy link

hmamine commented Feb 7, 2024

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
`

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