[Openmp-commits] [PATCH] D39920: [libomptarget] Build all libraries in libomptarget/

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Nov 11 06:00:11 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL317979: [libomptarget] Build all libraries in libomptarget/ (authored by Hahnfeld).

Changed prior to commit:
  https://reviews.llvm.org/D39920?vs=122510&id=122581#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D39920

Files:
  openmp/trunk/libomptarget/CMakeLists.txt


Index: openmp/trunk/libomptarget/CMakeLists.txt
===================================================================
--- openmp/trunk/libomptarget/CMakeLists.txt
+++ openmp/trunk/libomptarget/CMakeLists.txt
@@ -35,6 +35,9 @@
   endif()
   set(LIBOMPTARGET_LIBDIR_SUFFIX "" CACHE STRING
     "suffix of lib installation directory, e.g. 64 => lib64")
+
+  # Build all libraries into a common place so that tests can find them.
+  set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
 else()
   set(LIBOMPTARGET_ENABLE_WERROR ${LLVM_ENABLE_WERROR})
   # If building in tree, we honor the same install suffix LLVM uses.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39920.122581.patch
Type: text/x-patch
Size: 626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20171111/78216cec/attachment.bin>


More information about the Openmp-commits mailing list