[Openmp-commits] [PATCH] D115150: [openmp] Run tests on both runtimes, independent of the default

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Dec 6 06:04:34 PST 2021


JonChesterfield created this revision.
JonChesterfield added reviewers: jdoerfert, tianshilei1992, ronlieb, ye-luo.
Herald added subscribers: guansong, tpr, yaxunl.
JonChesterfield requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.

Minor fix to the lit.cfg. Currently, nvptx probably runs the
tests twice on the new runtime. Soon, amdgpu will run them on the new
runtime as well as the old.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115150

Files:
  openmp/libomptarget/test/lit.cfg


Index: openmp/libomptarget/test/lit.cfg
===================================================================
--- openmp/libomptarget/test/lit.cfg
+++ openmp/libomptarget/test/lit.cfg
@@ -102,6 +102,8 @@
         config.test_flags += " --libomptarget-nvptx-bc-path=" + config.library_dir
     if config.libomptarget_current_target.endswith('-newRTL'):
         config.test_flags += " -fopenmp-target-new-runtime"
+    else:
+        config.test_flags += " -fno-openmp-target-new-runtime"
 
 # substitutions
 # - for targets that exist in the system create the actual command.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115150.392037.patch
Type: text/x-patch
Size: 574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20211206/7cafe2ca/attachment.bin>


More information about the Openmp-commits mailing list