[clapack] 02/04: Add soname

Andreas Tille tille at debian.org
Mon May 23 10:04:51 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository clapack.

commit 9d239afe1d8746961f1c195751b81809dd2e5319
Author: Andreas Tille <tille at debian.org>
Date:   Sun May 22 22:43:17 2016 +0200

    Add soname
---
 debian/patches/create_shared_libs.patch |  6 ++++++
 debian/patches/soname.patch             | 36 +++++++++++++++++++++++++++------
 2 files changed, 36 insertions(+), 6 deletions(-)

diff --git a/debian/patches/create_shared_libs.patch b/debian/patches/create_shared_libs.patch
index a420d42..be9b66a 100644
--- a/debian/patches/create_shared_libs.patch
+++ b/debian/patches/create_shared_libs.patch
@@ -1,3 +1,9 @@
+Author: Andreas Tille
+Last-Update: Sat, 21 May 2016 09:41:25 +0200
+Description: Create shared and static libraries.
+ The libraries are renamed from blas/lapack to cblas/clapack to
+ enable parallel installation with lapacke.
+
 --- a/BLAS/SRC/CMakeLists.txt
 +++ b/BLAS/SRC/CMakeLists.txt
 @@ -136,8 +136,9 @@ if(BLAS_COMPLEX16)
diff --git a/debian/patches/soname.patch b/debian/patches/soname.patch
index 74dbd3e..60e0834 100644
--- a/debian/patches/soname.patch
+++ b/debian/patches/soname.patch
@@ -1,22 +1,46 @@
+Author: Andreas Tille
+Last-Update: Sat, 21 May 2016 09:41:25 +0200
+Description: Add soname
+
 --- a/BLAS/SRC/CMakeLists.txt
 +++ b/BLAS/SRC/CMakeLists.txt
-@@ -137,6 +137,8 @@ endif()
+@@ -137,7 +137,18 @@ endif()
    
    
  add_library(cblas SHARED ${ALLOBJ})
-+SET_TARGET_PROPERTIES(cblas PROPERTIES LIBRARY_SOVERSION 3.2.1
-+                                       LIBRARY_VERSION 1)
++set_target_properties(cblas PROPERTIES 
++  ENABLE_EXPORTS On
++  #  LINK_INTERFACE_LIBRARIES ""
++  OUTPUT_NAME cblas
++  VERSION 0.0.0
++  SOVERSION 0
++  )
++
  add_library(cblas_static STATIC ${ALLOBJ})
++set_target_properties(cblas_static PROPERTIES
++  OUTPUT_NAME cblas
++  )
  if(UNIX)
    target_link_libraries(cblas m)
+ endif()
 --- a/SRC/CMakeLists.txt
 +++ b/SRC/CMakeLists.txt
-@@ -376,6 +376,8 @@ if(BUILD_COMPLEX16)
+@@ -376,6 +376,18 @@ if(BUILD_COMPLEX16)
    set(ALLOBJ  ${ZLASRC} ${ALLAUX} ${DZLAUX})
  endif()
  add_library(clapack SHARED ${ALLOBJ} ${ALLXOBJ})
-+SET_TARGET_PROPERTIES(clapack PROPERTIES LIBRARY_SOVERSION 3.2.1
-+                                       LIBRARY_VERSION 1)
++set_target_properties(clapack PROPERTIES 
++  ENABLE_EXPORTS On
++  #  LINK_INTERFACE_LIBRARIES ""
++  OUTPUT_NAME clapack
++  VERSION 0.0.0
++  SOVERSION 0
++  )
++
  add_library(clapack_static STATIC ${ALLOBJ} ${ALLXOBJ})
++set_target_properties(clapack_static PROPERTIES 
++  OUTPUT_NAME clapack
++)
++
  target_link_libraries(clapack cblas)
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clapack.git



More information about the debian-science-commits mailing list