From fb9b178e7fc162f4f2bf21f0b1be1427d5850b24 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Jan 14 2022 14:35:44 +0000 Subject: Remove obsolete patch This patch is part of the upstream release/13.x branch: https://github.com/llvm/llvm-project/commit/eb845520ac3cd8f51bb84e3422da975a04c8bceb --- diff --git a/0001-Fix-compiler-rt-arch-detection-for-ppc64le.patch b/0001-Fix-compiler-rt-arch-detection-for-ppc64le.patch deleted file mode 100644 index 7ad9295..0000000 --- a/0001-Fix-compiler-rt-arch-detection-for-ppc64le.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 72191190adea8e861e9a383b83799e7472b80e30 Mon Sep 17 00:00:00 2001 -From: Tom Stellard -Date: Thu, 23 Sep 2021 18:06:41 -0700 -Subject: [PATCH] Fix compiler-rt arch detection for ppc64le - ---- - compiler-rt/cmake/base-config-ix.cmake | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/compiler-rt/cmake/base-config-ix.cmake b/compiler-rt/cmake/base-config-ix.cmake -index c11342e68813..3ca9dc0f5515 100644 ---- a/compiler-rt/cmake/base-config-ix.cmake -+++ b/compiler-rt/cmake/base-config-ix.cmake -@@ -204,7 +204,7 @@ macro(test_targets) - test_target_arch(x86_64 "" "") - endif() - endif() -- elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "powerpc64le") -+ elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "powerpc64le|ppc64le") - test_target_arch(powerpc64le "" "-m64") - elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "powerpc") - if(CMAKE_SYSTEM_NAME MATCHES "AIX") --- -2.27.0 - diff --git a/compiler-rt.spec b/compiler-rt.spec index c77c0a1..0181cb8 100644 --- a/compiler-rt.spec +++ b/compiler-rt.spec @@ -21,7 +21,6 @@ Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{compil Source2: tstellar-gpg-key.asc Patch0: 0001-PATCH-compiler-rt-Workaround-libstdc-limitation-wrt..patch -Patch1: 0001-Fix-compiler-rt-arch-detection-for-ppc64le.patch BuildRequires: gcc BuildRequires: gcc-c++