diff options
author | Joseph Huber <huberjn@outlook.com> | 2024-05-29 08:57:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 08:57:16 -0500 |
commit | df9701bfee2b13282a9c1bf981d37b965cb22bf7 (patch) | |
tree | 38ec67f7494c83d301047f92bbff97719a78e0a4 /openmp/runtime | |
parent | 753ac4786e250604224701616f0962e41e163a02 (diff) | |
download | llvm-df9701bfee2b13282a9c1bf981d37b965cb22bf7.zip llvm-df9701bfee2b13282a9c1bf981d37b965cb22bf7.tar.gz llvm-df9701bfee2b13282a9c1bf981d37b965cb22bf7.tar.bz2 |
[OpenMP] Fix multiply installing `libomp.so` (#93685)
Summary:
The `add_llvm_library` interface handles installing the llvm libraries,
however we want to do our own handling. Otherwise, this will install
into the `./lib` location instead of the `./lib/<target>` one.
Diffstat (limited to 'openmp/runtime')
-rw-r--r-- | openmp/runtime/src/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openmp/runtime/src/CMakeLists.txt b/openmp/runtime/src/CMakeLists.txt index 612d784..62c35c1 100644 --- a/openmp/runtime/src/CMakeLists.txt +++ b/openmp/runtime/src/CMakeLists.txt @@ -177,6 +177,7 @@ else() add_llvm_library(omp ${LIBOMP_LIBRARY_KIND} ${LIBOMP_SOURCE_FILES} PARTIAL_SOURCES_INTENDED LINK_LIBS ${LIBOMP_CONFIGURED_LIBFLAGS} ${LIBOMP_DL_LIBS} LINK_COMPONENTS Support + BUILDTREE_ONLY ) # libomp must be a C++ library such that it can link libLLVMSupport set(LIBOMP_LINKER_LANGUAGE CXX) |