Skip to content

Commit

Permalink
Fix mypyc build errors on newer manylinux2014_x86_64 images (#3272)
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
zsol authored Sep 15, 2022
1 parent 04bce6a commit d852af7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d852af7

Please sign in to comment.