commit: 07f482216e58ada8f8bbcdbc42e3bc2e6c2d733e Author: Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org> AuthorDate: Sun Feb 15 11:43:18 2026 +0000 Commit: Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org> CommitDate: Sun Feb 15 11:43:18 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07f48221
sci-ml/pytorch: remove unused patch Signed-off-by: Michael Mair-Keimberger <mm1ke <AT> gentoo.org> .../files/pytorch-2.7.1-cpp-extension-libcxx.patch | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/sci-ml/pytorch/files/pytorch-2.7.1-cpp-extension-libcxx.patch b/sci-ml/pytorch/files/pytorch-2.7.1-cpp-extension-libcxx.patch deleted file mode 100644 index b4701ca7ac65..000000000000 --- a/sci-ml/pytorch/files/pytorch-2.7.1-cpp-extension-libcxx.patch +++ /dev/null @@ -1,22 +0,0 @@ -Fixes parsing of Clang versions like 20.1.7+libcxx - -Upstream bug: https://github.com/pytorch/pytorch/issues/157665 ---- a/torch/utils/cpp_extension.py -+++ b/torch/utils/cpp_extension.py -@@ -434,13 +434,12 @@ def get_compiler_abi_compatibility_and_version(compiler) -> tuple[bool, TorchVer - try: - if IS_LINUX: - minimum_required_version = MINIMUM_GCC_VERSION -- versionstr = subprocess.check_output([compiler, '-dumpfullversion', '-dumpversion']) -- version = versionstr.decode(*SUBPROCESS_DECODE_ARGS).strip().split('.') -+ compiler_info = subprocess.check_output([compiler, '-dumpfullversion', '-dumpversion']) - else: - minimum_required_version = MINIMUM_MSVC_VERSION - compiler_info = subprocess.check_output(compiler, stderr=subprocess.STDOUT) -- match = re.search(r'(\d+)\.(\d+)\.(\d+)', compiler_info.decode(*SUBPROCESS_DECODE_ARGS).strip()) -- version = ['0', '0', '0'] if match is None else list(match.groups()) -+ match = re.search(r'(\d+)\.(\d+)\.(\d+)', compiler_info.decode(*SUBPROCESS_DECODE_ARGS).strip()) -+ version = ['0', '0', '0'] if match is None else list(match.groups()) - except Exception: - _, error, _ = sys.exc_info() - warnings.warn(f'Error checking compiler version for {compiler}: {error}')
