Skip to content

Commit 7ac3442

Browse files
Use stencil path variable
1 parent f7b87b4 commit 7ac3442

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tools/jit/_targets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@ def build(self, out: pathlib.Path, *, force: bool = False) -> None:
201201
if darwin_index != -1:
202202
target = self.triple[: darwin_index + len("-darwin")]
203203

204-
jit_stencils = CPYTHON / "Tools" / "jit" / "stencils" / f"{target}.h"
204+
jit_stencils = TOOLS_JIT_STENCILS / f"{target}.h"
205205
stencil_groups = asyncio.run(self._build_stencils())
206-
jit_stencils_new = CPYTHON / "Tools" / "jit" / "stencils" / f"{target}.h.new"
206+
jit_stencils_new = TOOLS_JIT_STENCILS / f"{target}.h.new"
207207
try:
208208
with jit_stencils_new.open("w", newline="\n") as file:
209209
for line in _writer.dump(stencil_groups, self.known_symbols):

0 commit comments

Comments
 (0)