authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-08-04 20:51:36+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-08-30 06:36:41+02:00
log0683e1564c7a4515eb0060a4c740eb6c0d922bb9
tree3984dc1abd895950c51d7397303e1ddcce462316
parentf1491129516af8eb780127c292ab9a1975a7d189
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: use long calls for hexagon-linux module tests


1 files changed, 13 insertions(+), 15 deletions(-)

test/tests.zig+13-15
......@@ -385,32 +385,30 @@ const test_targets = blk: {
385385 .link_libc = true,
386386 },
387387
388 // Similar to Thumb, we need long calls on Hexagon due to relocation range issues.
388389 .{
389 .target = .{
390 .cpu_arch = .hexagon,
391 .os_tag = .linux,
392 .abi = .none,
393 },
390 .target = std.Target.Query.parse(.{
391 .arch_os_abi = "hexagon-linux-none",
392 .cpu_features = "baseline+long_calls",
393 }) catch unreachable,
394394 // https://github.com/llvm/llvm-project/pull/111217
395395 .skip_modules = &.{"std"},
396396 },
397397 .{
398 .target = .{
399 .cpu_arch = .hexagon,
400 .os_tag = .linux,
401 .abi = .musl,
402 },
398 .target = std.Target.Query.parse(.{
399 .arch_os_abi = "hexagon-linux-musl",
400 .cpu_features = "baseline+long_calls",
401 }) catch unreachable,
403402 .link_libc = true,
404403 // https://github.com/llvm/llvm-project/pull/111217
405404 .skip_modules = &.{"std"},
406405 },
407406 // Currently crashes in qemu-hexagon.
408407 // .{
409 // .target = .{
410 // .cpu_arch = .hexagon,
411 // .os_tag = .linux,
412 // .abi = .musl,
413 // },
408 // .target = std.Target.Query.parse(.{
409 // .arch_os_abi = "hexagon-linux-musl",
410 // .cpu_features = "baseline+long_calls",
411 // }) catch unreachable,
414412 // .linkage = .dynamic,
415413 // .link_libc = true,
416414 // // https://github.com/llvm/llvm-project/pull/111217