From 22846ba9157cd54a10834dc3adaf8fefcc480f56 Mon Sep 17 00:00:00 2001 From: Tulio Magno Quites Machado Filho Date: May 15 2023 20:11:48 +0000 Subject: Remove patch for ppc64le triple Prefer the python-lit patch from https://reviews.llvm.org/D149746 --- diff --git a/0001-PowerPC-clang-Fix-triple.patch b/0001-PowerPC-clang-Fix-triple.patch deleted file mode 100644 index f8e6912..0000000 --- a/0001-PowerPC-clang-Fix-triple.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 701750a896a08d5841a7bc0d187bcddaa6c0f616 Mon Sep 17 00:00:00 2001 -From: Tulio Magno Quites Machado Filho -Date: Thu, 16 Mar 2023 17:22:24 -0300 -Subject: [PATCH] [PowerPC][clang] Fix triple - -Some Linux distributions use ppc64le instead of powerpc. ---- - clang/test/CodeGenCoroutines/pr56329.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/clang/test/CodeGenCoroutines/pr56329.cpp b/clang/test/CodeGenCoroutines/pr56329.cpp -index 31d4849af4e7..69e0f1d337cf 100644 ---- a/clang/test/CodeGenCoroutines/pr56329.cpp -+++ b/clang/test/CodeGenCoroutines/pr56329.cpp -@@ -2,7 +2,7 @@ - // - // RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++20 %s -O3 -S -emit-llvm -o - | FileCheck %s - // This test is expected to fail on PowerPC. --// XFAIL: target=powerpc{{.*}} -+// XFAIL: target={{(ppc|powerpc).*}} - - #include "Inputs/coroutine.h" - --- -2.39.2 - diff --git a/clang.spec b/clang.spec index 695476d..fc615d2 100644 --- a/clang.spec +++ b/clang.spec @@ -41,7 +41,7 @@ Name: %pkg_name Version: %{clang_version}%{?rc_ver:~rc%{rc_ver}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: A C language family front-end for LLVM License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -64,8 +64,6 @@ Patch3: 0001-Driver-Add-a-gcc-equivalent-triple-to-the-list-of-tr.patch # Drop the following patch after debugedit adds support to DWARF-5: # https://sourceware.org/bugzilla/show_bug.cgi?id=28728 Patch5: 0010-PATCH-clang-Produce-DWARF4-by-default.patch -# Fix a test based on the triple used on RHEL-based systems. -Patch6: 0001-PowerPC-clang-Fix-triple.patch # Make clangBasic and clangDriver depend on LLVMTargetParser # See https://reviews.llvm.org/D141581 Patch7: D141581.diff @@ -604,6 +602,9 @@ false %endif %changelog +* Mon May 15 2023 Tulio Magno Quites Machado Filho - 16.0.3-2 +- Remove patch for ppc64le triple in favor of https://reviews.llvm.org/D149746 + * Tue May 09 2023 Tulio Magno Quites Machado Filho - 16.0.3-1 - Update to LLVM 16.0.3