[clapack] 03/04: Add libctmg

Andreas Tille tille at debian.org
Sat May 28 09:27:37 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 199de2cebb5be0908aede4cb79f8865a9507b003
Author: Andreas Tille <tille at debian.org>
Date:   Sat May 28 09:39:04 2016 +0200

    Add libctmg
---
 debian/patches/create_shared_libs.patch |  8 ++++----
 debian/patches/soname.patch             | 14 ++++++++++++++
 debian/rules                            |  4 ++++
 3 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/debian/patches/create_shared_libs.patch b/debian/patches/create_shared_libs.patch
index 4e4a073..c025d4a 100644
--- a/debian/patches/create_shared_libs.patch
+++ b/debian/patches/create_shared_libs.patch
@@ -60,7 +60,7 @@ Description: Create shared and static libraries.
  macro(add_lin_executable name )
    add_executable(${name} ${ARGN})
 -  target_link_libraries(${name} tmglib lapack)
-+  target_link_libraries(${name} ctmglib clapack)
++  target_link_libraries(${name} ctmg clapack)
  endmacro(add_lin_executable)
  
  add_lin_executable(xlintsts ${ALINTST} ${SCLNTST} ${SLINTST} 
@@ -71,7 +71,7 @@ Description: Create shared and static libraries.
  macro(add_eig_executable name )
    add_executable(${name} ${ARGN})
 -  target_link_libraries(${name} tmglib lapack )
-+  target_link_libraries(${name} ctmglib clapack )
++  target_link_libraries(${name} ctmg clapack )
  endmacro(add_eig_executable)
  
  add_eig_executable(xeigtsts ${SEIGTST} ${SCIGTST} ${AEIGTST} 
@@ -82,6 +82,6 @@ Description: Create shared and static libraries.
    set(ALLOBJ $(ZMATGEN) $(DZATGEN))
  endif()
 -add_library(tmglib ${ALLOBJ} )
-+add_library(ctmglib SHARED ${ALLOBJ} )
-+add_library(ctmglib_static STATIC ${ALLOBJ} )
++add_library(ctmg SHARED ${ALLOBJ} )
++add_library(ctmg_static STATIC ${ALLOBJ} )
  
diff --git a/debian/patches/soname.patch b/debian/patches/soname.patch
index 1b19547..2f961d6 100644
--- a/debian/patches/soname.patch
+++ b/debian/patches/soname.patch
@@ -44,3 +44,17 @@ Description: Add soname
 +
  target_link_libraries(clapack cblas)
  
+--- a/TESTING/MATGEN/CMakeLists.txt
++++ b/TESTING/MATGEN/CMakeLists.txt
+@@ -67,4 +67,11 @@ if(BUILD_COMPLEX16)
+ endif()
+ add_library(ctmg SHARED ${ALLOBJ} )
+ add_library(ctmg_static STATIC ${ALLOBJ} )
++set_target_properties(ctmg PROPERTIES
++  ENABLE_EXPORTS On
++  #  LINK_INTERFACE_LIBRARIES ""
++  OUTPUT_NAME ctmg
++  VERSION 3.2.1
++  SOVERSION 3
++  )
+ 
diff --git a/debian/rules b/debian/rules
index a937824..4ff388c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,4 +25,8 @@ override_dh_install:
 		    --override s/libcblas3-dev/libcblas-dev/ \
 		    --movedev INCLUDE/clapack.h usr/include \
 		    */SRC/libclapack.so
+	d-shlibmove --commit \
+		    --multiarch \
+		    --devunversioned \
+		    */TESTING/MATGEN/libctmg.so
 	chrpath --delete debian/*/usr/lib/*/libclapack.so.*

-- 
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