Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : spirv-tools | name : spirv-tools | ||||
| version : 2018.0 # Dev | version : 2018.2 | ||||
| release : 3 | release : 4 | ||||
| source : | source : | ||||
| - git|https://github.com/KhronosGroup/SPIRV-Tools.git : 6018de81de5114e906a0098ac04a7cbc95aff500 | - git|https://github.com/KhronosGroup/SPIRV-Tools.git : 01f32ee001409893773219d1a0cc8e696287628e | ||||
| license : MIT | license : MIT | ||||
| component : programming.tools | component : programming.tools | ||||
| summary : The SPIR-V Tools project provides an API and commands for processing SPIR-V modules. | emul32 : yes | ||||
| summary : The SPIR-V Tools project provides an API and commands for processing SPIR-V modules | |||||
| description: | | description: | | ||||
| The SPIR-V Tools project provides an API and commands for processing SPIR-V modules. | The SPIR-V Tools project provides an API and commands for processing SPIR-V modules. | ||||
| builddeps : | builddeps : | ||||
| - spirv-headers | - spirv-headers | ||||
| emul32 : yes | |||||
| setup : | | setup : | | ||||
| mkdir -p external/spirv-headers/include | mkdir -p external/spirv-headers/include | ||||
| ln -s /usr/include/spirv external/spirv-headers/include/. | ln -s /usr/include/spirv external/spirv-headers/include/. | ||||
| %cmake . | |||||
| mkdir solusBuildDir && cd solusBuildDir | |||||
| %cmake -DCMAKE_INSTALL_LIBDIR=%libdir% \ | |||||
| -GNinja .. | |||||
| build : | | build : | | ||||
| %make | %meson_build | ||||
| install : | | install : | | ||||
| %make_install | %meson_install | ||||
| if [[ ! -z "${EMUL32BUILD}" ]]; then | |||||
| mv $installdir/usr/lib $installdir/usr/lib32 | |||||
| fi | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.