cibuildwheel icon indicating copy to clipboard operation
cibuildwheel copied to clipboard

Support for CLANG 17 on manylinux2014 (aarch64)

Open Laky-64 opened this issue 11 months ago • 4 comments

Hello,

I'm in need of using CLANG 17 on the manylinux2014 platform for the aarch64 architecture. This is essential for my project's requirements. Is it possible to add support for CLANG 17 specifically for the aarch64 architecture within the cibuildwheel environment? I would appreciate guidance or any available solutions to configure cibuildwheel accordingly.

Thank you for your consideration and assistance.

Laky-64 avatar Sep 05 '23 12:09 Laky-64

This isn't possible because manylinux determines which compilers are supported not cibuildwheel.

makslevental avatar Sep 06 '23 22:09 makslevental

It's possible to make your own manylinux image and use that via the CIBW_MANYLINUX_IMAGE options. I believe @Czaki does that for his imagecodecs build, though i'm not 100% sure of the specifics.

Alternatively, if the installation is quick, you could add the command in CIBW_BEFORE_ALL to install clang17.

joerick avatar Sep 07 '23 09:09 joerick

I prebuilt libraries required for imagecodecs to speedup CI time (building libraries take half hour). I do not play with compiler but I think it should be doable.

It may be not trivial as it needs to link against a proper libraries to pass auditwheel.

Czaki avatar Sep 07 '23 12:09 Czaki

Well, imagecodecs is a separate thing, the problem is to install clang17 more than anything else, it's a difficult challenge to do it

Laky-64 avatar Sep 13 '23 00:09 Laky-64