-
Notifications
You must be signed in to change notification settings - Fork 263
CPython 3.5 manylinux s390x failed #658
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
Comments
It looks like lack of SSL library in docker image. Could You fix it using |
error msg is ERROR: Could not build wheels for cmake which use PEP 517 and cannot be installed directly |
These are being added soon, see scikit-build/cmake-python-distributions#130 - but for now, you can turn them off when building on s390x in your pyproject.yaml via a selector and use the built-in CMake in those images instead. |
(You should also be able to add the requirements for CMake to build from SDist, which also would fix it - I expect it's SSL that's missing?) |
Why are you shipping 3.5 + s390x? Shouldn't you start with 3.6? We are currently dropping 3.5 and 3.5 has already been removed from the manylinux images, including s390x images. |
3.5+s390x is auto build |
Okay, the next release will build only 3.6+, so just making sure you were not needing that specific version for something. |
Something roughly like this should work for your pyproject.toml until new wheels are released. I'm only guessing Ninja has similar issues. [build-system]
requires = [
"setuptools>=42",
"wheel",
"ninja; sys_platform != 'win32' and platform_machine != 's390x'",
"cmake>=3.12; platform_machine != 's390x'",
]
build-backend = "setuptools.build_meta" |
ninja is ok on aarch64, see build log here |
Oops, please replace aarch64 with s390x above. 😳 |
still failed with s390x, see log |
Only the build for CMake wheel was failing in the original log so I guess you can still rely on Ninja being built from source correctly and use the manylinux provided cmake: [build-system]
requires = [
"setuptools>=42",
"wheel",
"ninja; sys_platform != 'win32'",
"cmake>=3.12; platform_machine != 's390x'",
]
build-backend = "setuptools.build_meta" |
I just released CMake 3.20.2 on PyPI which contains Apple Silicon, S390x, and PowerPC builds now too (thanks to @mayeut). So this should "just work" now (though Ninja may still need some work). |
Closable, @caishanli? |
in testing now... |
still failed. see build log here |
@caishanli,
|
fixed by Tencent/ncnn#3396 which indeed includes a fix in |
Hi, I use cibuildwheel to build ncnn, build log is here, and workflow file is release-python.yml
The text was updated successfully, but these errors were encountered: