commit:     5b54791ed4bf7d63bdd86162f9deb71ebcfb4407
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 12 20:45:36 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Dec 12 20:46:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b54791e

dev-libs/cpuinfo: add 2025.11.14

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-libs/cpuinfo/Manifest                          |  1 +
 dev-libs/cpuinfo/cpuinfo-2025.11.14.ebuild         | 36 ++++++++++++++++++++++
 .../cpuinfo/files/cpuinfo-2025.11.14-cmake.patch   | 19 ++++++++++++
 3 files changed, 56 insertions(+)

diff --git a/dev-libs/cpuinfo/Manifest b/dev-libs/cpuinfo/Manifest
index c5d1cfc15cce..5766f6440f4b 100644
--- a/dev-libs/cpuinfo/Manifest
+++ b/dev-libs/cpuinfo/Manifest
@@ -1 +1,2 @@
 DIST cpuinfo-2025.03.21.tar.gz 3546060 BLAKE2B 
eeb919f928def82c9eb891f17e331c4d52676d0eee1122056c4ebf29412c3e3c9640e3b9766fc9cd6e335756bf1416413fe51dac7f22555e2a7ce2fa4351dc44
 SHA512 
d01cccca50ad7eac52b41f7e5d56e939bcdaca1d75671f62e12f88f7eedd36b7ad5f3628675ce943a88be535de41252a490cf70130dd54cfa0eb5c910090b82f
+DIST cpuinfo-2025.11.14.tar.gz 3548073 BLAKE2B 
84d5151de9e5fcb3661c309e5bdddd94ea003413b63bdc777573dd499a5d05e2ee1d52f215eacd558000b9e59648e157af729397ec6167ff45cab9785b0b911c
 SHA512 
cd7c0c1ea59fac69f2746f65f59656798eeb87410c304ac9d3b3d26ebea4f4124d1426c10fb4b87ff5f93f367ea10d63337f519ee3c3f8fefbb4b7ebf6438130

diff --git a/dev-libs/cpuinfo/cpuinfo-2025.11.14.ebuild 
b/dev-libs/cpuinfo/cpuinfo-2025.11.14.ebuild
new file mode 100644
index 000000000000..dfae952e108a
--- /dev/null
+++ b/dev-libs/cpuinfo/cpuinfo-2025.11.14.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+CommitId=f858c30bcb16f8effd5ff46996f0514539e17abc
+
+DESCRIPTION="CPU INFOrmation library"
+HOMEPAGE="https://github.com/pytorch/cpuinfo/";
+SRC_URI="https://github.com/pytorch/${PN}/archive/${CommitId}.tar.gz
+       -> ${P}.tar.gz"
+
+S="${WORKDIR}"/${PN}-${CommitId}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+BDEPEND="test? ( dev-cpp/gtest )"
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-2023.11.04-gentoo.patch
+       "${FILESDIR}"/${PN}-2023.01.13-test.patch
+       "${FILESDIR}"/${P}-cmake.patch
+)
+
+src_configure() {
+       local mycmakeargs=(
+               -DCPUINFO_BUILD_BENCHMARKS=OFF
+               -DCPUINFO_BUILD_UNIT_TESTS=$(usex test ON OFF)
+       )
+       cmake_src_configure
+}

diff --git a/dev-libs/cpuinfo/files/cpuinfo-2025.11.14-cmake.patch 
b/dev-libs/cpuinfo/files/cpuinfo-2025.11.14-cmake.patch
new file mode 100644
index 000000000000..75204f0b7c09
--- /dev/null
+++ b/dev-libs/cpuinfo/files/cpuinfo-2025.11.14-cmake.patch
@@ -0,0 +1,19 @@
+--- a/deps/clog/CMakeLists.txt 2025-07-03 13:48:59.732799363 +0200
++++ b/deps/clog/CMakeLists.txt 2025-07-03 13:49:19.943589382 +0200
+@@ -1,4 +1,4 @@
+-CMAKE_MINIMUM_REQUIRED(VERSION 3.1 FATAL_ERROR)
++CMAKE_MINIMUM_REQUIRED(VERSION 3.10 FATAL_ERROR)
+ 
+ INCLUDE(GNUInstallDirs)
+ 
+--- a/CMakeLists.txt   2025-11-16 18:05:37.024756666 +0100
++++ b/CMakeLists.txt   2025-11-16 18:06:04.759313935 +0100
+@@ -42,7 +42,7 @@
+ 
+ MACRO(CPUINFO_TARGET_ENABLE_CXX11 target)
+   SET_TARGET_PROPERTIES(${target} PROPERTIES
+-    CXX_STANDARD 14
++    CXX_STANDARD 17
+     CXX_EXTENSIONS NO)
+ ENDMACRO()
+ 

Reply via email to