From 3cdd2028d6dfba1d3e42c86fc9e76b75697fa1dfc9a6f7da9e4442de80bca89a Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 29 Aug 2022 08:25:15 +0000 Subject: [PATCH] Accepting request 991745 from home:gmbr3:Active - Add libXNVCtrl support on TW OBS-URL: https://build.opensuse.org/request/show/991745 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/hwloc?expand=0&rev=50 --- hwloc.changes | 5 +++++ hwloc.spec | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/hwloc.changes b/hwloc.changes index be13b7a..3faecab 100644 --- a/hwloc.changes +++ b/hwloc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 29 17:38:15 UTC 2022 - Callum Farmer + +- Add libXNVCtrl support on TW + ------------------------------------------------------------------- Mon Jul 11 07:47:23 UTC 2022 - Dirk Müller diff --git a/hwloc.spec b/hwloc.spec index e2a9fad..81edc5f 100644 --- a/hwloc.spec +++ b/hwloc.spec @@ -15,7 +15,11 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - +%if 0%{?suse_version} >= 1550 +%bcond_without XNVCtrl +%else +%bcond_with XNVCtrl +%endif %global lname libhwloc15 Name: hwloc Version: 2.8.0 @@ -31,6 +35,9 @@ BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libnuma-devel +%if %{with XNVCtrl} +BuildRequires: libXNVCtrl-devel +%endif BuildRequires: libtool BuildRequires: ncurses-devel BuildRequires: perl