Closed SimonRit closed 2 years ago
@hjmjohnson @jcfr CC
This is currently preventing generation of wheels.
https://github.com/InsightSoftwareConsortium/ITK/pull/3303 seems to be related. The file in my build tree is pyBasePython.py
instead of pyBase.py
.
I'm trying to figure out what the correct answer is. I've been debugging this all day today. It is quite frustrating that the rebuilds take 20 minutes each, and the wrapping is still very very fragile.
@SimonRit I'm investigating this now. can you help me identify what the following two lines are for
-DITKPythonPackage_ITK_BINARY_REUSE:BOOL=OFF \
-DITKPythonPackage_WHEEL_NAME:STRING="itk" \
I cannot find these strings in any cmake files in the ITK tree.
Thanks for the hard work. I have tried to mimick with this script what's done in https://github.com/InsightSoftwareConsortium/ITKPythonPackage/blob/master/scripts/internal/manylinux-build-wheels.sh#L78-L79. According to git blame
, @jcfr might know?
-DITKPythonPackage_ITK_BINARY_REUSE:BOOL=OFF \
-DITKPythonPackage_WHEEL_NAME:STRING="itk" \
These are part of the packaging of the Python wheels in the ITKPythonPackage repository.
However, the install rule issues can be uncovered just by installing into a temporary test prefix. For example,
DESTDIR=/tmp/itk-test-prefix ninja install
rebuilds take 20 minutes each,
Excited for your fix in #3303 to get us back to incremental builds.
I have high hopes for C++ module header units. More work to be done, hopefully we can build the wheels with GitHub Actions on this repository. Good discussions with NumFOCUS today -- good opportunities for CI support there, too.
Fixed by #3303, thanks @hjmjohnson!
Description
Installation of a local compilation of Python wrappings fails with the following message
Steps to Reproduce
I am using the following bash command:
Expected behavior
Installation without error.
Actual behavior
Installation with error reported above
Reproducibility
100%
Versions
ITK and RTK master branches.
Environment
Linux Suse, gcc 7.5.0
Additional Information