File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ recipe {
2+ name "spirv-headers"
3+ version "1.4.341.0"
4+ release 1
5+ description "SPIR-V Headers from the Khronos Group"
6+ url "https://github.com/KhronosGroup/SPIRV-Headers"
7+ archs "aarch64" "x86_64"
8+ licenses "MIT" "CC-BY-4.0"
9+ depends "cmake" \
10+ "llvm" \
11+ "mimalloc-dev" \
12+ "musl-dev" \
13+ "ninja"
14+ }
15+
16+ source "https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/vulkan-sdk-${recipe.version}.tar.gz" {
17+ blake3 "9fcacf7be83a830cf97d52949afff125a36db15b486755e88f21b5f840bc3abc"
18+ }
19+
20+ build {
21+ script r #"
22+ cmake -B build -G Ninja \
23+ -DCMAKE_INSTALL_PREFIX=/usr \
24+ -DCMAKE_BUILD_TYPE=Release
25+ ninja -C build
26+ "#
27+ }
28+
29+ install {
30+ script r #"
31+ DESTDIR="$DESTDIR" ninja -C build install
32+ "#
33+ }
34+
35+ package "spirv-headers" {
36+ files "usr/include/" \
37+ "usr/share/"
38+ }
You can’t perform that action at this time.
0 commit comments