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