Skip to content

Missing SOABI in some cross-compiled builds on conda-forge #1068

Answered by henryiii
minrk asked this question in Q&A
Discussion options

You must be logged in to vote

Quick debugging question: what is SKBUILD_SOABI? That might be more reliable than CMake's Python_SOABI value (and we likely can more easily fix it if not). We compute it like this: https://github.com/scikit-build/scikit-build-core/blob/73fcab8bc009db723c3c5164f7a65396f2b86317/src/scikit_build_core/builder/sysconfig.py#L144. FindPython's SOABI and cross compiling has been discussed in the issue tracker, see https://gitlab.kitware.com/cmake/cmake/-/issues/25001, though this sounds like it might be an edge case bug that could be fixed.

My guess is that because the sysconfig import fails, it's falling back on a different path (probably distutils related), while when it passes, it's triggering…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@minrk
Comment options

Answer selected by minrk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants