[Openmp-commits] [PATCH] D49386: Make tests unsupported if libatomic cannot be found.

Taewook Oh via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Jul 16 11:42:33 PDT 2018


twoh updated this revision to Diff 155730.
twoh added a comment.

Addressing comments from @Hahnfeld. Thanks!


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D49386

Files:
  runtime/test/lit.cfg


Index: runtime/test/lit.cfg
===================================================================
--- runtime/test/lit.cfg
+++ runtime/test/lit.cfg
@@ -53,6 +53,8 @@
     libs += " -lm"
 if config.has_libatomic:
     libs += " -latomic"
+elif 'clang' in config.test_compiler_features:
+    config.unsupported = True
 
 # Allow XFAIL to work
 config.target_triple = [ ]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49386.155730.patch
Type: text/x-patch
Size: 367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180716/f5aeb59d/attachment.bin>


More information about the Openmp-commits mailing list