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

	version# = "1.4.363.0";
	source = remoteGitHub {
		suffix = "KhronosGroup/glslang";
		tag = "vulkan-sdk-"+version;
		checksum = "ATWNapAERPA42c5EKZNnYj37M54wkaOCx5L-QWlZe9EfKVomP-s4FHieiJYg4FQI";
	};

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

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

			"CMAKE_EXE_LINKER_FLAGS": "-Wl,-z,stack-size=1048576";
		};
	};

	tools = [
		python,
		bash,
		diffutils,

		spirv-tools,
	];
}