aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/glslang.az
blob: 819a80fb6e0f2ceada02b0d8f50e282269cef8e9 (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.4.0";
	source = remoteGitHub {
		suffix = "KhronosGroup/glslang";
		tag = version;
		checksum = "u67ps8Fv_75QDiusvKjzgttPPPxb5V7HsObb0q6OvqQfHh0UGN2_x8Y0RKb9JEie";
	};

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