<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Kelvin,<div class=""><br class=""></div><div class="">If only building with target PPC, this case will not be run because clang cannot process CUDA code.</div><div class="">I think it’s related to our recent change that the bitcode library is required when building OpenMP program so I updated the driver. However it passed the test before (locally and on Phab). I’ll try to reproduce and fix it accordingly.</div><div class=""><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Regards,<br class="">Shilei<br class=""></div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Mar 18, 2021, at 3:14 PM, Kelvin Li via Openmp-dev <<a href="mailto:openmp-dev@lists.llvm.org" class="">openmp-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10pt"><div dir="ltr" class=""><div dir="ltr" class="">Hi,</div>
<div dir="ltr" class=""> </div>
<div dir="ltr" class="">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 class="">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 class="">openmp" is specified in the cmake command</div>
<div dir="ltr" class=""> </div>
<div dir="ltr" class="">Any clues of the reason?</div>
<div dir="ltr" class=""> </div>
<div dir="ltr" class="">The error message:</div>
<div dir="ltr" class=""> </div>
<div dir="ltr" class=""><div class="">Exit Code: 1</div>
<div class="">Command Output (stderr):<br class="">--<br class="">llvm-project/clang/test/<wbr class="">Driver/openmp-offload-gpu.c:<wbr class="">150:25: error: CHK-NOLIBDEVICE-NOT: excluded string found in input<br class="">// CHK-NOLIBDEVICE-NOT: error:{{.*}}sm_60<br class=""> ^<br class=""><stdin>:6:8: note: found here<br class="">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 class=""> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr class="">~~~~~~~~~~~~~</div>
<div class=""><br class="">Kelvin</div></div></div></div><br class="">
_______________________________________________<br class="">Openmp-dev mailing list<br class=""><a href="mailto:Openmp-dev@lists.llvm.org" class="">Openmp-dev@lists.llvm.org</a><br class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev<br class=""></div></blockquote></div><br class=""></div></body></html>