Message396377
I am running macOS v11 (Big Sur) and using Xcode v12.1 (because this is the latest that includes SDK v10.15 rather than v11) to build a C extension. I'm using the older SDK because of 3rd party libraries that are not tested against the newer SDK.
This version of Xcode/SDK does not support universal2 binaries. However because _supports_arm64_builds() in _osx_support only tests the macOS version and not the SDK version it returns True which means that distutils does not call compiler_fixup() to remove the '-arch arm64'. The compilation then fails.
Should this work, or does Python v3.10 require SDK v11? |
|
Date |
User |
Action |
Args |
2021-06-23 00:52:48 | philthompson10 | set | recipients:
+ philthompson10, eric.araujo, dstufft |
2021-06-23 00:52:48 | philthompson10 | set | messageid: <1624409568.36.0.590312520398.issue44492@roundup.psfhosted.org> |
2021-06-23 00:52:48 | philthompson10 | link | issue44492 messages |
2021-06-23 00:52:47 | philthompson10 | create | |
|