<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10pt" ><div dir="ltr" ><div dir="ltr" >Hi,</div>
<div dir="ltr" > </div>
<div dir="ltr" >I don't know the LIT test infrastructure well enough. Recently, openmp-offload-gpu.c started to fail in our downstream test. I find that if I build with LLVM_TARGETS_TO_BUILD="<wbr>PowerPC", the test is "UNSUPPORTED". If I build with LLVM_TARGETS_TO_BUILD="ALL", the test fails. In both cases, NO -DLLVM_ENABLE_RUNTIMES="<wbr>openmp" is specified in the cmake command</div>
<div dir="ltr" > </div>
<div dir="ltr" >Any clues of the reason?</div>
<div dir="ltr" > </div>
<div dir="ltr" >The error message:</div>
<div dir="ltr" > </div>
<div dir="ltr" ><div>Exit Code: 1</div>
<div>Command Output (stderr):<br>--<br>llvm-project/clang/test/<wbr>Driver/openmp-offload-gpu.c:<wbr>150:25: error: CHK-NOLIBDEVICE-NOT: excluded string found in input<br>// CHK-NOLIBDEVICE-NOT: error:{{.*}}sm_60<br> ^<br><stdin>:6:8: note: found here<br>clang: error: No library 'libomptarget-nvptx-sm_60.bc' found in the default clang lib directory or in LIBRARY_PATH. Please use --libomptarget-nvptx-bc-path to specify nvptx bitcode library.<br> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr>~~~~~~~~~~~~~</div>
<div><br>Kelvin</div></div></div></div><BR>