Commit fc0c172
Introduce 3.14t CinderX build
Summary:
Gives us a working build of 3.14t + CinderX with no actual support for FT (we don't even provide the FT flag to the module yet). With this change we get to the point we can build + run a very basic smoke test with and without JIT.
The work is more than just adding Buck build targets because once we have `Py_GIL_DISABLED` things start breaking due to changes in internal features that we depend on. E.g. the reference counting fields of `PyObject` have changed. To help with this we now have a whole new `borrowed-3.14.free-threading.c.template` (which isn't called 3.14t for Buck-related reasons).
Some stuff here we were going to need to fix anyway, but most implementation is incomplete so I've filled tasks for all the todos.
Reviewed By: alexmalyshev
Differential Revision: D90686232
fbshipit-source-id: 03b2961422a8ab0c7565adf3ab2ef4872f34d3f31 parent b81289d commit fc0c172
23 files changed
Lines changed: 9715 additions & 47 deletions
File tree
- cinderx
- Common
- Immortalize
- Interpreter/3.14
- Includes
- Jit
- codegen
- lir
- RuntimeTests
- TestScripts
- UpstreamBorrow
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
13 | 27 | | |
14 | 28 | | |
15 | 29 | | |
16 | 30 | | |
17 | 31 | | |
18 | 32 | | |
19 | 33 | | |
| 34 | + | |
20 | 35 | | |
21 | 36 | | |
22 | 37 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
78 | 84 | | |
79 | 85 | | |
80 | 86 | | |
| |||
95 | 101 | | |
96 | 102 | | |
97 | 103 | | |
| 104 | + | |
98 | 105 | | |
99 | 106 | | |
| 107 | + | |
100 | 108 | | |
101 | 109 | | |
102 | 110 | | |
| |||
112 | 120 | | |
113 | 121 | | |
114 | 122 | | |
115 | | - | |
116 | 123 | | |
| 124 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9445 | 9445 | | |
9446 | 9446 | | |
9447 | 9447 | | |
| 9448 | + | |
| 9449 | + | |
| 9450 | + | |
| 9451 | + | |
| 9452 | + | |
| 9453 | + | |
| 9454 | + | |
9448 | 9455 | | |
9449 | 9456 | | |
9450 | 9457 | | |
| |||
9457 | 9464 | | |
9458 | 9465 | | |
9459 | 9466 | | |
| 9467 | + | |
| 9468 | + | |
| 9469 | + | |
| 9470 | + | |
9460 | 9471 | | |
9461 | 9472 | | |
9462 | 9473 | | |
| |||
11556 | 11567 | | |
11557 | 11568 | | |
11558 | 11569 | | |
| 11570 | + | |
| 11571 | + | |
| 11572 | + | |
| 11573 | + | |
| 11574 | + | |
| 11575 | + | |
| 11576 | + | |
| 11577 | + | |
| 11578 | + | |
| 11579 | + | |
| 11580 | + | |
| 11581 | + | |
| 11582 | + | |
| 11583 | + | |
11559 | 11584 | | |
11560 | 11585 | | |
11561 | 11586 | | |
| |||
11572 | 11597 | | |
11573 | 11598 | | |
11574 | 11599 | | |
| 11600 | + | |
| 11601 | + | |
11575 | 11602 | | |
11576 | | - | |
| 11603 | + | |
11577 | 11604 | | |
| 11605 | + | |
| 11606 | + | |
11578 | 11607 | | |
11579 | 11608 | | |
11580 | 11609 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
469 | 482 | | |
470 | 483 | | |
471 | 484 | | |
472 | 485 | | |
473 | 486 | | |
474 | 487 | | |
475 | 488 | | |
| 489 | + | |
476 | 490 | | |
477 | 491 | | |
478 | 492 | | |
479 | 493 | | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
480 | 500 | | |
481 | 501 | | |
482 | 502 | | |
483 | 503 | | |
| 504 | + | |
484 | 505 | | |
485 | 506 | | |
486 | 507 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
| |||
171 | 173 | | |
172 | 174 | | |
173 | 175 | | |
| 176 | + | |
174 | 177 | | |
175 | 178 | | |
176 | 179 | | |
| |||
358 | 361 | | |
359 | 362 | | |
360 | 363 | | |
| 364 | + | |
| 365 | + | |
361 | 366 | | |
362 | 367 | | |
363 | 368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
149 | 156 | | |
150 | 157 | | |
151 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
5 | 11 | | |
6 | 12 | | |
7 | 13 | | |
| |||
313 | 319 | | |
314 | 320 | | |
315 | 321 | | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
316 | 329 | | |
317 | 330 | | |
318 | 331 | | |
319 | 332 | | |
320 | | - | |
| 333 | + | |
321 | 334 | | |
322 | 335 | | |
323 | 336 | | |
| |||
0 commit comments