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

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Mar 17 00:09:02 PDT 2017


Hahnfeld added a comment.

Ideally, we should check if the linker supports `--version-script`, but currently this yields no benefit.



================
Comment at: CMakeLists.txt:10
+# there is no point in trying to compile libomptarget on other OSes.
+if (NOT (WIN32 OR ${CMAKE_SYSTEM_NAME} MATCHES "Darwin"))
   add_subdirectory(libomptarget)
----------------
Should we do this the other way around and say `CMAKE_SYSTEM_NAME MATCHES "Linux"`?


Repository:
  rL LLVM

https://reviews.llvm.org/D31055





More information about the Openmp-commits mailing list