[open-coarrays] 14/80: Add libcoarrays0d package, using soname and soversion
Alastair McKinstry
mckinstry at moszumanska.debian.org
Wed Oct 25 13:45:45 UTC 2017
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch debian/master
in repository open-coarrays.
commit 15a0aac3b40e4865eb825419f0b0d170f6e1bd5f
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Fri Jun 3 15:08:27 2016 +0100
Add libcoarrays0d package, using soname and soversion
---
debian/control | 18 ++++++++++++++++--
debian/patches/shared.patch | 13 +++++++++----
2 files changed, 25 insertions(+), 6 deletions(-)
diff --git a/debian/control b/debian/control
index 70750f1..95eca53 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Package: libcoarrays-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, gfortran (>= 6.1-1), mpi-default-bin
-Description: MPI Co-Array Fortran library for gfortran
+Description: Co-Array Fortran libraries for gfortran - development files
OpenCoArrays is an open-source software project that supports the
coarray Fortran (CAF) parallel programming features of the Fortran 2008
standard and several features proposed for Fortran 2015 in the draft
@@ -22,8 +22,22 @@ Description: MPI Co-Array Fortran library for gfortran
This package provides the libraries necessary for gfortran to build parallel
CAF programs built on top of MPI.
+Package: libcoarrrays0d
+Section: libs
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Co-Array Fortran libraries for gfortran
+ OpenCoArrays is an open-source software project that supports the
+ coarray Fortran (CAF) parallel programming features of the Fortran 2008
+ standard and several features proposed for Fortran 2015 in the draft
+ Technical Specification [TS 18508] "Additional Parallel Features in Fortran".
+ .
+ This package provides the libraries necessary for gfortran to build parallel
+ CAF programs built on top of MPI.
+
Package: open-coarrays-bin
-Depends: ${misc:Depends}, libcoarrays-dev (= ${binary:Version})
+Depends: ${misc:Depends}, libcoarrays0d (= ${binary:Version})
+Recommends: libcoarrays-dev
Architecture: any
Description: Executables for running Co-Array Fortran programs
OpenCoArrays is an open-source software project that supports the
diff --git a/debian/patches/shared.patch b/debian/patches/shared.patch
index 98713b8..d9c729c 100644
--- a/debian/patches/shared.patch
+++ b/debian/patches/shared.patch
@@ -18,20 +18,24 @@ Index: open-coarrays-1.6.0/src/mpi/CMakeLists.txt
target_include_directories(caf_mpi PRIVATE ${MPI_C_INCLUDE_PATH})
if (gfortran_compiler)
-@@ -24,8 +25,11 @@ endif()
+@@ -24,9 +25,14 @@ endif()
include_directories(${CMAKE_BINARY_DIR}/mod)
-install(TARGETS caf_mpi EXPORT OpenCoarraysTargets
+install(TARGETS caf_mpi_static EXPORT OpenCoarraysTargets
ARCHIVE DESTINATION lib
+-)
+ )
+install(TARGETS caf_mpi EXPORT OpenCoarraysTargets
+ DESTINATION lib
- )
++ )
++set_target_properties(caf_mpi PROPERTIES SOVERSION 0d SONAME 'libcaf_mpi.so.0d')
++
install(DIRECTORY ${CMAKE_BINARY_DIR}/mod DESTINATION .)
-@@ -74,6 +78,6 @@ file(READ ${CMAKE_CURRENT_SOURCE_DIR}/..
+ # Now we write the script that passes CAF source to the compiler with the necessary arguments
+@@ -74,6 +80,6 @@ file(READ ${CMAKE_CURRENT_SOURCE_DIR}/..
file(APPEND "${caf_launcher}" "${FOOTER}")
# This could be needed to produce shared libraries:
@@ -43,7 +47,7 @@ Index: open-coarrays-1.6.0/src/single/CMakeLists.txt
===================================================================
--- open-coarrays-1.6.0.orig/src/single/CMakeLists.txt
+++ open-coarrays-1.6.0/src/single/CMakeLists.txt
-@@ -1,5 +1,7 @@
+@@ -1,5 +1,8 @@
-add_library(caf_single single.c ../common/caf_auxiliary.c)
-target_compile_options(caf_single INTERFACE -fcoarray=lib)
-install(TARGETS caf_single EXPORT OpenCoarraysTargets
@@ -54,3 +58,4 @@ Index: open-coarrays-1.6.0/src/single/CMakeLists.txt
ARCHIVE DESTINATION lib
)
+install(TARGETS caf_single EXPORT OpenCoarraysTargets DESTINATION lib)
++set_target_properties(caf_single PROPERTIES SOVERSION 0d SONAME 'libcaf_single.so.0d')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/open-coarrays.git
More information about the debian-science-commits
mailing list