[Openmp-commits] [PATCH] D39052: [CMake] Re-enable libomptarget and restrict tests to Clang 6.0.0
Jonas Hahnfeld via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Nov 22 09:11:25 PST 2017
Hahnfeld added inline comments.
================
Comment at: libomptarget/test/CMakeLists.txt:30-52
+
+ if (NOT(${LIBOMPTARGET_TEST_C_COMPILER} MATCHES "clang" AND ${LIBOMPTARGET_TEST_CXX_COMPILER} MATCHES "clang"))
+ libomptarget_say("Can only test with Clang compiler!")
+ libomptarget_warning_say("The check-libomptarget target will not be available!")
+ return()
+ endif()
+
----------------
btw: This will get much nicer with D40083. But I don't want to hold this one back...
https://reviews.llvm.org/D39052
More information about the Openmp-commits
mailing list