You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ITKPythonBuilds release 5.3.0 doesn't include a build for manylinux2014_aarch64. How would I go about if I wanted to build a module for an aarch64 system running Ubuntu 18.04 with glibc 2.7?
I've also tried without the "cp39" argument but it fails at the same spot. Or do you know if another image of manylinux2014 is better suited? I used the one from the same date as in the Release.md.
Use the latest ITKPythonPackage release, which was recently updated.
The message means SWIG binary was built with a newer manylinux version, which is why it requires newer GLIBCXX. The solution is to build SWIG from source, then set the CMake variables ITK_USE_SYSTEM_SWIG to ON and SWIG_EXECUTABLE to the path to the swig binary. See:
A recent bison is also required. I had to build from source, if I recall correctly. You can get it from here: https://ftp.gnu.org/gnu/bison/. It is an old-school autotools build.
Please consider contributing the new swig binary if this is something you will want to update in the future.
Activity
thewtex commentedon Apr 9, 2024
Hi there @john-bergelin ,
There are manylinux2014 and musl Linux aarch64 images here:
https://quay.io/organization/pypa
Python packages built with these toolchains should work on an Ubuntu 18.04 system with glibc 2.7.
More specifics, directed towards the 5.4rc3 packages, on how the manylinux 2_28 aarch64 packages are built can be found here:
https://github.com/InsightSoftwareConsortium/ITK/pull/4566/files
john-bergelin commentedon Apr 18, 2024
Hi @thewtex,
Thanks for pointing me in the right direction!
I've tried building the python packages a couple of times now with these steps:
But it always fails when trying to generate iktFixedArrayPython with this message:
checking libstdc++.so.6 gives this:
Any ideas on how I can add the other versions?
I've also tried without the "cp39" argument but it fails at the same spot. Or do you know if another image of manylinux2014 is better suited? I used the one from the same date as in the Release.md.
Cheers!
thewtex commentedon Apr 18, 2024
Hi @john-bergelin,
A few pointers:
release, which was recently updated.ITK_USE_SYSTEM_SWIGtoONandSWIG_EXECUTABLEto the path to theswigbinary. See:https://github.com/InsightSoftwareConsortium/ITK/blob/f383fe0a954620eccdaf69d649acf3fa5be8dc21/Wrapping/Generators/SwigInterface/CMakeLists.txt#L183-L231
A recent
bisonis also required. I had to build from source, if I recall correctly. You can get it from here: https://ftp.gnu.org/gnu/bison/. It is an old-school autotools build.Please consider contributing the new swig binary if this is something you will want to update in the future.