[Openmp-commits] [PATCH] D109352: [OpenMP] [OMPD] OPENMP_INSTALL_LIBDIR is set for the install dir

Vignesh Balasubramanian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Sep 7 04:04:21 PDT 2021


Vigneshbalu created this revision.
Vigneshbalu added a reviewer: mceier.
Herald added subscribers: guansong, yaxunl, mgorny.
Vigneshbalu requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109352

Files:
  openmp/libompd/src/CMakeLists.txt


Index: openmp/libompd/src/CMakeLists.txt
===================================================================
--- openmp/libompd/src/CMakeLists.txt
+++ openmp/libompd/src/CMakeLists.txt
@@ -45,6 +45,6 @@
 )
 
 INSTALL( TARGETS ompd
-        LIBRARY DESTINATION lib 
-        ARCHIVE DESTINATION lib/static 
+        LIBRARY DESTINATION ${OPENMP_INSTALL_LIBDIR}
+        ARCHIVE DESTINATION ${OPENMP_INSTALL_LIBDIR}
         RUNTIME DESTINATION bin )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109352.371031.patch
Type: text/x-patch
Size: 449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210907/168cd3d0/attachment-0001.bin>


More information about the Openmp-commits mailing list