2024-03-19 19:54:51 +01:00
|
|
|
%define gitver %(echo %version | cut -d. -f5)
|
2024-01-05 18:04:10 +01:00
|
|
|
Name: spirv-llvm-translator
|
2024-10-06 21:17:42 +02:00
|
|
|
Version: 19.1.0
|
2024-01-05 18:04:10 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A tool and a library for bi-directional translation between SPIR-V and LLVM IR
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/KhronosGroup/SPIRV-LLVM-Translator
|
2024-06-22 13:48:04 +02:00
|
|
|
Source: https://github.com/KhronosGroup/SPIRV-LLVM-Translator.git/v%{version}/SPIRV-LLVM-Translator-%{version}.tar.bz2
|
2024-01-05 18:04:10 +01:00
|
|
|
License: NCSA
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libllvm-devel
|
|
|
|
BuildRequires: libspirv-tools-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 18:04:11 +01:00
|
|
|
BuildRequires: libllvm-devel >= 17.0.3
|
2024-01-05 18:04:10 +01:00
|
|
|
BuildRequires: cmake
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
A tool and a library for bi-directional translation between SPIR-V and LLVM IR.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: spirv-headers
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n SPIRV-LLVM-Translator-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build \
|
|
|
|
-DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=%{_includedir}/spirv/
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libLLVMSPIRVLib.so.*
|
|
|
|
%doc LICENSE.TXT
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/llvm-spirv
|
|
|
|
%dir %{_includedir}/LLVMSPIRVLib
|
|
|
|
%{_includedir}/LLVMSPIRVLib/*
|
|
|
|
%{_libdir}/libLLVMSPIRVLib.so
|
|
|
|
%{_libdir}/pkgconfig/LLVMSPIRVLib.pc
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-10-06 21:17:42 +02:00
|
|
|
* Sun Sep 22 2024 Automatic Build System <autodist@openmamba.org> 19.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-09-01 17:43:46 +02:00
|
|
|
* Sun Sep 01 2024 Automatic Build System <autodist@openmamba.org> 18.1.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-08-01 22:26:20 +02:00
|
|
|
* Thu Aug 01 2024 Automatic Build System <autodist@openmamba.org> 18.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-07-03 11:06:19 +02:00
|
|
|
* Tue Jul 02 2024 Automatic Build System <autodist@openmamba.org> 18.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-22 13:48:04 +02:00
|
|
|
* Thu Jun 20 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 18.1.1-1mamba
|
|
|
|
- update to 18.1.1
|
|
|
|
|
2024-03-19 19:54:51 +01:00
|
|
|
* Sun Mar 17 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 18.0.0.20240215git.ffdb454-1mamba
|
|
|
|
- update to 18.0.0.20240215git.ffdb454
|
|
|
|
|
2024-01-05 18:04:11 +01:00
|
|
|
* Tue Oct 24 2023 Automatic Build System <autodist@mambasoft.it> 17.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:04:10 +01:00
|
|
|
* Wed May 24 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 16.0.0-1mamba
|
|
|
|
- update to 16.0.0
|
|
|
|
|
2024-01-05 18:04:10 +01:00
|
|
|
* Tue Dec 27 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 15.0.0-1mamba
|
|
|
|
- package created using the webbuild interface
|