mirror of
https://github.com/ivabus/pantry
synced 2024-11-15 04:55:08 +03:00
bde580ce10
closes #3735
33 lines
648 B
YAML
33 lines
648 B
YAML
distributable:
|
|
url: https://github.com/KhronosGroup/Vulkan-Headers/archive/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: KhronosGroup/Vulkan-Headers/tags
|
|
|
|
build:
|
|
dependencies:
|
|
cmake.org: '*'
|
|
script: |
|
|
cmake -S . -B build/ $ARGS
|
|
cmake --install build
|
|
env:
|
|
ARGS:
|
|
- -DCMAKE_INSTALL_PREFIX="{{prefix}}"
|
|
|
|
test:
|
|
dependencies:
|
|
llvm.org: <17
|
|
fixture: |
|
|
#include <stdio.h>
|
|
#include <vulkan/vulkan_core.h>
|
|
|
|
int main() {
|
|
printf("vulkan version %d", VK_VERSION_1_0);
|
|
return 0;
|
|
}
|
|
script: |
|
|
mv $FIXTURE test.cpp
|
|
clang++ test.cpp -o test
|
|
out=$(./test)
|
|
echo $out
|