123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- ## START: Set by rpmautospec
- ## (rpmautospec version 0.7.3)
- ## RPMAUTOSPEC: autorelease, autochangelog
- %define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
- release_number = 1;
- base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
- print(release_number + base_release_number - 1);
- }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
- ## END: Set by rpmautospec
- %global commit 90a976491d3847657396456e0e94d7dc48d35996
- %global shortcommit %(c=%{commit}; echo ${c:0:7})
- Name: spirv-llvm-translator
- Version: 19.1.1
- Release: 2%{?_dist_release}
- Summary: LLVM to SPIRV Translator
- Group: system
- Distribution: Vine Linux
- Vendor: Project Vine
- License: NCSA
- URL: https://github.com/KhronosGroup/SPIRV-LLVM-Translator
- Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
- BuildRequires: gcc
- BuildRequires: gcc-c++
- BuildRequires: cmake
- BuildRequires: ninja
- BuildRequires: llvm-devel
- BuildRequires: llvm-static
- BuildRequires: spirv-headers-devel
- BuildRequires: spirv-tools-devel
- BuildRequires: pkgconfig(zlib)
- %description
- Khronos LLVM to SPIRV Translator. This is a library
- to be used by Mesa for OpenCL support. It translate
- LLVM IR to Khronos SPIR-V. It also includes a
- standalone tool used for building libclc.
- %package devel
- Summary: Development files for LLVM to SPIRV Translator
- Group: programming
- Requires: %{name}%{?_isa} = %{version}-%{release}
- %description devel
- This package contains libraries and header files for
- developing against %{name}
- %package tools
- Summary: Standalone llvm to spirv translator tool
- Group: programming
- Requires: %{name}%{?_isa} = %{version}-%{release}
- %description tools
- This package contains the standalone llvm to spirv tool.
- %debug_package
- %prep
- %autosetup -n SPIRV-LLVM-Translator-%{commit} -p1
- %build
- %cmake -GNinja \
- -DLLVM_BUILD_TOOLS=ON \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo \
- -DCMAKE_INSTALL_RPATH:BOOL=";" \
- -DLLVM_DIR="%{_libdir}/cmake/llvm/" \
- %if 0%{?__isa_bits} == 64
- -DLLVM_LIBDIR_SUFFIX=64 \
- %else
- -DLLVM_LIBDIR_SUFFIX= \
- %endif
- -DLLVM_EXTERNAL_PROJECTS="SPIRV-Headers" \
- -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="/usr/include/spirv/"
- %cmake_build
- %install
- %cmake_install
- %files
- %doc README.md
- %{_libdir}/libLLVMSPIRVLib.so.*
- %files tools
- %{_bindir}/llvm-spirv
- %files devel
- %dir %{_includedir}/LLVMSPIRVLib/
- %{_includedir}/LLVMSPIRVLib/
- %{_libdir}/libLLVMSPIRVLib.so
- %{_libdir}/pkgconfig/LLVMSPIRVLib.pc
- %changelog
- * Fri Nov 15 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 19.1.1-2
- - initial build for Vine Linux.
- ## START: Generated by rpmautospec
- * Tue Nov 05 2024 František Zatloukal <fzatlouk@redhat.com> - 19.1.1-1
- - Update to LLVM 19.1.1 (Fixes RHBZ#2302472)
- * Fri Sep 20 2024 František Zatloukal <fzatlouk@redhat.com> - 19.0.0-2
- - Update to LLVM 19.0.0 Final
- * Fri Sep 06 2024 František Zatloukal <fzatlouk@redhat.com> - 19.0.0-1
- - Update to LLVM 19.0.0
- * Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.2-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
- * Wed Jul 17 2024 František Zatloukal <fzatlouk@redhat.com> - 18.1.2-1
- - Resync to a later commit (RHBZ#2290701)
- * Sat Apr 20 2024 František Zatloukal <fzatlouk@redhat.com> - 18.1.0-1
- - Refresh of Update LLVM 18.1.0 (Fixes RHBZ#2268376)
- * Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 17.0.0-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
- * Mon Aug 07 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 17.0.0-1
- - Update to LLVM 17.0.0
- * Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 16.0.0-4
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
- * Mon Jul 03 2023 Dave Airlie <airlied@redhat.com> - 16.0.0-3
- - Bump to newer release branch
- * Wed Apr 19 2023 Frantisek Zatloukal <fzatlouk@redhat.com> - 16.0.0-2
- - Rebase downstream patch Fix-standalone-builds-with-LLVM_LINK_LLVM_DYLIB-ON to the version that got merged upstream
- - Rebase to a later commit while at it
- * Mon Feb 20 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0-1
- - Update to LLVM 16.0.0
- * Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 15.0.0-3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
- * Wed Dec 14 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 15.0.0-2
- - Bump to a later llvm 15 branch commit including backported fixes
- - Add spirv-tools dep
- * Fri Sep 16 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 15.0.0-1
- - update to llvm 15
- * Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.0.0-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
- * Fri Apr 22 2022 Dave Airlie <airlied@redhat.com> - 14.0.0-1
- - Update to llvm 14
- * Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.0-3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
- * Thu Nov 11 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-2
- - Rebuild for LLVM 13.0.0-final
- * Tue Oct 26 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 13.0.0-1
- - update to llvm 13
- * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.0-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
- * Tue May 04 2021 Dave Airlie <airlied@redhat.com> - 12.0.0-1
- - update for llvm 12
- * Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 11.1.0-2
- - Rebuilt for removed libstdc++ symbol (#1937698)
- * Mon Feb 15 2021 Dave Airlie <airlied@redhat.com> - 11.1.0-1
- - Update to llvm 11.1.0
- * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.0-0.2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
- * Wed Aug 19 2020 Dave Airlie <airlied@redhat.com> - 11.0.0-0.1
- - Initial package of git snapshot for 11.0.0
- ## END: Generated by rpmautospec
|