Skip to content

Commit d5b00c7

Browse files
authored
gh-140454: Normalize the JIT stencils filename on Linux to avoid mismatches between the Makefile and the generator (#140823)
1 parent d81e1ef commit d5b00c7

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
When building the JIT, match the jit_stencils filename expectations in
2+
Makefile with the generator script. This avoid needless JIT recompilation
3+
during ``make install``.

configure

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

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8219,10 +8219,10 @@ AS_VAR_IF([enable_experimental_jit], [no],
82198219
JIT_STENCILS_H="jit_stencils-x86_64-pc-windows-msvc.h"
82208220
;;
82218221
aarch64-*-linux-gnu)
8222-
JIT_STENCILS_H="jit_stencils-$host.h"
8222+
JIT_STENCILS_H="jit_stencils-aarch64-unknown-linux-gnu.h"
82238223
;;
82248224
x86_64-*-linux-gnu)
8225-
JIT_STENCILS_H="jit_stencils-$host.h"
8225+
JIT_STENCILS_H="jit_stencils-x86_64-unknown-linux-gnu.h"
82268226
;;
82278227
esac])
82288228

0 commit comments

Comments
 (0)