From c974590525d6644effa1caa5d5202bfdc239a60f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Mon, 21 Apr 2025 06:23:55 +0200 Subject: [PATCH 1/4] test: Remove mips(64)(el)-freebsd targets from llvm_targets. These were dropped in FreeBSD 14 and we're not going to add e.g. libc support for them anyway, so they're effectively dead to us. --- test/llvm_targets.zig | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/llvm_targets.zig b/test/llvm_targets.zig index 8e9a070d93..c288054c32 100644 --- a/test/llvm_targets.zig +++ b/test/llvm_targets.zig @@ -125,8 +125,6 @@ const targets = [_]std.Target.Query{ // .{ .cpu_arch = .m68k, .os_tag = .netbsd, .abi = .none }, // .{ .cpu_arch = .m68k, .os_tag = .rtems, .abi = .none }, - .{ .cpu_arch = .mips, .os_tag = .freebsd, .abi = .eabi }, - .{ .cpu_arch = .mips, .os_tag = .freebsd, .abi = .eabihf }, .{ .cpu_arch = .mips, .os_tag = .freestanding, .abi = .eabi }, .{ .cpu_arch = .mips, .os_tag = .freestanding, .abi = .eabihf }, .{ .cpu_arch = .mips, .os_tag = .linux, .abi = .eabi }, @@ -140,8 +138,6 @@ const targets = [_]std.Target.Query{ .{ .cpu_arch = .mips, .os_tag = .rtems, .abi = .eabi }, .{ .cpu_arch = .mips, .os_tag = .rtems, .abi = .eabihf }, - .{ .cpu_arch = .mipsel, .os_tag = .freebsd, .abi = .eabi }, - .{ .cpu_arch = .mipsel, .os_tag = .freebsd, .abi = .eabihf }, .{ .cpu_arch = .mipsel, .os_tag = .freestanding, .abi = .eabi }, .{ .cpu_arch = .mipsel, .os_tag = .freestanding, .abi = .eabihf }, .{ .cpu_arch = .mipsel, .os_tag = .linux, .abi = .eabi }, @@ -155,7 +151,6 @@ const targets = [_]std.Target.Query{ .{ .cpu_arch = .mipsel, .os_tag = .rtems, .abi = .eabi }, .{ .cpu_arch = .mipsel, .os_tag = .rtems, .abi = .eabihf }, - .{ .cpu_arch = .mips64, .os_tag = .freebsd, .abi = .none }, .{ .cpu_arch = .mips64, .os_tag = .freestanding, .abi = .none }, .{ .cpu_arch = .mips64, .os_tag = .linux, .abi = .gnuabi64 }, .{ .cpu_arch = .mips64, .os_tag = .linux, .abi = .gnuabin32 }, @@ -165,7 +160,6 @@ const targets = [_]std.Target.Query{ .{ .cpu_arch = .mips64, .os_tag = .netbsd, .abi = .none }, .{ .cpu_arch = .mips64, .os_tag = .openbsd, .abi = .none }, - .{ .cpu_arch = .mips64el, .os_tag = .freebsd, .abi = .none }, .{ .cpu_arch = .mips64el, .os_tag = .freestanding, .abi = .none }, .{ .cpu_arch = .mips64el, .os_tag = .linux, .abi = .gnuabi64 }, .{ .cpu_arch = .mips64el, .os_tag = .linux, .abi = .gnuabin32 }, From d9122e9f1543b6a4999aff3ce8dbf587811ecb2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 26 Apr 2025 22:50:43 +0200 Subject: [PATCH 2/4] test: Remove some thumb(eb)-*-* targets from llvm_targets. There is no evidence that these operating systems support pure Thumb, not even just in userland. --- test/llvm_targets.zig | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test/llvm_targets.zig b/test/llvm_targets.zig index c288054c32..494fabd446 100644 --- a/test/llvm_targets.zig +++ b/test/llvm_targets.zig @@ -263,33 +263,22 @@ const targets = [_]std.Target.Query{ .{ .cpu_arch = .thumb, .os_tag = .freebsd, .abi = .eabihf }, .{ .cpu_arch = .thumb, .os_tag = .freestanding, .abi = .eabi }, .{ .cpu_arch = .thumb, .os_tag = .freestanding, .abi = .eabihf }, - .{ .cpu_arch = .thumb, .os_tag = .haiku, .abi = .eabi }, - .{ .cpu_arch = .thumb, .os_tag = .haiku, .abi = .eabihf }, - .{ .cpu_arch = .thumb, .os_tag = .linux, .abi = .androideabi }, .{ .cpu_arch = .thumb, .os_tag = .linux, .abi = .eabi }, .{ .cpu_arch = .thumb, .os_tag = .linux, .abi = .eabihf }, .{ .cpu_arch = .thumb, .os_tag = .linux, .abi = .musleabi }, .{ .cpu_arch = .thumb, .os_tag = .linux, .abi = .musleabihf }, - .{ .cpu_arch = .thumb, .os_tag = .netbsd, .abi = .eabi }, - .{ .cpu_arch = .thumb, .os_tag = .netbsd, .abi = .eabihf }, - .{ .cpu_arch = .thumb, .os_tag = .openbsd, .abi = .eabi }, - .{ .cpu_arch = .thumb, .os_tag = .openbsd, .abi = .eabihf }, .{ .cpu_arch = .thumb, .os_tag = .rtems, .abi = .eabi }, .{ .cpu_arch = .thumb, .os_tag = .rtems, .abi = .eabihf }, .{ .cpu_arch = .thumb, .os_tag = .windows, .abi = .gnu }, .{ .cpu_arch = .thumb, .os_tag = .windows, .abi = .itanium }, .{ .cpu_arch = .thumb, .os_tag = .windows, .abi = .msvc }, - .{ .cpu_arch = .thumbeb, .os_tag = .freebsd, .abi = .eabi }, - .{ .cpu_arch = .thumbeb, .os_tag = .freebsd, .abi = .eabihf }, .{ .cpu_arch = .thumbeb, .os_tag = .freestanding, .abi = .eabi }, .{ .cpu_arch = .thumbeb, .os_tag = .freestanding, .abi = .eabihf }, .{ .cpu_arch = .thumbeb, .os_tag = .linux, .abi = .eabi }, .{ .cpu_arch = .thumbeb, .os_tag = .linux, .abi = .eabihf }, .{ .cpu_arch = .thumbeb, .os_tag = .linux, .abi = .musleabi }, .{ .cpu_arch = .thumbeb, .os_tag = .linux, .abi = .musleabihf }, - .{ .cpu_arch = .thumbeb, .os_tag = .netbsd, .abi = .eabi }, - .{ .cpu_arch = .thumbeb, .os_tag = .netbsd, .abi = .eabihf }, .{ .cpu_arch = .thumbeb, .os_tag = .rtems, .abi = .eabi }, .{ .cpu_arch = .thumbeb, .os_tag = .rtems, .abi = .eabihf }, From 962b49174528171e47d6e1e8299689fdbeba770f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sun, 27 Apr 2025 01:05:54 +0200 Subject: [PATCH 3/4] test: Remove sparc-solaris and x86-solaris from llvm_targets. These are no longer supported. --- test/llvm_targets.zig | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/llvm_targets.zig b/test/llvm_targets.zig index 494fabd446..6de118a03e 100644 --- a/test/llvm_targets.zig +++ b/test/llvm_targets.zig @@ -247,7 +247,6 @@ const targets = [_]std.Target.Query{ // .{ .cpu_arch = .sparc, .os_tag = .linux, .abi = .none }, // .{ .cpu_arch = .sparc, .os_tag = .netbsd, .abi = .none }, // .{ .cpu_arch = .sparc, .os_tag = .rtems, .abi = .none }, - // .{ .cpu_arch = .sparc, .os_tag = .solaris, .abi = .none }, .{ .cpu_arch = .sparc64, .os_tag = .freestanding, .abi = .none }, .{ .cpu_arch = .sparc64, .os_tag = .haiku, .abi = .none }, @@ -308,7 +307,6 @@ const targets = [_]std.Target.Query{ .{ .cpu_arch = .x86, .os_tag = .netbsd, .abi = .none }, .{ .cpu_arch = .x86, .os_tag = .openbsd, .abi = .none }, .{ .cpu_arch = .x86, .os_tag = .rtems, .abi = .none }, - .{ .cpu_arch = .x86, .os_tag = .solaris, .abi = .none }, .{ .cpu_arch = .x86, .os_tag = .uefi, .abi = .none }, .{ .cpu_arch = .x86, .os_tag = .windows, .abi = .cygnus }, .{ .cpu_arch = .x86, .os_tag = .windows, .abi = .gnu }, From b59f7f072674ab2d48169e7fe4980f8d3f72a18e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sun, 27 Apr 2025 01:08:41 +0200 Subject: [PATCH 4/4] test: Remove sparc(64)-illumos from llvm_targets. Illumos dropped support for SPARC many years ago. --- test/llvm_targets.zig | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/llvm_targets.zig b/test/llvm_targets.zig index 6de118a03e..33d7be42a9 100644 --- a/test/llvm_targets.zig +++ b/test/llvm_targets.zig @@ -242,7 +242,6 @@ const targets = [_]std.Target.Query{ // .{ .cpu_arch = .s390x, .os_tag = .zos, .abi = .none }, // .{ .cpu_arch = .sparc, .os_tag = .freestanding, .abi = .none }, - // .{ .cpu_arch = .sparc, .os_tag = .illumos, .abi = .none }, // .{ .cpu_arch = .sparc, .os_tag = .linux, .abi = .gnu }, // .{ .cpu_arch = .sparc, .os_tag = .linux, .abi = .none }, // .{ .cpu_arch = .sparc, .os_tag = .netbsd, .abi = .none }, @@ -250,7 +249,6 @@ const targets = [_]std.Target.Query{ .{ .cpu_arch = .sparc64, .os_tag = .freestanding, .abi = .none }, .{ .cpu_arch = .sparc64, .os_tag = .haiku, .abi = .none }, - .{ .cpu_arch = .sparc64, .os_tag = .illumos, .abi = .none }, .{ .cpu_arch = .sparc64, .os_tag = .linux, .abi = .gnu }, .{ .cpu_arch = .sparc64, .os_tag = .linux, .abi = .none }, .{ .cpu_arch = .sparc64, .os_tag = .netbsd, .abi = .none },