SHA256
1
0
forked from pool/hwloc

7 Commits

Author SHA256 Message Date
5baf51a67d Accepting request 1302562 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1302562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hwloc?expand=0&rev=35
2025-09-03 19:07:27 +00:00
Thomas Blume
35b0d70946 update to 2.12.2 (bsc#1236038)
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/hwloc?expand=0&rev=77
2025-09-03 09:27:24 +00:00
Thomas Blume
13b7115679 update to 2.12.2 (bsc#1236038)
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/hwloc?expand=0&rev=76
2025-09-03 09:07:40 +00:00
926fea3d30 Accepting request 1273668 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1273668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hwloc?expand=0&rev=34
2025-05-01 13:22:32 +00:00
Thomas Blume
dddfe5f956 fix division by zero exception with recent versions of GCC (bsc#1236038)
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/hwloc?expand=0&rev=74
2025-04-30 11:56:11 +00:00
7d1e644beb Accepting request 1235538 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1235538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hwloc?expand=0&rev=33
2025-01-09 14:05:00 +00:00
Thomas Blume
07fcb7bf4e update to 2.11.2 (jsc#PED-11875)
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/hwloc?expand=0&rev=72
2025-01-07 09:42:14 +00:00
4 changed files with 265 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0305dd60c9de2fbe6519fe2a4e8fdc6d3db8de574a0ca7812b92e80c05ae1392
size 5548699

3
hwloc-2.12.2.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:563e61d70febb514138af0fac36b97621e01a4aacbca07b86e7bd95b85055ba0
size 5617977

View File

@@ -1,3 +1,259 @@
-------------------------------------------------------------------
Wed Sep 3 08:11:15 UTC 2025 - Thomas Blume <Thomas.Blume@suse.com>
- removed patches (fixed upstream)
* 0001-x86-work-around-legacy_max_proc-being-0-while-HTT-fe.patch
- update to 2.12.2
* .ignore: update
* API
+ add hwloc_topology_get_default_nodeset()
+ bump HWLOC_API_VERSION to 0x20c00
+ document that distances may only group if latencies
+ fix a comment about weighted interleave support bit
+ fix some typos in doxygen syntax and refs
* Do not treat INTERSECT_LOCALITY as a superset of LARGER and SMALLER
* Duplicate distance grouping info in hwloc_internal_distances_dup
* Fix lstopo man page
* Make hwloc_distances_get_by_name accept empty kinds
* NEWS
+: add distances bullet
+ add hwloc-calc improvement bullet
+ bullet about manpages
+ bullet about memattr fixes
+ bullet about syscalls
+ bullet about x86/flsl issues
+ bullets about L0 rework
+ bullets about heterogeneous memory improvements
+ mention systemd-dbus-api changes in hwloc-calc
+ reorder and improve 2.11.2 bullets
+ some fixes in 2.11 bullets
+ update about CUDA and NVML
* Set the `obj` pointer of `hwloc_internal_location_s` in `to_internal_location()`
* VERSION: bump lib soname from 23:0:8 to 23:1:8 for 2.11.2
* bitmap.h: fix/improve the doc about return values
* bitmap: improve sscanf/snprintf doc
* ci.inria.fr: move the v2.11 nightly build to a different time
* ci.inria.fr: move the v2.12 nightly build to a different time
* completion/bash: add missing INPUT_FORMAT definition in some functions
* completion/bash: always initialize COMP_REPLY to empty
* completion/bash: don't always return kind=* when completing --ancestor etc
* completion/bash: fix the completion of lstopo --palette
* completion/bash: hwloc-patch -R instead of --R
* completion/test: only enable if bash is available
* configure: error out if --with-foo doesn't have its mandatory argument
* configure: hwloc-devel is dead, and add a link to github issues
* contrib/android: add a link to the privacy policy inside the app
* contrib/android: bump APK from 1.5.3 to 1.6.0
* contrib/android: bump APK to 1.6.1
* contrib/android: fix a typo in the website link box
* contrib/android: fix case expressions must be constants expressions
* contrib/android: force enable BuildConfig
* contrib/android: merge privacy/website/github/ci links inside the main text
* contrib/android: require cmake 3.18.1
* contrib/android: stop overriding versionCode with ABI's ones
* contrib/android: update gradle, gradle plugin and ndk versions
* contrib/android: update the namespace definition
* contrib/ci.inria.fr/browse_jenkins_logs.sh: update to current jenkins webpages
* contrib/ci.inria.fr/sonarqube: improve the matching of the github repo
* contrib/ci.inria.fr/sonarqube: more updates to the config
* contrib/ci.inria.fr: remove buildDiscarder option
* contrib/ci.inria.fr: use a node with tag 'android2024' for android builds
* contrib/ci/sonarqube: Fix some warnings
* contrib/completion: add a test for bash completion
* contrib/contrib: bump compile/targetSdkVersion to 34
* core+linux: generalize and improve Die filtering vs Packages
* core: merge hwloc_topology_reconnect() and hwloc_filter_levels_keep_structure()
* core: remove "from the OS" from the main insert error message
* core: remove obsolete code about Machine object being ignored
* cpukinds: fix register() after dup()
* cuda: add FP32perCore info for CUDA capability 10.x and 12.0
* debug: check that !topology->modified during checks
* distances: check internal distances NULLity before dereferencing
* distances: clarify that distances must have one FROM and one MEANS kind
* distances: clarify the general description of the structure
* distances: don't enforce the matrix name for NVLink operations
* distances: relax constraints on distance kinds
* distances: transitive closure doesn't overwrite the existing direct bandwidth
* doc+contrib: switch the website doc to doxygen layout
* doc/readthedocs: move the doxygen doc to a subdirectory and redirect to it
* doxy: NVIDIA Grace Hopper memory is also marked as GPUMemory
* doxy: minor improvements to heteromem part
* doxy: update build with CMake
* doxygen: ignore the static keyword
* fix#676 use hwloc_access instead of hwloc_accessat
* fix(cmake): support win-arm64
* fix: multiple syntax errors / missing quotes in hwloc bash completions
* freebsd: fix a node array leak when distances are available but ignored
* gather-cpuid: update for latest intel leaves
* gather-cpuid: update to Intel x86 manuel 2024/10
* hwloc/plugins.h: distances backend API shouldn't be in the PCI group
* hwloc/plugins.h: merge discovery component and backend groups
* hwloc/plugins.h: move hwloc_plugin_check_namespace() to the generic components group
* hwloc_distrib(): error out if 0 is given
* hwloc_type_sscanf: fix test when host has several levels with same type
* include: fix the formatting of ending \0 in comments
* levelzero.h+tests: update to both ZE and ZES API
* levelzero.h: fix the lookup of parent pci devices
* levelzero.h: we always return the root/parent device, not a subdevice
* levelzero: abstract-out the querying of drivers/devices
* levelzero: don't enforce ZES_ENABLE_SYSMAN=1 in the environment
* levelzero: don't get device properties twice
* levelzero: only get memory info from sysman
* levelzero: remove the is_integrated variable
* levelzero: require zesDriverGetDeviceByUuidExp()
* levelzero: separate ZE and ZES device handles
* levelzero: use zesDriverGetDeviceByUuidExp() to get ZES device handles
* linux/arm: identify aarch64 as arm too
* linux/cpukinds/freq: use acpi_cppc/nominal_freq when available
* linux/cpukinds: add Intel "LowPower" PMU set
* linux/cpukinds: fix support for offline CPUs
* linux: add NUMA syscalls for hppa, s390, alpha, cris and m68k
* linux: add affinity+NUMA syscalls for 3 MIPS common ABIs
* linux: add affinity+NUMA syscalls for loongarch
* linux: fix a verbose message about failure to read DMI memory info
* linux: fix some NUMA syscall numbers on x86
* linux: move some common code out of the /proc/cpuinfo parsing loop
* linux: move sparc NUMA syscalls above
* linux: update Cray Slingshot detection to hsn->hsi device renaming
* lstopo.1: fix a typo
* lstopo.1: improve the COLORS section
* memattr: document that locality and capacity values cannot be modified
* memattr: locality requires a cpuset, capacity requires a NUMA node
* memattr: make sure target_node parameter isn't NULL on input
* memattrs.h: clarify the set of predefined+custom attribute IDs
* memattrs.h: move get_targets/get_initiators to the main section
* memattrs.h: some clarification in get_flags/name and register
* memattrs: add INTERSECT flag for getting local NUMA nodes
* memtiers: clarify a comment about using subtypes for sorting nodes in tiers
* misc: reactivate GNUC conditional
* nvml: cleanup NVLink version bandwidths and add Blackwell/v5
* rename.h: Add missed macro for hwloc_internal_memattr_set_value
* rsmi: fix some unused variable warnings
* rsmi: fix the PCI locality of partitioned devices
* scripts: don't put "fi fi fi" on the same line
* test-gather-topology: disable Misc objects
* tests/cpukinds: duplicate the topology between register()s
* tests/levelzero: don't mix up a ZES and ZE function
* tests/levelzero: remove some checks for ZES devices
* tests/memattrs: check capacity/locality with different/invalid targets
* tests/rename: don't ignore all lines containing hwloc_uint64_t
* tests/type_sscanf: test a synthetic case with 2 levels of groups
* tests/xml: add a NVIDIA DGX-2
* utils/annotate.1: sectionize EXAMPLES
* utils/annotate/test: test transitive-closure and merge-switch-ports on the DGX2 xml
* utils/bind.1: fix a "processor" instead of "core" in examples
* utils/bind.1: sectionize EXAMPLES
* utils/bind: add --default-nodes
* utils/bind: fix binding CPU and memory on different locations
* utils/bind: only enable binding verbose messages, not all
* utils/calc.1: clarify that filters are applied on input only
* utils/calc.1: document that --cof applies to both cpuset and nodeset outputs
* utils/calc.1: sectionize EXAMPLES
* utils/calc.1: split output conversion options out of others
* utils/calc/tests: check that we properly find NUMA nodes if heterogeneous memory
* utils/calc: --no isn't needed anymore for converting NUMA node indexes etc
* utils/calc: abstract-out a hwloc_utils_cpuset_format_sscanf()
* utils/calc: accumulate both cpuset and nodeset of locations
* utils/calc: add cpukind/memorytier to -I and -N
* utils/calc: add the systemd-dbus-api cpuset output format
* utils/calc: fix the computing of command-line locations
* utils/calc: fix the warning about --nodeset and --largest
* utils/calc: remove nodeset_output where it's now unneeded
* utils/calc: rename some variables to ease next commits
* utils/calc: rework --cpuset-output-format for the systemd-dbus-api
* utils/calc: split options into I/O set/object and formatting options
* utils/calc: switch to intersecting local NUMA nodes by default
* utils/calc: use HWLOC_TYPE_DEPTH_UNKNOWN instead of -1
* utils/calc: use memory object directly instead of walking up to normal objects
* utils/gather-cpuid: update leaf 0x23
* utils/gather-topology.1: --proclist obsolete and removed long time ago
* utils/gather-topology.1: fix formatting of command-line examples
* utils/gather-topology: fix a grep warning when matching octal sequence
* utils/hwloc-calc: add systemd-dbus-api to --cof usage and completion
* utils/info: add --default-nodes
* utils/info: fix sub-index prefix for local memory
* utils/lstopo.1: fix formatting of command-line examples
* utils/lstopo.1: remove a dumb example
* utils/lstopo.1: remove an outdated note about size units
* utils/lstopo.1: sectionize EXAMPLES
* utils/lstopo: don't build lstopo-win with MSVC
* utils/lstopo: remove -mwindows with MSVC
* utils/ps.1: sectionize EXAMPLES
* utils: improve "default" --best-memattr fallback in corner cases
* utils: return our new "default" nodes in the default --best-memattr fallback
* utils: uniformize checks after hwloc_calc_parse_level_size()
* utils: warn if we failed to find best nodes
* windows: add support for Die and Module topology levels
* windows: don't use uninitialized memory for selecting group kinds
* windows: promote a warning about 32-bit processor groups to critical
* x86: allow windows CPUID dump import on Linux
* x86: re-enable the gathering of topoext node IDs
* x86: work around legacy_max_proc being 0 while HTT feature bit is set
(bsc#1236038)
* xml/import: add missing xml prefix to some error messages
* xml/import: disable the currently unused importing of future types
* xml/import: forward compat with distances changes in 3.0
* xml/import: ignore numanode_type for now
* xml/import: support a possible future Cluster type
* xml/nolibxml/import: allow windows XMLs
-------------------------------------------------------------------
Mon Apr 28 07:32:19 UTC 2025 - Thomas Blume <Thomas.Blume@suse.com>
- fix division by zero exception with recent versions of GCC
(bsc#1236038)
* add 0001-x86-work-around-legacy_max_proc-being-0-while-HTT-fe.patch
-------------------------------------------------------------------
Tue Jan 7 08:56:48 UTC 2025 - Thomas Blume <Thomas.Blume@suse.com>
- update to 2.11.2 (jsc#PED-11875)
* Add missing CPU info attrs on aarch64 on Linux.
* Use ACPI CPPC on Linux to get better information about cpukinds,
at least on AMD CPUs.
* Fix crash when manipulating cpukinds after topology
duplication.
* Fix missing input target checks in memattr functions
* Fix a memory leak when ignoring NUMA distances on FreeBSD.
* Fix build failure on old Linux distributions without accessat().
* Fix non-Windows importing of XML topologies and CPUID dumps exported
on Windows.
* hwloc-calc --cpuset-output-format systemd-dbus-api now allows.
to generate AllowedCPUs information for systemd slices.
See the hwloc-calc manpage for examples.
* Some fixes in manpage EXAMPLES and split them into subsections.
* Fix bash completions
* API
+ Add HWLOC_MEMBIND_WEIGHTED_INTERLEAVE memory binding policy on
Linux 6.9+.
- weighted_interleave_membind is added to membind support bits.
- The "weighted" policy is added to the hwloc-bind tool.
+ Add hwloc_obj_set_subtype().
* GPU support
+ Don't hide the GPU NUMA node on NVIDIA Grace Hopper.
+ Get Intel GPU OpenCL device locality.
+ Add bandwidths between subdevices in the LevelZero XeLinkBandwidth
matrix.
+ Fix PCI Gen4+ link speed of NVIDIA GPU obtained from NVML.
* Tools
+ Option --best-memattr may now return multiple nodes. Additional
configuration flags may be given to tweak its behavior.
+ hwloc-info has a new --get-attr option to get a single attribute.
+ hwloc-info now supports "levels", "support" and "topology"
special keywords for backward compatibility for hwloc 3.0.
+ The --taskset command-line option is superseded by the new
--cpuset-output-format which also allows to export as list.
+ hwloc-calc may now import bitmasks described as a list of bits
with the new "--cpuset-input-format list".
* Misc
+ The MemoryTiersNr info attribute in the root object now says how many
memory tiers were built.
+ Fix the management of infinite cpusets in the bitmap printf/sscanf
API as well as in command-line tools.
+ Add section "Compiling software on top of hwloc's C API" in the
documentation with examples for GNU Make and CMake.
-------------------------------------------------------------------
Wed Dec 27 19:01:59 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package hwloc
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -29,12 +29,13 @@
%global lname libhwloc15
Name: hwloc
Version: 2.10.0
Version: 2.12.2
Release: 0
Summary: Portable Hardware Locality
License: BSD-3-Clause
URL: https://www.open-mpi.org/projects/hwloc/
Source0: https://download.open-mpi.org/release/hwloc/v2.10/hwloc-%{version}.tar.bz2
Source0: https://download.open-mpi.org/release/hwloc/v2.12/hwloc-%{version}.tar.bz2
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: doxygen
@@ -62,7 +63,7 @@ Requires: %{lname} = %{version}-%{release}
Requires: perl-JSON
Requires: perl-base >= 5.18.2
Requires(post): desktop-file-utils
Requires(postun):desktop-file-utils
Requires(postun): desktop-file-utils
%{?systemd_ordering}
%description
@@ -137,6 +138,7 @@ HW accelerators from AMD and NVIDIA
%prep
%setup -q
%autopatch -p1
%build
autoreconf -fvi