aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/spirv.az
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-11-27 13:21:40 +0900
committerOphestra <cat@gensokyo.uk>2026-11-27 13:40:28 +0900
commit1b108e0224e34f0d7af989d83f3ae3895e542a65 (patch)
treeccd6108079c6c61e142ee57cd90d88ddca24e5d1 /internal/rosa/package/spirv.az
parent2e2ef6a602910f905e850812c4f8da6db0b78121 (diff)
internal/rosa: update packages
Kernel headers and zstd has been updated, causing many rebuilds. The broken glib test has been fixed upstream, and the patch is dropped. An additional spirv-headers package is added, tracking the commit expected by spirv-llvm-translator. The spirv-llvm-translator is finally updated thanks to this new package. A broken python-pyyaml test is skipped, finally allowing python-pyyaml to be updated. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/spirv.az')
-rw-r--r--internal/rosa/package/spirv.az28
1 files changed, 26 insertions, 2 deletions
diff --git a/internal/rosa/package/spirv.az b/internal/rosa/package/spirv.az
index d2d4ad99..62c24f5d 100644
--- a/internal/rosa/package/spirv.az
+++ b/internal/rosa/package/spirv.az
@@ -49,16 +49,39 @@ package spirv-tools {
inputs = [ spirv-headers ];
}
+package spirv-headers-llvm {
+ description = "machine-readable files for the SPIR-V Registry"+
+ " (for spirv-llvm-translator)";
+ website = "https://github.com/KhronosGroup/SPIRV-Headers";
+ exclude = true;
+
+ // spirv-headers-tag.conf
+ version# = "cb42dec3830d3ac67fa449ecdc0c0f73d5e74498";
+ source = remoteTar {
+ url = "https://github.com/KhronosGroup/SPIRV-Headers/archive/"+
+ version+".tar.gz";
+ checksum = "1WVpmMfezNzt1WVlbwsfbQV75m136V7VEtfPW7_y58p36E8YcmAN-FkYJBfhmF43";
+ compress = gzip;
+ };
+
+ exec = cmake {
+ // upstream has no tests
+ test = nil;
+ };
+
+ unlikely = true;
+}
+
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# = "23.1.2";
+ version# = "23.1.3";
source = remoteGitHub {
suffix = "KhronosGroup/SPIRV-LLVM-Translator";
tag = "v"+version;
- checksum = "6t7WCbw6xTVHF70ktDFCttrN9IO0UD4SdBiDQHtQShU7-laowtiRmXhVtRaQIhdC";
+ checksum = "bnyv95M2mQsSkYqz61kWmxbezoNJSsZIO4_PF-w6YHvrlQu0SakCuMWC3u_zucAp";
};
// litArgs emits shell syntax
@@ -177,6 +200,7 @@ package spirv-llvm-translator {
inputs = [
llvm,
+ spirv-headers-llvm,
spirv-tools,
];
}