File tree Expand file tree Collapse file tree
recipes/desktop/spirv-tools Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ recipe {
2+ name "spirv-tools"
3+ version "2026.1"
4+ release 1
5+ description "SPIR-V Tools - assembler, disassembler, validator, and optimizer"
6+ url "https://github.com/KhronosGroup/SPIRV-Tools"
7+ archs "aarch64" "x86_64"
8+ licenses "Apache"
9+ depends "cmake" \
10+ "llvm" \
11+ "mimalloc-dev" \
12+ "musl-dev" \
13+ "ninja" \
14+ "python" \
15+ "spirv-headers"
16+ }
17+
18+ source "https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/v${recipe.version}.tar.gz" {
19+ blake3 "07f13b418b6ed70a3a2962fad60741c9329c12d30ad425f8517500d71e9a809a"
20+ }
21+
22+ build {
23+ script r #"
24+ cmake -B build -G Ninja \
25+ -DCMAKE_INSTALL_PREFIX=/usr \
26+ -DCMAKE_INSTALL_LIBDIR=lib \
27+ -DCMAKE_BUILD_TYPE=Release \
28+ -DSPIRV-Headers_SOURCE_DIR=/usr
29+ ninja -C build
30+ "#
31+ }
32+
33+ install {
34+ script r #"
35+ ninja -C build install
36+ "#
37+ }
38+
39+ package "spirv-tools" {
40+ files "usr/bin/" \
41+ "usr/lib/lib*.so*"
42+ }
43+
44+ package "spirv-tools-dev" {
45+ files "usr/include/" \
46+ "usr/lib/cmake/" \
47+ "usr/lib/lib*.a" \
48+ "usr/lib/pkgconfig/"
49+ }
You can’t perform that action at this time.
0 commit comments