[slepc] 02/04: petsc major version matches slepc version

Drew Parsons dparsons at moszumanska.debian.org
Thu Jun 2 18:24:54 UTC 2016


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

dparsons pushed a commit to branch master
in repository slepc.

commit c32381ae68521fe63eea20d389bd30f900434ac8
Author: Drew Parsons <dparsons at debian.org>
Date:   Thu Jun 2 23:10:08 2016 +0800

    petsc major version matches slepc version
    
    but the minor (patch) version of PETSc is not important, so just build
    SLEPc against the default major version of PETSc
---
 debian/rules | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index bb24a44..658c042 100755
--- a/debian/rules
+++ b/debian/rules
@@ -76,12 +76,10 @@ PACKAGE_INSTALL_DIR=$(PACKAGE_INSTALL_BASEDIR)/$(SLEPC_DIR_PREFIX)
 PACKAGE_COMPLEX_INSTALL_BASEDIR=debian/tmp/$(SLEPC_NAME)-complex
 PACKAGE_COMPLEX_INSTALL_DIR=$(PACKAGE_COMPLEX_INSTALL_BASEDIR)/$(SLEPC_COMPLEX_DIR_PREFIX)
 
-PETSC_SONAME_VERSION=3.6
-PETSC_DEV_PACKAGE=libpetsc$(PETSC_SONAME_VERSION)-dev
-PETSC_VERSION=$(shell dpkg -l $(PETSC_DEV_PACKAGE) | awk '/$(PETSC_DEV_PACKAGE)/ {print $$3}' | sed "s/.dfsg.*//" )
-PETSC_DIR=/usr/lib/petscdir/$(PETSC_VERSION)
-PETSC_DIR_REAL=$(PETSC_DIR)/$(DEB_HOST_MULTIARCH)-real
-PETSC_DIR_COMPLEX=$(PETSC_DIR)/$(DEB_HOST_MULTIARCH)-complex
+PETSC_SONAME_VERSION=$(SLEPC_SONAME_VERSION)
+PETSC_DIR=/usr/lib/petscdir/$(PETSC_SONAME_VERSION)
+PETSC_DIR_REAL=$(PETSC_DIR)-real
+PETSC_DIR_COMPLEX=$(PETSC_DIR)-complex
 
 export SLEPC_DIR=$(CURDIR)
 

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



More information about the debian-science-commits mailing list