Projects
Mega:24.03:SP1:Everything
spirv-tools
_service:tar_scm:spirv-tools.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:spirv-tools.spec of Package spirv-tools
Name: spirv-tools Version: 2023.2 Release: 1 Summary: API and commands for processing SPIR-V modules License: ASL 2.0 URL: https://github.com/KhronosGroup/SPIRV-Tools Source0: %url/archive/refs/tags/v%{version}.tar.gz #patch from:https://src.fedoraproject.org/rpms/spirv-tools/blob/rawhide/f/fix-gcc12-build.patch Patch6000: fix-gcc12-build.patch BuildRequires: cmake3 BuildRequires: gcc-c++ BuildRequires: ninja-build %if 0%{?rhel} == 7 BuildRequires: python36-devel %else BuildRequires: python3-devel %endif BuildRequires: python3-rpm-macros BuildRequires: spirv-headers-devel Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description The package includes an assembler, binary module parser, disassembler, and validator for SPIR-V.. %package libs Summary: Library files for %{name} Provides: %{name}-libs%{?_isa} = %{version} %description libs library files for %{name} %package devel Summary: Development files for %{name} Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel Development files for %{name} %prep %autosetup -p1 -n SPIRV-Tools-2023.2 %build %__mkdir_p %_target_platform pushd %_target_platform %cmake3 -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_LIBDIR=%{_lib} \ -DSPIRV-Headers_SOURCE_DIR=%{_prefix} \ -DPYTHON_EXECUTABLE=%{__python3} \ -DSPIRV_TOOLS_BUILD_STATIC=OFF \ -GNinja .. popd %__cmake --build %_target_platform %{?_smp_mflags} --verbose %install #%make_install -C %_target_platform DESTDIR="%{buildroot}" %__cmake --install %_target_platform %ldconfig_scriptlets libs %files %license LICENSE %doc README.md CHANGES %{_bindir}/spirv-as %{_bindir}/spirv-cfg %{_bindir}/spirv-dis %{_bindir}/spirv-lesspipe.sh %{_bindir}/spirv-link %{_bindir}/spirv-lint %{_bindir}/spirv-opt %{_bindir}/spirv-reduce %{_bindir}/spirv-val %files libs %{_libdir}/libSPIRV-Tools-diff.so %{_libdir}/libSPIRV-Tools-link.so %{_libdir}/libSPIRV-Tools-lint.so %{_libdir}/libSPIRV-Tools-opt.so %{_libdir}/libSPIRV-Tools.so %{_libdir}/libSPIRV-Tools-reduce.so %{_libdir}/libSPIRV-Tools-shared.so %files devel %{_includedir}/spirv-tools/ %{_libdir}/cmake/* %{_libdir}/pkgconfig/SPIRV-Tools-shared.pc %{_libdir}/pkgconfig/SPIRV-Tools.pc %changelog * Mon Jul 31 2023 zhouwenpei <zhouwenpei1@h-partners> - 2023.2-1 - update to 2023.2 * Mon Jul 25 2022 loong_C <loong_c@yeah.net> - 2022.1-1 - update to 2022.1 * Mon Dec 13 2021 wangqing <wangqing@uniontech.com> - 2019.5-2 - delete %dist * Fri Oct 09 2020 Zhiyi Weng <zhiyi@iscas.ac.cn> - 2019.5-1 - Initial version.
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2