[Openmp-commits] [PATCH] D47221: [cmake] Fix libomptarget/test/CMakeLists.txt

Azharuddin Mohammed via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sun Jul 15 10:34:56 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL337133: [cmake] Fix libomptarget/test/CMakeLists.txt (authored by azharudd, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D47221?vs=148083&id=155588#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D47221

Files:
  openmp/trunk/libomptarget/test/CMakeLists.txt


Index: openmp/trunk/libomptarget/test/CMakeLists.txt
===================================================================
--- openmp/trunk/libomptarget/test/CMakeLists.txt
+++ openmp/trunk/libomptarget/test/CMakeLists.txt
@@ -1,6 +1,6 @@
 # CMakeLists.txt file for unit testing OpenMP offloading runtime library.
-if(NOT "${OPENMP_TEST_COMPILER_ID}" STREQUAL "Clang" OR
-   ${OPENMP_TEST_COMPILER_VERSION} VERSION_LESS 6.0.0)
+if(NOT OPENMP_TEST_COMPILER_ID STREQUAL "Clang" OR
+   OPENMP_TEST_COMPILER_VERSION VERSION_LESS 6.0.0)
   libomptarget_say("Can only test with Clang compiler in version 6.0.0 or later.")
   libomptarget_warning_say("The check-libomptarget target will not be available!")
   return()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47221.155588.patch
Type: text/x-patch
Size: 710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180715/366ea908/attachment.bin>


More information about the Openmp-commits mailing list