[info=5310eda1249daad245a0f2a4390ff4848af0097b720f540187655e9a41ddec72]
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/unified-runtime?expand=0&rev=6
This commit is contained in:
parent
d5efb32414
commit
b55b8ae809
@ -1,4 +1,4 @@
|
|||||||
mtime: 1736467033
|
mtime: 1736534830
|
||||||
commit: 42cf4a393a0970dd32bb3919f2406e68129430917d2b56830c138c131d3c839b
|
commit: 5310eda1249daad245a0f2a4390ff4848af0097b720f540187655e9a41ddec72
|
||||||
url: https://src.opensuse.org/clibs/unified-runtime
|
url: https://src.opensuse.org/clibs/unified-runtime
|
||||||
revision: master
|
revision: master
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 10 18:46:12 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||||
|
|
||||||
|
- Added the static library to the devel package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 6 17:06:15 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
Mon Jan 6 17:06:15 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||||
|
|
||||||
|
@ -87,6 +87,9 @@ This package contains the oneAPI Unified Runtime OpenCL adapter.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%define __builder ninja
|
%define __builder ninja
|
||||||
|
# the static library is needed by the produced cmake files
|
||||||
|
# otherwise, when using find_package, CMake throws an error
|
||||||
|
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
|
||||||
%cmake \
|
%cmake \
|
||||||
-DUR_USE_EXTERNAL_UMF=ON \
|
-DUR_USE_EXTERNAL_UMF=ON \
|
||||||
-DUR_BUILD_TESTS=OFF \
|
-DUR_BUILD_TESTS=OFF \
|
||||||
@ -105,7 +108,6 @@ This package contains the oneAPI Unified Runtime OpenCL adapter.
|
|||||||
install -Dm 755 build/bin/urinfo %{buildroot}%{_bindir}/urinfo
|
install -Dm 755 build/bin/urinfo %{buildroot}%{_bindir}/urinfo
|
||||||
|
|
||||||
rm %{buildroot}%{_includedir}/.clang-format
|
rm %{buildroot}%{_includedir}/.clang-format
|
||||||
rm %{buildroot}%{_libdir}/libur_common.a
|
|
||||||
|
|
||||||
%ldconfig_scriptlets -n libur_loader0
|
%ldconfig_scriptlets -n libur_loader0
|
||||||
%ldconfig_scriptlets -n libur_adapter_native_cpu0
|
%ldconfig_scriptlets -n libur_adapter_native_cpu0
|
||||||
@ -131,11 +133,13 @@ rm %{buildroot}%{_libdir}/libur_common.a
|
|||||||
%{_prefix}/lib/cmake/unified-runtime/
|
%{_prefix}/lib/cmake/unified-runtime/
|
||||||
%{_libdir}/libur_loader.so
|
%{_libdir}/libur_loader.so
|
||||||
%{_libdir}/libur_adapter_native_cpu.so
|
%{_libdir}/libur_adapter_native_cpu.so
|
||||||
|
%{_libdir}/libur_common.a
|
||||||
|
|
||||||
%if %{with opencl_adapter}
|
%if %{with opencl_adapter}
|
||||||
%{_libdir}/libur_adapter_opencl.so
|
%{_libdir}/libur_adapter_opencl.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files -n libur_loader0
|
%files -n libur_loader0
|
||||||
%{_libdir}/libur_loader.so.0
|
%{_libdir}/libur_loader.so.0
|
||||||
%{_libdir}/libur_loader.so.0.11.2
|
%{_libdir}/libur_loader.so.0.11.2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user