[flang] [llvm] [flang][OpenMP] Add parsing support for Task detach (PR #112312)

Kiran Chandramohan via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 08:16:54 PST 2024


kiranchandramohan wrote:

> Can anyone suggest on how to fix the buildbot failure on `openmp-offload-sles-build-only`
> 
> Issue: "Cannot read module file for module 'omp_lib': Source file 'omp_lib.mod' was not found"
> 
> We need the module file to access `omp_event_handle_kind` while defining the event handle. Is there a way to disable the test on a target when the module file is missing?

Can you try adding `%openmp_flags` to see whether it fixes the issue like in the following?
```
! RUN: %flang_fc1 -emit-hlfir %openmp_flags %s -o - 2>&1 | FileCheck %s
! RUN: bbc %openmp_flags -emit-hlfir -o - %s 2>&1 | FileCheck %s
```

https://github.com/llvm/llvm-project/pull/112312


More information about the llvm-commits mailing list