Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 8553d792a9 | |||
| 43dab061cf | |||
| 05877c4f52 | |||
| c73e79d93c | |||
| 2ec450cb95 | |||
| 3a64069362 |
2
_service
2
_service
@@ -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">
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e6b0cea9952604106935eff718c5ebdd8a304ea8916859bd69096e1cb8414931
|
||||
size 20381709
|
||||
3
cpuinfo-0~git1739936485.b73ae6c.obscpio
Normal file
3
cpuinfo-0~git1739936485.b73ae6c.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f34b5c980efcdef308fced7bf40f1923bafd11d80f618830ba2937e7ef3d5bb1
|
||||
size 20394509
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: cpuinfo
|
||||
version: 0~git1720582619.ca67895
|
||||
mtime: 1720582619
|
||||
commit: ca678952a9a8eaa6de112d154e8e104b22f9ab3f
|
||||
version: 0~git1739936485.b73ae6c
|
||||
mtime: 1739936485
|
||||
commit: b73ae6ce38d5dd0b7fe46dbe0a4b5f4bab91c7ea
|
||||
|
||||
20
cpuinfo.spec
20
cpuinfo.spec
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user