Fix ppc64le tests with the right triple
This commit is contained in:
parent
f419afebc4
commit
daaf0ad7ab
26
0001-PowerPC-clang-Fix-triple.patch
Normal file
26
0001-PowerPC-clang-Fix-triple.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 701750a896a08d5841a7bc0d187bcddaa6c0f616 Mon Sep 17 00:00:00 2001
|
||||
From: Tulio Magno Quites Machado Filho <tuliom@redhat.com>
|
||||
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
|
||||
|
@ -42,7 +42,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
|
||||
@ -68,7 +68,8 @@ Patch4: 0001-cmake-Allow-shared-libraries-to-customize-the-soname.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
|
||||
@ -611,6 +612,9 @@ false
|
||||
|
||||
%endif
|
||||
%changelog
|
||||
* Thu Mar 16 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc4-2
|
||||
- Fix tests with the right triple
|
||||
|
||||
* Tue Mar 14 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc4-1
|
||||
- Update to LLVM 16.0.0 RC4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user