aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/spirv.az
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-07-15 14:35:10 +0900
committerOphestra <cat@gensokyo.uk>2026-07-15 14:35:10 +0900
commit8366cdd22448548116b4cc2f719fee73f8c30e91 (patch)
treef60c5ab9ba35116cadbcd8af2ff1b25e45b2155f /internal/rosa/package/spirv.az
parent05f9939077ce5144a648ef537bbe79f294e2307c (diff)
internal/rosa/package/spirv: spirv-tools 2026.1 to 2026.2
Upstream does not appear to understand the point of tags, so include relevant unreleased changes here. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/spirv.az')
-rw-r--r--internal/rosa/package/spirv.az138
1 files changed, 0 insertions, 138 deletions
diff --git a/internal/rosa/package/spirv.az b/internal/rosa/package/spirv.az
deleted file mode 100644
index 2fcbc7be..00000000
--- a/internal/rosa/package/spirv.az
+++ /dev/null
@@ -1,138 +0,0 @@
-package spirv-headers {
- description = "machine-readable files for the SPIR-V Registry";
- website = "https://github.com/KhronosGroup/SPIRV-Headers";
- anitya = 230542;
- // upstream changed version scheme, anitya incapable of filtering them
- latest = anityaFilterSPIRV;
-
- version# = "1.4.350.1";
- source = remoteGitHub {
- suffix = "KhronosGroup/SPIRV-Headers";
- tag = "vulkan-sdk-"+version;
- checksum = "6cmvMCH5aiHykXcozckfMOVA0nm0am4Xr2g9swBB9FtOV1vYBHgats5aRv4uQ9Kq";
- };
-
- exec = cmake {
- // upstream has no tests
- skipTest = true;
- };
-}
-
-package spirv-tools {
- description = "an API and commands for processing SPIR-V modules";
- website = "https://github.com/KhronosGroup/SPIRV-Tools";
- anitya = 14894;
- latest = anityaFallback;
-
- version# = "2026.1";
- source = remoteGitHub {
- suffix = "KhronosGroup/SPIRV-Tools";
- tag = "v"+version;
- checksum = "ZSQPQx8NltCDzQLk4qlaVxyWRWeI_JtsjEpeFt3kezTanl9DTHfLixSUCezMFBjv";
- };
-
- exec = cmake {
- cache = {
- "SPIRV-Headers_SOURCE_DIR": "/system";
- };
- };
-
- inputs = [
- python,
-
- spirv-headers,
- ];
-
- runtime = [ spirv-headers ];
-}
-
-package spirv-llvm-translator {
- description = "bi-directional translation between SPIR-V and LLVM IR";
- website = "https://github.com/KhronosGroup/SPIRV-LLVM-Translator";
- anitya = 227273;
-
- version# = "22.1.2";
- source = remoteGitHub {
- suffix = "KhronosGroup/SPIRV-LLVM-Translator";
- tag = "v"+version;
- checksum = "JZAaV5ewYcm-35YA_U2BM2IcsQouZtX1BLZR0zh2vSlfEXMsT5OCtY4Gh5RJkcGy";
- };
-
- // litArgs emits shell syntax
- early = "\nexport LIT_OPTS=" + litArgs {
- verbose = true;
-
- skipChecks = arch {
- default = [
- // error: line 13: OpTypeCooperativeMatrixKHR Scope is limited to Workgroup and Subgroup
- "cooperative_matrix_constant_null.spvasm",
- ];
-
- arm64 = [
- // error: line 13: OpTypeCooperativeMatrixKHR Scope is limited to Workgroup and Subgroup
- "cooperative_matrix_constant_null.spvasm",
-
- // 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",
- ];
- };
- } + "\n";
-
- exec = cmake {
- cache = {
- "CMAKE_SKIP_BUILD_RPATH": "ON";
- "BUILD_SHARED_LIBS": "ON";
- "LLVM_SPIRV_ENABLE_LIBSPIRV_DIS": "ON";
- "LLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR": "/system";
- "LLVM_EXTERNAL_LIT": "/system/bin/lit";
- "LLVM_INCLUDE_TESTS": "ON";
- };
- };
-
- inputs = [
- bash,
- lit,
-
- spirv-tools,
- ];
-
- runtime = [ spirv-tools ];
-}