[Openmp-commits] [PATCH] D31055: [OpenMP] libomptarget: Disable on MacOS X

George Rokos via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Mar 21 11:31:28 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL298411: [OpenMP] libomptarget: Disable on MacOS X (authored by grokos).

Changed prior to commit:
  https://reviews.llvm.org/D31055?vs=92047&id=92519#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D31055

Files:
  openmp/trunk/CMakeLists.txt


Index: openmp/trunk/CMakeLists.txt
===================================================================
--- openmp/trunk/CMakeLists.txt
+++ openmp/trunk/CMakeLists.txt
@@ -4,6 +4,9 @@
 
 add_subdirectory(runtime)
 
-if (NOT WIN32)
+# Currently libomptarget cannot be compiled on Windows or MacOS X.
+# Since the device plugins are only supported on Linux anyway,
+# there is no point in trying to compile libomptarget on other OSes.
+if (NOT (WIN32 OR ${CMAKE_SYSTEM_NAME} MATCHES "Darwin"))
   add_subdirectory(libomptarget)
 endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31055.92519.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170321/9355ea48/attachment.bin>


More information about the Openmp-commits mailing list