Fix mypyc build errors on newer manylinux2014_x86_64 images (#3272)
Make sure `gcc` is installed in the build env The mypyc build requires `gcc` to be installed even if it's being built with `clang`, otherwise `clang` fails to find `libgcc`.
This commit is contained in:
parent
04bce6ad2e
commit
d852af7167
@ -59,10 +59,8 @@ PIP_NO_BUILD_ISOLATION = "no"
|
||||
[tool.cibuildwheel.linux]
|
||||
before-build = [
|
||||
"pip install -r .github/mypyc-requirements.txt",
|
||||
"yum install -y clang",
|
||||
"yum install -y clang gcc",
|
||||
]
|
||||
# Newer images break the builds, not sure why. We'll need to investigate more later.
|
||||
manylinux-x86_64-image = "quay.io/pypa/manylinux2014_x86_64:2021-11-20-f410d11"
|
||||
|
||||
[tool.cibuildwheel.linux.environment]
|
||||
BLACK_USE_MYPYC = "1"
|
||||
|
Loading…
Reference in New Issue
Block a user