[flang-commits] [flang] [OpenMP][Flang] Workaround omp_lib error (PR #123666)
via flang-commits
flang-commits at lists.llvm.org
Mon Jan 20 12:35:51 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-flang-openmp
@llvm/pr-subscribers-flang-fir-hlfir
Author: Jan Patrick Lehr (jplehr)
<details>
<summary>Changes</summary>
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
---
Full diff: https://github.com/llvm/llvm-project/pull/123666.diff
1 Files Affected:
- (modified) flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90 (+2-1)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/123666
More information about the flang-commits
mailing list