Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : spirv-headers | name : spirv-headers | ||||
| version : 1.2 | version : 1.3 | ||||
| release : 4 | release : 5 | ||||
| source : | source : | ||||
| - git|https://github.com/KhronosGroup/SPIRV-Headers.git : e0282aa7d54631502b4af567a85d3b6565fd5464 | - git|https://github.com/KhronosGroup/SPIRV-Headers.git : 02ffc719aa9f9c1dce5ce05743fb1afe6cbf17ea | ||||
| license : MIT | license : MIT | ||||
| component : programming | component : programming | ||||
| summary : The SPIR-V Tools project provides an API and commands for processing SPIR-V modules. | summary : Header files from the SPIR-V registry | ||||
| description: | | |||||
| Machine-readable files for the SPIR-V Registry. This includes: | |||||
| - Header files for various languages. | |||||
| - JSON files describing the grammar for the SPIR-V core instruction set and the extended instruction sets. | |||||
| - The XML registry file. | |||||
| - A tool to build the headers from the JSON grammar. | |||||
| patterns : | patterns : | ||||
| - /usr/include | - /usr/include | ||||
| description: | | |||||
| The SPIR-V Tools project provides an API and commands for processing SPIR-V modules. | |||||
| setup : | | setup : | | ||||
| mkdir build | mkdir solusBuildDir && cd solusBuildDir | ||||
| cd build | |||||
| %cmake ../ -DCMAKE_INSTALL_PREFIX=$installdir/usr | %cmake -DCMAKE_INSTALL_PREFIX=$installdir/usr \ | ||||
| cmake --build . --target install-headers | -GNinja .. | ||||
| # Default to 1.2 spec | build : | | ||||
| ln -s /usr/include/spirv/1.2 $installdir/usr/include/SPIRV | %meson_build install-headers | ||||
| install : | | |||||
| # Default to unified (1.3) spec | |||||
| ln -s /usr/include/spirv/unified1 $installdir/usr/include/SPIRV | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.