aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/glslang.az
blob: 39674f988cbdd87ea111095cd001e077777e865d (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 = 334917;

	version# = "1.4.357.0";
	source = remoteGitHub {
		suffix = "KhronosGroup/glslang";
		tag = "vulkan-sdk-"+version;
		checksum = "7Zq12xtSd5z_aEEeYCnsWR5WvcEGVlTsRaV6MqkmY1a3iNIrRbX_rrg-taI3wMe6";
	};

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