aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/spirv.az
blob: 45ee1dc67215e9d49e2a711c4008fbff0baef5d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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.341.0";
	source = remoteGitHub {
		suffix = "KhronosGroup/SPIRV-Headers";
		tag = "vulkan-sdk-"+version;
		checksum = "0PL43-19Iaw4k7_D8J8BvoJ-iLgCVSYZ2ThgDPGfAJwIJFtre7l0cnQtLjcY-JvD";
	};

	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 ];
}