2023-07-29 19:27:39 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/KhronosGroup/glslang/archive/{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
versions:
|
|
|
|
github: KhronosGroup/glslang
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/cc: c99
|
2023-08-25 18:59:35 +03:00
|
|
|
tea.xyz/gx/make: '*'
|
2023-07-29 19:27:39 +03:00
|
|
|
cmake.org: '*'
|
|
|
|
python.org: ^3.11
|
|
|
|
script:
|
|
|
|
- cmake -S . -B build $ARGS
|
|
|
|
- cmake --build build
|
|
|
|
- cmake --install build
|
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
- -DBUILD_EXTERNAL=OFF
|
|
|
|
- -DENABLE_CTEST=OFF
|
|
|
|
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
|
|
|
- -DCMAKE_INSTALL_LIBDIR={{prefix}}/lib
|
|
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
|
|
- -DCMAKE_FIND_FRAMEWORK=LAST
|
|
|
|
- -DCMAKE_VERBOSE_MAKEFILE=ON
|
|
|
|
- -Wno-dev
|
|
|
|
- -DBUILD_TESTING=OFF
|
2023-08-25 18:59:35 +03:00
|
|
|
linux:
|
|
|
|
ARGS:
|
|
|
|
- -DCMAKE_EXE_LINKER_FLAGS=-lstdc++fs
|
2023-07-29 19:27:39 +03:00
|
|
|
provides:
|
|
|
|
- bin/glslang
|
|
|
|
- bin/glslangValidator
|
|
|
|
- bin/spirv-remap
|
|
|
|
test:
|
|
|
|
script:
|
|
|
|
- glslang --version | grep {{version}}
|
|
|
|
- glslangValidator -i test.vert test.frag
|