[Openmp-commits] [openmp] 9391541 - [OpenMP] [OMPD] OPENMP_INSTALL_LIBDIR is set for the install dir
Vignesh Balasubramanian via Openmp-commits
openmp-commits at lists.llvm.org
Sun Sep 12 21:56:14 PDT 2021
Author: Vignesh Balasubramanian
Date: 2021-09-13T10:25:50+05:30
New Revision: 939154125b336bb7807302ae22a9df91e4f2e69b
URL: https://github.com/llvm/llvm-project/commit/939154125b336bb7807302ae22a9df91e4f2e69b
DIFF: https://github.com/llvm/llvm-project/commit/939154125b336bb7807302ae22a9df91e4f2e69b.diff
LOG: [OpenMP] [OMPD] OPENMP_INSTALL_LIBDIR is set for the install dir
OPENMP_INSTALL_LIBDIR is set to the installation path of shared and static
libompd.This should avoid the mixing of 32 and 64 bit on same path in
multi-lib set-up.
Reviewed By: @mceier
Differential Revision: https://reviews.llvm.org/D109352
Added:
Modified:
openmp/libompd/src/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/libompd/src/CMakeLists.txt b/openmp/libompd/src/CMakeLists.txt
index a835926d200bc..afd553a6d8fba 100644
--- a/openmp/libompd/src/CMakeLists.txt
+++ b/openmp/libompd/src/CMakeLists.txt
@@ -45,6 +45,6 @@ include_directories (
)
INSTALL( TARGETS ompd
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib/static
+ LIBRARY DESTINATION ${OPENMP_INSTALL_LIBDIR}
+ ARCHIVE DESTINATION ${OPENMP_INSTALL_LIBDIR}
RUNTIME DESTINATION bin )
More information about the Openmp-commits
mailing list