Accepting request 1090899 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1090899 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hwloc?expand=0&rev=27
This commit is contained in:
commit
d669bc05de
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 9 13:20:12 UTC 2023 - Thomas Blume <thomas.blume@suse.com>
|
||||
|
||||
- remove header files for feature we don't ship (jsc#PED-4156)
|
||||
|
||||
These headers do not define an API that is not supported at present and
|
||||
therefore would not cause a failure during build. Still, they define static
|
||||
inline functions which look for HWLOC objects that are only set up by
|
||||
non-supported device scanners. Thus these objects will never be present - even
|
||||
though the relevant hardware is.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 26 14:53:18 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
|
@ -123,6 +123,14 @@ install -D -m 644 %{buildroot}%{_datadir}/hwloc/hwloc-dump-hwdata.service %{buil
|
||||
%endif
|
||||
rm %{buildroot}%{_datadir}/hwloc/hwloc-dump-hwdata.service
|
||||
|
||||
#remove headers for features we don't ship
|
||||
rm %{buildroot}%{_includedir}/hwloc/rsmi.h
|
||||
rm %{buildroot}%{_includedir}/hwloc/nvml.h
|
||||
rm %{buildroot}%{_includedir}/hwloc/opencl.h
|
||||
rm %{buildroot}%{_includedir}/hwloc/levelzero.h
|
||||
rm %{buildroot}%{_includedir}/hwloc/cuda.h
|
||||
rm %{buildroot}%{_includedir}/hwloc/cudart.h
|
||||
|
||||
%fdupes -s %{buildroot}/%{_mandir}/man1
|
||||
%fdupes -s %{buildroot}/%{_mandir}/man7
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user