From dc2206e11aff3725392a3ed96dbae2b700853001 Mon Sep 17 00:00:00 2001 From: JP Lehr 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 d33bdf9f9a8db..90158a61f7503 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