[Openmp-commits] [openmp] r317979 - [libomptarget] Build all libraries in libomptarget/
Jonas Hahnfeld via Openmp-commits
openmp-commits at lists.llvm.org
Sat Nov 11 05:59:45 PST 2017
Author: hahnfeld
Date: Sat Nov 11 05:59:45 2017
New Revision: 317979
URL: http://llvm.org/viewvc/llvm-project?rev=317979&view=rev
Log:
[libomptarget] Build all libraries in libomptarget/
In standalone build, plugins where previously built in their
subdirectory in plugins/ and tests couldn't find them.
Differential Revision: https://reviews.llvm.org/D39920
Modified:
openmp/trunk/libomptarget/CMakeLists.txt
Modified: openmp/trunk/libomptarget/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/libomptarget/CMakeLists.txt?rev=317979&r1=317978&r2=317979&view=diff
==============================================================================
--- openmp/trunk/libomptarget/CMakeLists.txt (original)
+++ openmp/trunk/libomptarget/CMakeLists.txt Sat Nov 11 05:59:45 2017
@@ -35,6 +35,9 @@ if(${LIBOMPTARGET_STANDALONE_BUILD})
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.
More information about the Openmp-commits
mailing list