Skip to content

Commit 15b13d5

Browse files
committed
Fixup according to review
1 parent f5f5274 commit 15b13d5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tools/jit/_targets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ def get_target(host: str) -> _COFF32 | _COFF64 | _ELF | _MachO:
575575
optimizer = _optimizers.OptimizerAArch64
576576
target = _COFF64(host, condition, args=args, optimizer=optimizer)
577577
elif re.fullmatch(r"aarch64-.*-linux-gnu", host):
578-
host = "aarch64-pc-linux-gnu"
578+
host = "aarch64-unknown-linux-gnu"
579579
condition = "defined(__aarch64__) && defined(__linux__)"
580580
# -mno-outline-atomics: Keep intrinsics from being emitted.
581581
args = ["-fpic", "-mno-outline-atomics"]
@@ -600,7 +600,7 @@ def get_target(host: str) -> _COFF32 | _COFF64 | _ELF | _MachO:
600600
optimizer = _optimizers.OptimizerX86
601601
target = _COFF64(host, condition, args=args, optimizer=optimizer)
602602
elif re.fullmatch(r"x86_64-.*-linux-gnu", host):
603-
host = "x86_64-pc-linux-gnu"
603+
host = "x86_64-unknown-linux-gnu"
604604
condition = "defined(__x86_64__) && defined(__linux__)"
605605
args = ["-fno-pic", "-mcmodel=medium", "-mlarge-data-threshold=0"]
606606
optimizer = _optimizers.OptimizerX86

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8218,10 +8218,10 @@ AS_VAR_IF([enable_experimental_jit], [no],
82188218
JIT_STENCILS_H="jit_stencils-x86_64-pc-windows-msvc.h"
82198219
;;
82208220
aarch64-*-linux-gnu)
8221-
JIT_STENCILS_H="jit_stencils-$host.h"
8221+
JIT_STENCILS_H="jit_stencils-aarch64-pc-linux-gnu.h"
82228222
;;
82238223
x86_64-*-linux-gnu)
8224-
JIT_STENCILS_H="jit_stencils-$host.h"
8224+
JIT_STENCILS_H="jit_stencils-x86_64-pc-linux-gnu.h"
82258225
;;
82268226
esac])
82278227

0 commit comments

Comments
 (0)