flang/0001-flang-Remove-the-dependency-on-Bye.patch
2024-09-20 11:26:23 +02:00

47 lines
1.7 KiB
Diff

From c02acfc822d556bac3241f3b0bf5554bcb2b2c2c Mon Sep 17 00:00:00 2001
From: Tulio Magno Quites Machado Filho <tuliom@redhat.com>
Date: Wed, 22 Feb 2023 18:46:40 -0300
Subject: [PATCH] Remove the dependency on Bye
This plugin is not distributed on Fedora.
---
flang/test/CMakeLists.txt | 3 ---
flang/test/Driver/frontend-forwarding.f90 | 3 +--
2 files changed, 1 insertion(+), 5 deletions(-)
diff ---git a/flang/test/CMakeLists.txt b/flang/test/CMakeLists.txt
--- a/flang-19.1.0-rc4.src.orig/test/CMakeLists.txt 2024-09-03 16:09:11.000000000 +0200
+++ b/flang-19.1.0-rc4.src/test/CMakeLists.txt 2024-09-14 06:41:27.990104254 +0200
@@ -64,9 +64,6 @@
FortranRuntime
FortranDecimal
)
-if (LLVM_ENABLE_PLUGINS AND NOT WIN32)
- list(APPEND FLANG_TEST_DEPENDS Bye)
-endif()
if (FLANG_INCLUDE_TESTS)
if (FLANG_GTEST_AVAIL)
diff -ruN flang-19.1.0-rc4.src.orig/test/Driver/frontend-forwarding.f90 flang-19.1.0-rc4.src/test/Driver/frontend-forwarding.f90
--- a/flang-19.1.0-rc4.src.orig/test/Driver/frontend-forwarding.f90 2024-09-03 16:09:11.000000000 +0200
+++ b/flang-19.1.0-rc4.src/test/Driver/frontend-forwarding.f90 2024-09-14 06:41:27.990104254 +0200
@@ -15,7 +15,6 @@
! RUN: -fassociative-math \
! RUN: -freciprocal-math \
! RUN: -fomit-frame-pointer \
-! RUN: -fpass-plugin=Bye%pluginext \
! RUN: -fversion-loops-for-stride \
! RUN: -flang-experimental-hlfir \
! RUN: -flang-deprecated-no-hlfir \
@@ -47,7 +46,6 @@
! CHECK: "-mreassociate"
! CHECK: "-freciprocal-math"
! CHECK: "-fconvert=little-endian"
-! CHECK: "-fpass-plugin=Bye
! CHECK: "-fversion-loops-for-stride"
! CHECK: "-flang-experimental-hlfir"
! CHECK: "-flang-deprecated-no-hlfir"
--
2.41.0