[Openmp-commits] [PATCH] D36225: Exclude version symbols for static libomp

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Aug 2 13:10:56 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL309877: Exclude version symbols for static libomp (authored by jlpeyton).

Changed prior to commit:
  https://reviews.llvm.org/D36225?vs=109359&id=109403#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D36225

Files:
  openmp/trunk/runtime/CMakeLists.txt


Index: openmp/trunk/runtime/CMakeLists.txt
===================================================================
--- openmp/trunk/runtime/CMakeLists.txt
+++ openmp/trunk/runtime/CMakeLists.txt
@@ -313,6 +313,11 @@
   set(LIBOMP_USE_ITT_NOTIFY FALSE)
 endif()
 
+if(LIBOMP_USE_VERSION_SYMBOLS AND (NOT LIBOMP_ENABLE_SHARED) )
+  message(STATUS "Version symbols not supported for static libraries - forcing Version symbols functionality off")
+  set (LIBOMP_USE_VERSION_SYMBOLS FALSE)
+endif()
+
 # OMPT-support
 set(LIBOMP_OMPT_DEBUG FALSE CACHE BOOL
   "Trace OMPT initialization?")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36225.109403.patch
Type: text/x-patch
Size: 581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170802/9b9fcc1f/attachment.bin>


More information about the Openmp-commits mailing list