]> git.pld-linux.org Git - packages/CHOLMOD.git/commitdiff
- updated to 2.1.0 auto/th/CHOLMOD-2.1.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 7 Apr 2013 06:28:43 +0000 (08:28 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 7 Apr 2013 06:28:43 +0000 (08:28 +0200)
- fixed build without metis/partition support

CHOLMOD.spec

index 8088e3f0104f79307f490641f5c76b64b3fed6e7..bcae7ce206fbbd32aa012fabe9fe99c402eeb324 100644 (file)
@@ -5,12 +5,12 @@
 Summary:       CHOLMOD: sparse supernodal Cholesky factorization and update/downdate
 Summary(pl.UTF-8):     CHOLMOD - rzadki wielowęzłowy rozkład Cholesky'ego z poprawianiem
 Name:          CHOLMOD
-Version:       2.0.1
+Version:       2.1.0
 Release:       1
 License:       GPL v2+ (some parts LGPL v2.1+)
 Group:         Libraries
 Source0:       http://www.cise.ufl.edu/research/sparse/cholmod/%{name}-%{version}.tar.gz
-# Source0-md5: 72b200a049bca1eb06bbb8a2c68be83a
+# Source0-md5: 9bc275f9117c3e3a6c4f23c29fd01761
 Patch0:                %{name}-ufconfig.patch
 Patch1:                %{name}-shared.patch
 # http://www.cise.ufl.edu/research/sparse/cholmod/metis.patch (for METIS 5)
@@ -20,7 +20,7 @@ BuildRequires:        AMD-devel >= 2.3.0
 BuildRequires: CAMD-devel >= 2.3.0
 BuildRequires: CCOLAMD-devel >= 2.8.0
 BuildRequires: COLAMD-devel >= 2.8.0
-BuildRequires: SuiteSparse_config-devel >= 4.0.0
+BuildRequires: SuiteSparse_config-devel >= 4.1.0
 BuildRequires: blas-devel
 BuildRequires: gcc-fortran
 BuildRequires: lapack-devel
@@ -32,7 +32,7 @@ Requires:     AMD >= 2.3.0
 Requires:      CAMD >= 2.3.0
 Requires:      CCOLAMD >= 2.8.0
 Requires:      COLAMD >= 2.8.0
-Requires:      SuiteSparse_config-libs >= 4.0.0
+Requires:      SuiteSparse_config-libs >= 4.1.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -82,6 +82,7 @@ Statyczna biblioteka CHOLMOD.
 %{__make} \
        CC="%{__cc}" \
        %{?with_metis:WITH_METIS=1} \
+       %{!?with_metis:PARTITION= LPARTITION=} \
        CFLAGS="%{rpmcflags}" \
        LDFLAGS="%{rpmldflags}" \
        libdir=%{_libdir}
@@ -92,6 +93,7 @@ install -d $RPM_BUILD_ROOT%{_includedir}/cholmod
 
 %{__make} -C Lib install \
        DESTDIR=$RPM_BUILD_ROOT \
+       %{!?with_metis:PARTITION= LPARTITION=} \
        libdir=%{_libdir}
 
 install Include/*.h $RPM_BUILD_ROOT%{_includedir}/cholmod
This page took 0.09386 seconds and 4 git commands to generate.