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: {...@@ -385,32 +385,30 @@ const test_targets = blk: {
385 .link_libc = true,385 .link_libc = true,
386 },386 },
387387
388 // Similar to Thumb, we need long calls on Hexagon due to relocation range issues.
388 .{389 .{
389 .target = .{390 .target = std.Target.Query.parse(.{
390 .cpu_arch = .hexagon,391 .arch_os_abi = "hexagon-linux-none",
391 .os_tag = .linux,392 .cpu_features = "baseline+long_calls",
392 .abi = .none,393 }) catch unreachable,
393 },
394 // https://github.com/llvm/llvm-project/pull/111217394 // https://github.com/llvm/llvm-project/pull/111217
395 .skip_modules = &.{"std"},395 .skip_modules = &.{"std"},
396 },396 },
397 .{397 .{
398 .target = .{398 .target = std.Target.Query.parse(.{
399 .cpu_arch = .hexagon,399 .arch_os_abi = "hexagon-linux-musl",
400 .os_tag = .linux,400 .cpu_features = "baseline+long_calls",
401 .abi = .musl,401 }) catch unreachable,
402 },
403 .link_libc = true,402 .link_libc = true,
404 // https://github.com/llvm/llvm-project/pull/111217403 // https://github.com/llvm/llvm-project/pull/111217
405 .skip_modules = &.{"std"},404 .skip_modules = &.{"std"},
406 },405 },
407 // Currently crashes in qemu-hexagon.406 // Currently crashes in qemu-hexagon.
408 // .{407 // .{
409 // .target = .{408 // .target = std.Target.Query.parse(.{
410 // .cpu_arch = .hexagon,409 // .arch_os_abi = "hexagon-linux-musl",
411 // .os_tag = .linux,410 // .cpu_features = "baseline+long_calls",
412 // .abi = .musl,411 // }) catch unreachable,
413 // },
414 // .linkage = .dynamic,412 // .linkage = .dynamic,
415 // .link_libc = true,413 // .link_libc = true,
416 // // https://github.com/llvm/llvm-project/pull/111217414 // // https://github.com/llvm/llvm-project/pull/111217