8000 Add back Python/ include · python/cpython@4d3e207 · GitHub
[go: up one dir, main page]

Skip to content
10000

Commit 4d3e207

Browse files
committed
Add back Python/ include
1 parent c33c78f commit 4d3e207

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Tools/jit/_targets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ async def _compile(
115115
f"-I{CPYTHON / 'Include'}",
116116
f"-I{CPYTHON / 'Include' / 'internal'}",
117117
f"-I{CPYTHON / 'Include' / 'internal' / 'mimalloc'}",
118+
f"-I{CPYTHON / 'Python'}",
118119
"-O3",
119120
"-c",
120121
"-fno-asynchronous-unwind-tables",

Tools/jit/template.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include "pycore_setobject.h"
1414
#include "pycore_sliceobject.h"
1515

16-
#include "Python/ceval_macros.h"
16+
#include "ceval_macros.h"
1717

1818
#undef CURRENT_OPARG
1919
#define CURRENT_OPARG() (_oparg)
@@ -70,7 +70,7 @@ _JIT_ENTRY(_PyInterpreterFrame *frame, PyObject **stack_pointer, PyThreadState *
7070
PATCH_JUMP(_JIT_TOP);
7171
}
7272
switch (opcode) {
73-
#include "Python/executor_cases.c.h"
73+
#include "executor_cases.c.h"
7474
default:
7575
Py_UNREACHABLE();
7676
}

0 commit comments

Comments
 (0)
0