aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-08 23:56:19 +0900
committerOphestra <cat@gensokyo.uk>2026-05-08 23:56:19 +0900
commit2c08aa3674d77ffb0842d54aacd3108697923ca8 (patch)
tree68272103b90e96003a5e590735494d7427dd2382 /internal
parent1af73ae7b45306cfe07b6990fa65b8deb016cd44 (diff)
internal/rosa/glslang: disable broken arm64 tests
These just fail on arm64, so disable them. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
-rw-r--r--internal/rosa/glslang.go55
1 files changed, 52 insertions, 3 deletions
diff --git a/internal/rosa/glslang.go b/internal/rosa/glslang.go
index 702cebc0..5ed41922 100644
--- a/internal/rosa/glslang.go
+++ b/internal/rosa/glslang.go
@@ -132,6 +132,57 @@ func (t Toolchain) newSPIRVLLVMTranslator() (pkg.Artifact, string) {
version = "22.1.2"
checksum = "JZAaV5ewYcm-35YA_U2BM2IcsQouZtX1BLZR0zh2vSlfEXMsT5OCtY4Gh5RJkcGy"
)
+ skipChecks := []string{
+ // error: line 13: OpTypeCooperativeMatrixKHR Scope is limited to Workgroup and Subgroup
+ "cooperative_matrix_constant_null.spvasm",
+ }
+
+ switch arch {
+ case "arm64":
+ skipChecks = append(skipChecks,
+ // LLVM ERROR: unsupported calling convention
+ "DebugInfo/COFF/no-cus.ll",
+ "DebugInfo/Generic/2009-11-05-DeadGlobalVariable.ll",
+ "DebugInfo/Generic/2009-11-10-CurrentFn.ll",
+ "DebugInfo/Generic/2010-01-05-DbgScope.ll",
+ "DebugInfo/Generic/2010-03-12-llc-crash.ll",
+ "DebugInfo/Generic/2010-03-24-MemberFn.ll",
+ "DebugInfo/Generic/2010-04-19-FramePtr.ll",
+ "DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll",
+ "DebugInfo/Generic/2010-10-01-crash.ll",
+ "DebugInfo/Generic/PR20038.ll",
+ "DebugInfo/Generic/constant-pointers.ll",
+ "DebugInfo/Generic/dead-argument-order.ll",
+ "DebugInfo/Generic/debug-info-eis-option.ll",
+ "DebugInfo/Generic/def-line.ll",
+ "DebugInfo/Generic/discriminator.ll",
+ "DebugInfo/Generic/dwarf-public-names.ll",
+ "DebugInfo/Generic/enum.ll",
+ "DebugInfo/Generic/func-using-decl.ll",
+ "DebugInfo/Generic/global.ll",
+ "DebugInfo/Generic/imported-name-inlined.ll",
+ "DebugInfo/Generic/incorrect-variable-debugloc1.ll",
+ "DebugInfo/Generic/inline-scopes.ll",
+ "DebugInfo/Generic/inlined-arguments.ll",
+ "DebugInfo/Generic/inlined-vars.ll",
+ "DebugInfo/Generic/linear-dbg-value.ll",
+ "DebugInfo/Generic/linkage-name-abstract.ll",
+ "DebugInfo/Generic/member-order.ll",
+ "DebugInfo/Generic/missing-abstract-variable.ll",
+ "DebugInfo/Generic/multiline.ll",
+ "DebugInfo/Generic/namespace_function_definition.ll",
+ "DebugInfo/Generic/namespace_inline_function_definition.ll",
+ "DebugInfo/Generic/noscopes.ll",
+ "DebugInfo/Generic/ptrsize.ll",
+ "DebugInfo/Generic/restrict.ll",
+ "DebugInfo/Generic/two-cus-from-same-file.ll",
+ "DebugInfo/Generic/version.ll",
+ "DebugInfo/LocalAddressSpace.ll",
+ "DebugInfo/UnknownBaseType.ll",
+ "DebugInfo/expr-opcode.ll",
+ )
+ }
+
return t.NewPackage("spirv-llvm-translator", version, newFromGitHub(
"KhronosGroup/SPIRV-LLVM-Translator",
"v"+version, checksum,
@@ -153,9 +204,7 @@ index c000a77e..86f79b03 100644
// litArgs emits shell syntax
ScriptEarly: `
-export LIT_OPTS=` + litArgs(true,
- // error: line 13: OpTypeCooperativeMatrixKHR Scope is limited to Workgroup and Subgroup
- "cooperative_matrix_constant_null.spvasm") + `
+export LIT_OPTS=` + litArgs(true, skipChecks...) + `
`,
}, &CMakeHelper{
Cache: []KV{