Skip to content

Commit b359056

Browse files
Fix make file to check for wildcard stencils
1 parent d591b5e commit b359056

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

Makefile.pre.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3135,7 +3135,7 @@ JIT_DEPS = \
31353135
jit_stencils.h: $(JIT_DEPS)
31363136
@REGEN_JIT_COMMAND@
31373137

3138-
Python/jit.o: $(srcdir)/Python/jit.c @JIT_STENCILS_H@
3138+
Python/jit.o: $(srcdir)/Python/jit.c jit_stencils.h $(wildcard jit_stencils-*.h)
31393139
$(CC) -c $(PY_CORE_CFLAGS) -o $@ $<
31403140

31413141
.PHONY: regen-jit
@@ -3233,7 +3233,7 @@ clean-retain-profile: pycremoval
32333233
-rm -rf Python/deepfreeze
32343234
-rm -f Python/frozen_modules/*.h
32353235
-rm -f Python/frozen_modules/MANIFEST
3236-
-rm -f jit_stencils.h
3236+
-rm -f jit_stencils.h jit_stencils-*.h
32373237
-find build -type f -a ! -name '*.gc??' -exec rm -f {} ';'
32383238
-rm -f Include/pydtrace_probes.h
32393239
-rm -f profile-gen-stamp

configure

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2780,13 +2780,11 @@ AS_VAR_IF([jit_flags],
27802780
[AS_VAR_APPEND([CFLAGS_NODIST], [" $jit_flags"])
27812781
AS_VAR_SET([REGEN_JIT_COMMAND],
27822782
["\$(PYTHON_FOR_REGEN) \$(srcdir)/Tools/jit/build.py ${ARCH_TRIPLES:-$host} --output-dir . --pyconfig-dir . --cflags=\"$CFLAGS_JIT\""])
2783-
AS_VAR_SET([JIT_STENCILS_H], ["jit_stencils.h"])
27842783
AS_VAR_IF([Py_DEBUG],
27852784
[true],
27862785
[AS_VAR_APPEND([REGEN_JIT_COMMAND], [" --debug"])],
27872786
[])])
27882787
AC_SUBST([REGEN_JIT_COMMAND])
2789-
AC_SUBST([JIT_STENCILS_H])
27902788
AC_MSG_RESULT([$tier2_flags $jit_flags])
27912789

27922790
if test "$disable_gil" = "yes" -a "$enable_experimental_jit" != "no"; then

0 commit comments

Comments
 (0)