6 Commits

Author SHA256 Message Date
8553d792a9 Accepting request 1274639 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/1274639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpuinfo?expand=0&rev=4
2025-05-06 14:40:10 +00:00
43dab061cf Accepting request 1274602 from home:hecormar:branches:openSUSE:Factory:PowerPC
- Exclude ppc64le from builds boo#1242297

OBS-URL: https://build.opensuse.org/request/show/1274602
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/cpuinfo?expand=0&rev=9
2025-05-05 14:40:08 +00:00
05877c4f52 Accepting request 1248453 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/1248453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpuinfo?expand=0&rev=3
2025-02-26 16:16:39 +00:00
c73e79d93c Accepting request 1247946 from home:jengelh:branches:science:machinelearning
- Update to snapshot b73ae6ce38d
- Ditch the build-time move of /usr/share/cpuinfo to
  /usr/share/cmake, as this breaks e.g. SVT-AV1 3.x.
- Rework soname.patch so the package actually follows SLPP.

OBS-URL: https://build.opensuse.org/request/show/1247946
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/cpuinfo?expand=0&rev=7
2025-02-25 18:46:15 +00:00
2ec450cb95 Accepting request 1235984 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/1235984
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpuinfo?expand=0&rev=2
2025-01-09 14:11:14 +00:00
3a64069362 Accepting request 1235981 from home:AdaLovelace:branches:science:machinelearning
- ExcludeArch s390x because it is not supported by IBM boo#1235402

OBS-URL: https://build.opensuse.org/request/show/1235981
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/cpuinfo?expand=0&rev=5
2025-01-08 16:14:37 +00:00
7 changed files with 48 additions and 17 deletions

View File

@@ -3,7 +3,7 @@
<param name="url">https://github.com/pytorch/cpuinfo</param>
<param name="scm">git</param>
<param name="versionformat">0~git%ct.%h</param>
<param name="revision">ca678952a9a8eaa6de112d154e8e104b22f9ab3f</param>
<param name="revision">b73ae6ce38d5dd0b7fe46dbe0a4b5f4bab91c7ea</param>
</service>
<service name="tar" mode="buildtime" />
<service name="recompress" mode="buildtime">

View File

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

View File

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

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Mon May 5 12:42:39 PM UTC 2025 - Hector Oron Martinez <hector.oron@gmail.com>
- Exclude ppc64le from builds boo#1242297
-------------------------------------------------------------------
Sun Feb 23 21:04:45 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to snapshot b73ae6ce38d
* Add a API to check SVE Length support on ARM CPU. (#255)
* Add detection for `sme` and `sme2` on `aarch64`.
* Detect AMD Zen 5 microarchitecture
* Update cpuinfo to support AVX10.2 ISA detection
- Ditch the build-time move of /usr/share/cpuinfo to
/usr/share/cmake, as this breaks e.g. SVT-AV1 3.x.
- Rework soname.patch so the package actually follows SLPP.
-------------------------------------------------------------------
Wed Jan 8 15:48:32 UTC 2025 - Sarah Kriesch <sarah.kriesch@opensuse.org>
- ExcludeArch s390x because it is not supported by IBM boo#1235402
-------------------------------------------------------------------
Thu Jul 25 03:18:17 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,4 +1,4 @@
name: cpuinfo
version: 0~git1720582619.ca67895
mtime: 1720582619
commit: ca678952a9a8eaa6de112d154e8e104b22f9ab3f
version: 0~git1739936485.b73ae6c
mtime: 1739936485
commit: b73ae6ce38d5dd0b7fe46dbe0a4b5f4bab91c7ea

View File

@@ -1,7 +1,7 @@
#
# spec file for package cpuinfo
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,22 +17,24 @@
Name: cpuinfo
Version: 0~git1720582619.ca67895
Version: 0~git1739936485.b73ae6c
Release: 0
Summary: Tools for obtaining CPU information
License: BSD-2-Clause
URL: https://github.com/pytorch/cpuinfo
Source: %name-%version.tar.xz
Patch1: soname.patch
Patch1: soname.patch
BuildRequires: cmake
ExcludeArch: s390x ppc64le
%description
cpuinfo is a library to detect essential for performance optimization
information about host CPU.
%define lname libcpuinfo0
%define lname libcpuinfo-suse0
%package -n %lname
Summary: CPU INFOrmation library
Summary: CPU information library
%description -n %lname
cpuinfo is a library to detect essential for performance optimization
@@ -67,8 +69,8 @@ scripts.
%install
%cmake_install
mkdir -p %buildroot/usr/share/cmake
mv %buildroot/usr/share/{,cmake/}cpuinfo
# second part of soname.patch (cmake does not support libtool-style -release option)
mv %buildroot/%_libdir/libcpuinfo-suse.so %buildroot/%_libdir/libcpuinfo.so
%ldconfig_scriptlets -n %lname
@@ -83,12 +85,12 @@ mv %buildroot/usr/share/{,cmake/}cpuinfo
%endif
%files -n %lname
%_libdir/libcpuinfo.so.*
%_libdir/libcpuinfo-*.so.*
%files devel
%_includedir/cpuinfo.h
%_libdir/libcpuinfo.so
%_libdir/pkgconfig/libcpuinfo.pc
%_datadir/cmake/cpuinfo
%_datadir/cpuinfo/
%changelog

View File

@@ -1,3 +1,10 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2025-02-23 21:57:59.617153408 +0100
Unversioned libraries are uncool; add an unambiguous suffix to it.
(To mimic libtool's -release, the build recipe needs to rename
libcpuinfo-suse.so back to libcpuinfo.so.)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4634a22..87178a9 100644
--- a/CMakeLists.txt
@@ -6,7 +13,7 @@ index 4634a22..87178a9 100644
ELSE()
MESSAGE(FATAL_ERROR "Unsupported library type ${CPUINFO_LIBRARY_TYPE}")
ENDIF()
+set_target_properties(cpuinfo PROPERTIES VERSION 0.0.0 SOVERSION 0)
+set_target_properties(cpuinfo PROPERTIES OUTPUT_NAME cpuinfo-suse SOVERSION 0)
ADD_LIBRARY(cpuinfo_internals STATIC ${CPUINFO_SRCS})
CPUINFO_TARGET_ENABLE_C99(cpuinfo)
CPUINFO_TARGET_ENABLE_C99(cpuinfo_internals)