Repository navigation
Commit bb30722
committed
pythongh-156109: Make non-framework iOS builds self-consistent
A non-framework iOS build has no framework for extension modules to link
against, and is statically linked into the app binary, so it cannot load
extension modules at runtime. Mirror what WASI already does for the same
reason:
* force MODULE_BUILDTYPE=static for iOS builds without a framework, and
error out if MODULE_BUILDTYPE=shared was requested explicitly;
* mark the test modules that must be built as shared libraries
(see Modules/Setup.stdlib.in) as unavailable, so that the build no
longer requires --disable-test-modules.
Framework builds are unaffected. Document that this configuration does
not support loadable extension modules or binary wheels.
configure was edited by hand; it needs to be regenerated with the pinned
autoconf container before merging.1 parent fccc461 commit bb30722
5 files changed
Lines changed: 87 additions & 6 deletions
File tree
- Doc/using
- Misc/NEWS.d/next/Build
- Platforms/Apple/iOS
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1338 | 1338 | | |
1339 | 1339 | | |
1340 | 1340 | | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
1341 | 1357 | | |
1342 | 1358 | | |
1343 | 1359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
95 | 110 | | |
96 | 111 | | |
97 | 112 | | |
| |||
113 | 128 | | |
114 | 129 | | |
115 | 130 | | |
116 | | - | |
117 | | - | |
118 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
119 | 135 | | |
120 | 136 | | |
121 | 137 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8308 | 8308 | | |
8309 | 8309 | | |
8310 | 8310 | | |
| 8311 | + | |
| 8312 | + | |
| 8313 | + | |
| 8314 | + | |
| 8315 | + | |
| 8316 | + | |
| 8317 | + | |
| 8318 | + | |
| 8319 | + | |
| 8320 | + | |
| 8321 | + | |
| 8322 | + | |
| 8323 | + | |
| 8324 | + | |
| 8325 | + | |
8311 | 8326 | | |
8312 | 8327 | | |
8313 | 8328 | | |
| |||
8386 | 8401 | | |
8387 | 8402 | | |
8388 | 8403 | | |
| 8404 | + | |
| 8405 | + | |
| 8406 | + | |
| 8407 | + | |
| 8408 | + | |
| 8409 | + | |
| 8410 | + | |
8389 | 8411 | | |
8390 | 8412 | | |
8391 | 8413 | | |
| |||
0 commit comments