[flang-commits] [flang] [OpenMP][Flang] Workaround omp_lib error (PR #123666)
Jan Patrick Lehr via flang-commits
flang-commits at lists.llvm.org
Mon Jan 20 12:35:16 PST 2025
https://github.com/jplehr created https://github.com/llvm/llvm-project/pull/123666
It appears that omp_lib is not correctly (or maybe not at all?) found from the build directory. This made a few buildbots break after [PR#121356](https://github.com/llvm/llvm-project/pull/121356) landed.
This is a workaround to unblock the buildbots.
https://lab.llvm.org/staging/#/builders/130/builds/12654
https://lab.llvm.org/buildbot/#/builders/140/builds/15102
https://lab.llvm.org/staging/#/builders/105/builds/13855
>From dc2206e11aff3725392a3ed96dbae2b700853001 Mon Sep 17 00:00:00 2001
From: JP Lehr <JanPatrick.Lehr at amd.com>
Date: Mon, 20 Jan 2025 14:29:46 -0600
Subject: [PATCH] [OpenMP][Flang] Workaround omp_lib error
It appears that omp_lib is not correctly (or maybe not at all?) found
from the build directory. This made a few buildbots break after
PR#121356 landed.
This is a workaround to unblock the buildbots.
---
flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90 b/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90
index d33bdf9f9a8db2..90158a61f75039 100644
--- a/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90
+++ b/flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90
@@ -4,7 +4,8 @@
! CHECK: not yet implemented: Unhandled clause allocate in omp.parallel
! CHECK: LLVM Translation failed for operation: omp.parallel
program p
- use omp_lib
+ !use omp_lib
+ integer(8),parameter::omp_default_mem_alloc=1_8
integer :: x
integer :: a
integer :: i
More information about the flang-commits
mailing list