gh-140454: Normalize the JIT stencils filename on Linux to avoid mismatches between the Makefile and the generator (#140823)

This commit is contained in:
Miro Hrončok 2025-11-04 23:29:15 +01:00 committed by GitHub
parent d81e1ef0f3
commit d5b00c74b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 4 deletions

View file

@ -0,0 +1,3 @@
When building the JIT, match the jit_stencils filename expectations in
Makefile with the generator script. This avoid needless JIT recompilation
during ``make install``.

4
configure generated vendored
View file

@ -34327,10 +34327,10 @@ else case e in #(
JIT_STENCILS_H="jit_stencils-x86_64-pc-windows-msvc.h"
;;
aarch64-*-linux-gnu)
JIT_STENCILS_H="jit_stencils-$host.h"
JIT_STENCILS_H="jit_stencils-aarch64-unknown-linux-gnu.h"
;;
x86_64-*-linux-gnu)
JIT_STENCILS_H="jit_stencils-$host.h"
JIT_STENCILS_H="jit_stencils-x86_64-unknown-linux-gnu.h"
;;
esac ;;
esac

View file

@ -8219,10 +8219,10 @@ AS_VAR_IF([enable_experimental_jit], [no],
JIT_STENCILS_H="jit_stencils-x86_64-pc-windows-msvc.h"
;;
aarch64-*-linux-gnu)
JIT_STENCILS_H="jit_stencils-$host.h"
JIT_STENCILS_H="jit_stencils-aarch64-unknown-linux-gnu.h"
;;
x86_64-*-linux-gnu)
JIT_STENCILS_H="jit_stencils-$host.h"
JIT_STENCILS_H="jit_stencils-x86_64-unknown-linux-gnu.h"
;;
esac])