aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/glslang.az
blob: 4966649e187d5c64e97686c698eb31783e48e14a (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
package glslang {
	description = "reference front end for GLSL/ESSL";
	website = "https://github.com/KhronosGroup/glslang";
	anitya = 205796;

	version# = "16.3.0";
	source = remoteGitHub {
		suffix = "KhronosGroup/glslang";
		tag = version;
		checksum = "xyqDf8k3-D0_BXHGi0uLgMglnJ05Rf3j73QgbDs3sGtKNdBIQhY8JfqX1NcNoJQN";
	};

	// test suite writes to source
	writable = true;
	chmod = true;

	exec = cmake {
		cache = {
			"BUILD_SHARED_LIBS": "ON";
			"ALLOW_EXTERNAL_SPIRV_TOOLS": "ON";
		};
	};

	inputs = [
		python,
		bash,
		diffutils,

		spirv-tools,
	];
}