Skip to content

Commit b51c85d

Browse files
Remove redundant case
1 parent 9f51d6b commit b51c85d

File tree

3 files changed

+17
-25
lines changed

3 files changed

+17
-25
lines changed

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3130,7 +3130,7 @@ JIT_DEPS = \
31303130
@JIT_STENCILS_H@: $(JIT_DEPS)
31313131
@REGEN_JIT_COMMAND@
31323132

3133-
Python/jit.o: $(srcdir)/Python/jit.c @JIT_STENCILS_H@
3133+
Python/jit.o: $(srcdir)/Python/jit.c jit_stencils.h @JIT_STENCILS_H@
31343134
$(CC) -c $(PY_CORE_CFLAGS) -o $@ $<
31353135

31363136
.PHONY: regen-jit

configure

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

configure.ac

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8174,32 +8174,28 @@ PY_STDLIB_MOD([xxlimited], [test "$TEST_MODULES" = yes], [test "$ac_cv_func_dlop
81748174
PY_STDLIB_MOD([xxlimited_35], [test "$TEST_MODULES" = yes], [test "$ac_cv_func_dlopen" = yes])
81758175

81768176
# Determine JIT stencils header files based on target platform
8177-
JIT_STENCILS_H="jit_stencils.h"
8177+
JIT_STENCILS_H=""
81788178
case "$host" in
81798179
aarch64-apple-darwin*)
8180-
JIT_STENCILS_H="jit_stencils.h jit_stencils-aarch64-apple-darwin.h"
8180+
JIT_STENCILS_H="jit_stencils-aarch64-apple-darwin.h"
81818181
;;
81828182
x86_64-apple-darwin*)
8183-
JIT_STENCILS_H="jit_stencils.h jit_stencils-x86_64-apple-darwin.h"
8183+
JIT_STENCILS_H="jit_stencils-x86_64-apple-darwin.h"
81848184
;;
81858185
aarch64-pc-windows-msvc)
8186-
JIT_STENCILS_H="jit_stencils.h jit_stencils-aarch64-pc-windows-msvc.h"
8186+
JIT_STENCILS_H="jit_stencils-aarch64-pc-windows-msvc.h"
81878187
;;
81888188
i686-pc-windows-msvc)
8189-
JIT_STENCILS_H="jit_stencils.h jit_stencils-i686-pc-windows-msvc.h"
8189+
JIT_STENCILS_H="jit_stencils-i686-pc-windows-msvc.h"
81908190
;;
81918191
x86_64-pc-windows-msvc)
8192-
JIT_STENCILS_H="jit_stencils.h jit_stencils-x86_64-pc-windows-msvc.h"
8192+
JIT_STENCILS_H="jit_stencils-x86_64-pc-windows-msvc.h"
81938193
;;
81948194
aarch64-*-linux-gnu)
8195-
JIT_STENCILS_H="jit_stencils.h jit_stencils-$host.h"
8195+
JIT_STENCILS_H="jit_stencils-$host.h"
81968196
;;
81978197
x86_64-*-linux-gnu)
8198-
JIT_STENCILS_H="jit_stencils.h jit_stencils-$host.h"
8199-
;;
8200-
*)
8201-
# Unsupported platform - use generic header only
8202-
JIT_STENCILS_H="jit_stencils.h"
8198+
JIT_STENCILS_H="jit_stencils-$host.h"
82038199
;;
82048200
esac
82058201

0 commit comments

Comments
 (0)