[flang-commits] [flang] afced70 - [OpenMP][Flang] Workaround omp_lib error (#123666)

via flang-commits flang-commits at lists.llvm.org
Mon Jan 20 20:41:58 PST 2025


Author: Jan Patrick Lehr
Date: 2025-01-20T22:41:54-06:00
New Revision: afced70e697e66fb6920b53d489d3fa4498e22dc

URL: https://github.com/llvm/llvm-project/commit/afced70e697e66fb6920b53d489d3fa4498e22dc
DIFF: https://github.com/llvm/llvm-project/commit/afced70e697e66fb6920b53d489d3fa4498e22dc.diff

LOG: [OpenMP][Flang] Workaround omp_lib error (#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

Added: 
    

Modified: 
    flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90

Removed: 
    


################################################################################
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