Commit f8b8124c authored by Praetorius, Simon's avatar Praetorius, Simon

several binary packages created from one source package

parent d51f8d70
libamdis (1.1~rc1-1) UNRELEASED; urgency=medium
amdis (1.1~rc1-1) UNRELEASED; urgency=medium
* CMake configuration redesigned
* ARH3 reader corrected to parse .parh files correctly
......@@ -10,4 +10,4 @@ libamdis (1.1~rc1-1) UNRELEASED; urgency=medium
* DirichletBC accepting expressions as value
* Resenbrock time-discretization in parallel
-- Simon Praetorius <simon.praetorius@tu-dresden.de> Mon, 31 Oct 2016 10:46:58 +0100
\ No newline at end of file
-- Simon Praetorius <simon.praetorius@tu-dresden.de> Mon, 31 Oct 2016 10:46:58 +0100
set(CPACK_PACKAGE_NAME "@PACKAGE_NAME@")
set(CPACK_PACKAGE_NAME "@PACKAGE_SOURCE_NAME@")
set(CPACK_PACKAGE_VERSION "1.1~rc1")
SET(CPACK_PACKAGE_VERSION_MAJOR "1")
SET(CPACK_PACKAGE_VERSION_MINOR "1")
......
......@@ -2,6 +2,7 @@
# CONFIG = [Debug|Release]
# COMPONENT = [SEQUENTIAL|PARALLEL]
set(PACKAGE_SOURCE_NAME "amdis")
set(PACKAGE_NAME "libamdis")
if ("${COMPONENT}" STREQUAL "PARALLEL")
......@@ -12,12 +13,11 @@ else ()
endif ()
if ("${CONFIG}" STREQUAL "Debug")
set(PACKAGE_NAME "${PACKAGE_NAME}-dbg")
set(PACKAGE_NAME "${PACKAGE_NAME}-debug")
set(PACKAGE_SECTION "debug")
else ()
set(PACKAGE_SECTION "misc")
endif ()
# set(PACKAGE_NAME "${PACKAGE_NAME}-dev")
set(IN_DIR ${CMAKE_SOURCE_DIR}/tools/packaging/debian)
set(OUT_DIR ${CMAKE_SOURCE_DIR}/debian_package)
......@@ -71,6 +71,9 @@ configure_file(${CMAKE_SOURCE_DIR}/CHANGELOG ${DEBIAN_DIR}/changelog COPYONLY)
configure_file(${IN_DIR}/debian.copyright.in ${DEBIAN_DIR}/copyright @ONLY)
configure_file(${IN_DIR}/debian.control.in ${DEBIAN_DIR}/control @ONLY)
configure_file(${IN_DIR}/debian.rules.in ${DEBIAN_DIR}/rules @ONLY)
configure_file(${IN_DIR}/libamdis-dev.install ${DEBIAN_DIR}/libamdis-dev.install @ONLY)
configure_file(${IN_DIR}/libamdis.install ${DEBIAN_DIR}/libamdis.install @ONLY)
configure_file(${IN_DIR}/libamdis-par.install ${DEBIAN_DIR}/libamdis-par.install @ONLY)
execute_process(COMMAND chmod +x ${DEBIAN_DIR}/rules)
file(WRITE ${DEBIAN_DIR}/compat "9\n")
file(WRITE ${DEBIAN_DIR}/soure/format "3.0 (quilt)\n")
......
Source: @PACKAGE_NAME@
Source: amdis
Maintainer: @PACKAGE_CONTACT@
Section: @PACKAGE_SECTION@
Section: contrib/misc
Priority: optional
Standards-Version: 3.9.2
Vcs-Git: https://gitlab.math.tu-dresden.de/iwr/amdis.git
Homepage: https://gitlab.math.tu-dresden.de/iwr/amdis
Build-Depends: debhelper (>= 9), libboost-date-time-dev (>= 1.48),
libboost-filesystem-dev (>= 1.48), libboost-iostreams-dev (>= 1.48),
libboost-program-options-dev (>= 1.48), libboost-system-dev (>= 1.48),
zlib1g-dev (>= 1.2), libsuitesparse-dev (>= 4.2.1), cmake (>= 2.8.10)
zlib1g-dev (>= 1.2), libsuitesparse-dev (>= 4.2.1), cmake (>= 2.8.10),
petsc-dev (>= 3.3), libparmetis-dev (>= 3.0)
Package: @PACKAGE_NAME@
Package: libamdis-dev
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libboost-date-time-dev (>= 1.48),
libboost-filesystem-dev (>= 1.48), libboost-iostreams-dev (>= 1.48),
libboost-program-options-dev (>= 1.48), libboost-system-dev (>= 1.48),
zlib1g-dev (>= 1.2), libsuitesparse-dev (>= 4.2.1), cmake (>= 2.8.10)
zlib1g-dev (>= 1.2), cmake (>= 2.8.10)
Recommends: libamdis (= @PACKAGE_VERSION@), libamdis-par (= @PACKAGE_VERSION@)
Suggests: libamdis-debug (= @PACKAGE_VERSION@), libamdis-par-debug (= @PACKAGE_VERSION@)
Description: @PACKAGE_DESCRIPTION_SUMMARY@
@PACKAGE_DESCRIPTION@
.
This package provides the include header-files of AMDiS.
Package: libamdis
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libamdis-dev (= @PACKAGE_VERSION@),
libsuitesparse-dev (>= 4.2.1)
Description: @PACKAGE_DESCRIPTION_SUMMARY@
@PACKAGE_DESCRIPTION@
.
This is the sequential version in Release mode of AMDiS.
Package: libamdis-par
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libamdis-dev (= @PACKAGE_VERSION@),
petsc-dev (>= 3.3), libparmetis-dev (>= 3.0)
Description: @PACKAGE_DESCRIPTION_SUMMARY@
@PACKAGE_DESCRIPTION@
.
This is the parallel version in Release mode of AMDiS.
......@@ -4,8 +4,49 @@
dh $@
override_dh_auto_configure:
cmake -DCMAKE_BUILD_TYPE=@CONFIG@ \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
dh_auto_configure -Scmake -DAMDiS --builddirectory=build_libamdis --package=libamdis -- \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_EXTENSIONS:BOOL=ON \
-DENABLE_COMPRESSION:BOOL=ON @ADDITIONAL_FLAGS@ \
AMDiS
-DENABLE_COMPRESSION:BOOL=ON \
-DENABLE_UMFPACK:BOOL=ON
dh_auto_configure -Scmake -DAMDiS --builddirectory=build_libamdis_par --package=libamdis-par -- \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_EXTENSIONS:BOOL=ON \
-DENABLE_COMPRESSION:BOOL=ON \
-DENABLE_UMFPACK:BOOL=OFF \
-DENABLE_PARALLEL_DOMAIN:BOOL=ON
# dh_auto_configure -Scmake -DAMDiS --builddirectory=build_libamdis_par_debug --package=libamdis-par-debug -- \
# -DCMAKE_BUILD_TYPE=Debug \
# -DENABLE_EXTENSIONS:BOOL=ON \
# -DENABLE_COMPRESSION:BOOL=ON \
# -DENABLE_UMFPACK:BOOL=OFF \
# -DENABLE_PARALLEL_DOMAIN:BOOL=ON
# dh_auto_configure -Scmake -DAMDiS --builddirectory=build_libamdis_debug --package=libamdis-debug -- \
# -DCMAKE_BUILD_TYPE=Debug \
# -DENABLE_EXTENSIONS:BOOL=ON \
# -DENABLE_COMPRESSION:BOOL=ON \
# -DENABLE_UMFPACK:BOOL=ON
override_dh_auto_build:
dh_auto_build --builddirectory=build_libamdis --package=libamdis
dh_auto_build --builddirectory=build_libamdis_par --package=libamdis-par
# dh_auto_build -DAMDiS --builddirectory=build_libamdis_debug --package=libamdis-debug
# dh_auto_build -DAMDiS --builddirectory=build_libamdis_par_debug --package=libamdis-par-debug
override_dh_auto_install:
dh_auto_install --builddirectory=build_libamdis --package=libamdis
dh_install --package=libamdis-dev
dh_install --package=libamdis
dh_auto_install --builddirectory=build_libamdis_par --package=libamdis-par
dh_install --package=libamdis-par
# override_dh_strip:
# dh_Strip --remaining-packages
# dh_strip --package=libamdis-debug --keep-debug
# dh_strip --package=libamdis-par-debug --keep-debug
/usr/lib/amdis/libamdis-sd.so
/usr/lib/amdis/libamdiscompositefem-sd.so
/usr/lib/amdis/libamdisreinit-sd.so
/usr/lib/amdis/libamdisextensions-sd.so
/usr/share/amdis/AMDIS-sd.cmake
/usr/include/amdis/
/usr/lib/amdis/libmuparser.so
/usr/share/amdis/AMDISConfig.cmake
/usr/share/amdis/AMDISConfigVersion.cmake
/usr/share/amdis/AMDISUse.cmake
/usr/share/amdis/target_enable_bddcml.cmake
/usr/share/amdis/target_enable_boost.cmake
/usr/share/amdis/target_enable_cxx11.cmake
/usr/share/amdis/target_enable_hypre.cmake
/usr/share/amdis/target_enable_mtl4.cmake
/usr/share/amdis/target_enable_petsc.cmake
/usr/share/amdis/target_enable_png.cmake
/usr/share/amdis/target_enable_umfpack.cmake
/usr/share/amdis/target_enable_zoltan.cmake
/usr/lib/amdis/libamdis-pd.so
/usr/lib/amdis/libamdiscompositefem-pd.so
/usr/lib/amdis/libamdisreinit-pd.so
/usr/lib/amdis/libamdisextensions-pd.so
/usr/share/amdis/AMDIS-pd.cmake
/usr/lib/amdis/libamdis-p.so
/usr/lib/amdis/libamdiscompositefem-p.so
/usr/lib/amdis/libamdisreinit-p.so
/usr/lib/amdis/libamdisextensions-p.so
/usr/share/amdis/AMDIS-p.cmake
/usr/lib/amdis/libamdis-s.so
/usr/lib/amdis/libamdiscompositefem-s.so
/usr/lib/amdis/libamdisreinit-s.so
/usr/lib/amdis/libamdisextensions-s.so
/usr/share/amdis/AMDIS-s.cmake
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment