From: Zsolt Dollenstein Date: Thu, 15 Sep 2022 20:08:26 +0000 (+0100) Subject: Fix mypyc build errors on newer manylinux2014_x86_64 images (#3272) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/d852af71672ce22646017e4ca7a8878ca7bdfe39?ds=sidebyside;hp=04bce6ad2ecf38656149fd261f01f84699cf0b6a 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`. --- diff --git a/pyproject.toml b/pyproject.toml index 566462c..a4c9c69 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"