Skip to content

Commit ecf492f

Browse files
Update to use pc, since that is what it is it :)
1 parent c6f0390 commit ecf492f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/jit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
- target: aarch64-apple-darwin/clang
8686
architecture: aarch64
8787
runner: macos-14
88-
- target: x86_64-unknown-linux-gnu/gcc
88+
- target: x86_64-pc-linux-gnu/gcc
8989
architecture: x86_64
9090
runner: ubuntu-24.04
9191
- target: aarch64-unknown-linux-gnu/gcc

Makefile.pre.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3152,8 +3152,8 @@ else ifeq ($(HOST_GNU_TYPE), i686-pc-windows-msvc)
31523152
JIT_STENCIL_HEADER = jit_stencils-i686-pc-windows-msvc.h
31533153
else ifeq ($(HOST_GNU_TYPE), x86_64-pc-windows-msvc)
31543154
JIT_STENCIL_HEADER = jit_stencils-x86_64-pc-windows-msvc.h
3155-
else ifeq ($(HOST_GNU_TYPE), x86_64-unknown-linux-gnu)
3156-
JIT_STENCIL_HEADER = jit_stencils-x86_64-unknown-linux-gnu.h
3155+
else ifeq ($(HOST_GNU_TYPE), x86_64-pc-linux-gnu)
3156+
JIT_STENCIL_HEADER = jit_stencils-x86_64-pc-linux-gnu.h
31573157
else
31583158
$(error "Unsupported host triple: $(HOST_GNU_TYPE).")
31593159
endif

Tools/jit/_targets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ def get_target(host: str) -> _COFF32 | _COFF64 | _ELF | _MachO:
593593
optimizer = _optimizers.OptimizerX86
594594
target = _COFF64(host, condition, args=args, optimizer=optimizer)
595595
elif re.fullmatch(r"x86_64-.*-linux-gnu", host):
596-
host = "x86_64-unknown-linux-gnu"
596+
host = "x86_64-pcn-linux-gnu"
597597
condition = "defined(__x86_64__) && defined(__linux__)"
598598
args = ["-fno-pic", "-mcmodel=medium", "-mlarge-data-threshold=0"]
599599
optimizer = _optimizers.OptimizerX86

0 commit comments

Comments
 (0)