commit superlu for openSUSE:Factory
Hello community, here is the log from the commit of package superlu for openSUSE:Factory checked in at 2016-07-07 15:07:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/superlu (Old) and /work/SRC/openSUSE:Factory/.superlu.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "superlu" Changes: -------- --- /work/SRC/openSUSE:Factory/superlu/superlu.changes 2015-08-10 09:12:03.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.superlu.new/superlu.changes 2016-07-07 15:07:51.000000000 +0200 @@ -1,0 +2,19 @@ +Tue Jun 14 12:56:22 UTC 2016 - badshah400@gmail.com + +- Use system blas by passing the cmake option + -DUSE_XSDK_DEFAULTS='TRUE'. +- Disable building tests for now because they have linking issues. +- Use cmake macros wherever appropriate. +- A minimum of cmake >= 2.8.12 is required for building. + +------------------------------------------------------------------- +Sun May 29 16:30:52 UTC 2016 - foss@grueninger.de + +- Update to SuperLU 5.2.1 +- Switch to CMake as build-system +- Drop superlu-4.3-disable-hsl.patch as CMake is now used +- Update to latest SuperLU User Guide +- superlu-4.3.diff, superlu-4.3-remove-hsl.patch: removed +- superlu-5.2-remove-mc64ad.patch: new, routine was removed + +------------------------------------------------------------------- Old: ---- superlu-4.3-disable-hsl.patch superlu-4.3.diff superlu_4.3-bsd.tar.bz2 New: ---- superlu-5.2-remove-mc64ad.patch superlu_5.2.1-bsd.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ superlu.spec ++++++ --- /var/tmp/diff_new_pack.iLVIAR/_old 2016-07-07 15:07:52.000000000 +0200 +++ /var/tmp/diff_new_pack.iLVIAR/_new 2016-07-07 15:07:52.000000000 +0200 @@ -1,7 +1,8 @@ # # spec file for package superlu # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 Christoph Grüninger foss@grueninger.de # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,29 +18,29 @@ Name: superlu -Summary: A general purpose library for the direct solution of linear equations +Summary: A general purpose library for the direct solution of sparse systems of linear equations License: BSD-3-Clause Group: Development/Libraries/C and C++ -Version: 4.3 +Version: 5.2.1 Release: 0 -#Source: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/superlu_4.3.tar.gz -Source: superlu_%{version}-bsd.tar.bz2 +%define soname lib%{name}5 +#Source: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/superlu_5.2.1.tar.gz +Source: %{name}_%{version}-bsd.tar.gz Source1: superlu_ug.pdf Source2: README.SUSE Source3: baselibs.conf -# PATCH-FEATURE-OPENSUSE superlu-4.3.diff : add compiler and build flags in make.inc -Patch: superlu-4.3.diff # PATCH-FIX-UPSTREAM superlu-4.3-include.patch : avoid implicit declaration warnings Patch1: superlu-4.3-include.patch # PATCH-FIX-UPSTREAM superlu-4.3-dont-opt-away.diff Patch2: superlu-4.3-dont-opt-away.diff -# PATCH-FIX-OPENSUSE superlu-4.3-remove-hsl.patch [bnc#796236] -# The Harwell Subroutine Library (HSL) routine m64ad.c have been removed +# PATCH-FIX-OPENSUSE superlu-5.2-remove-mc64ad.patch [bnc#796236] +# The Harwell Subroutine Library (HSL) routine mc64ad.c have been removed # from the original sources for legal reasons. This patch disables the inclusion of # this routine in the library which, however, remains fully functionnal -Patch3: superlu-4.3-disable-hsl.patch +Patch3: superlu-5.2-remove-mc64ad.patch Url: http://crd.lbl.gov/~xiaoye/SuperLU/ -BuildRequires: blas +BuildRequires: blas-devel +BuildRequires: cmake >= 2.8.12 BuildRequires: fdupes BuildRequires: gcc-fortran BuildRequires: tcsh @@ -47,28 +48,25 @@ %description SuperLU is an algorithm that uses group theory to optimize LU -decomposition of sparse matrices. It's the fastest direct solver for -linear systems that the author is aware of. +decomposition of sparse matrices. -Docu can be found on http://www.netlib.org. - -%package -n libsuperlu4 +%package -n %soname Summary: SuperLU matrix solver Group: System/Libraries -%description -n libsuperlu4 +%description -n %soname SuperLU is an algorithm that uses group theory to optimize LU -decomposition of sparse matrices. It's the fastest direct solver for -linear systems that the author is aware of. - -Docu can be found on http://www.netlib.org. +decomposition of sparse matrices. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ +Requires: %soname = %{version} +# The standalone superlu RPM has been eliminated, and the relevant +# files are now in superlu-devel +# The last standalone superlu RPM was was v3.0 Provides: superlu = %{version} -Obsoletes: superlu < %{version} -Requires: libsuperlu4 = %{version} +Obsoletes: superlu <= 3.0 %description devel The %{name}-devel package contains libraries and header files for @@ -76,7 +74,6 @@ %prep %setup -q -n SuperLU_%{version} -%patch -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 @@ -84,19 +81,15 @@ cp %SOURCE1 %SOURCE2 ./ %build -make lib +# FIXME: Drop the -Denable_tests=OFF flag when MATGEN linking issues are resolved +%cmake \ + -DCMAKE_BUILD_TYPE=Release -DUSE_XSDK_DEFAULTS='TRUE' -Denable_tests=OFF -mkdir tmp -(cd tmp; ar -x ../lib/libsuperlu_%{version}.a) -gfortran -shared -Wl,-soname,libsuperlu.so.4 -o lib/libsuperlu.so tmp/*.o +make %{?_smp_mflags} +cd .. %install -mkdir -p %{buildroot}%{_libdir} -mkdir -p %{buildroot}%{_includedir} -install -m644 SRC/*.h %{buildroot}%{_includedir} -install -m755 lib/libsuperlu.so %{buildroot}%{_libdir}/libsuperlu.so.%{version} -ln -s %{_libdir}/libsuperlu.so.%{version} %{buildroot}%{_libdir}/libsuperlu.so.4 -ln -s %{_libdir}/libsuperlu.so.4 %{buildroot}%{_libdir}/libsuperlu.so +%cmake_install #fix permissions chmod 644 MATLAB/* @@ -119,11 +112,11 @@ cat TESTING/$i.out done -%post -n libsuperlu4 -p /sbin/ldconfig +%post -n %soname -p /sbin/ldconfig -%postun -n libsuperlu4 -p /sbin/ldconfig +%postun -n %soname -p /sbin/ldconfig -%files -n libsuperlu4 +%files -n %soname %defattr(-,root,root,-) %doc README MATLAB README.SUSE %{_libdir}/*.so.* ++++++ README.SUSE ++++++ --- /var/tmp/diff_new_pack.iLVIAR/_old 2016-07-07 15:07:52.000000000 +0200 +++ /var/tmp/diff_new_pack.iLVIAR/_new 2016-07-07 15:07:52.000000000 +0200 @@ -1,7 +1,8 @@ This version of SuperLU is slightly different form the original SuperLU available on http://crd.lbl.gov/~xiaoye/SuperLU/. For legal reasons the routine mc64ad from the Harwell Subroutine Library cannot be redistributed -by openSUSE and have been removed form the sources. +by openSUSE and have been removed form the sources. Only SRC/mc64ad.c was +removed from the tarball. However the SuperLU library provided by openSUSE is fully functionnal except that the mc64ad routine is not used. ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.iLVIAR/_old 2016-07-07 15:07:52.000000000 +0200 +++ /var/tmp/diff_new_pack.iLVIAR/_new 2016-07-07 15:07:52.000000000 +0200 @@ -1 +1 @@ -libsuperlu4 +libsuperlu5 ++++++ superlu-5.2-remove-mc64ad.patch ++++++ --- a/SRC/CMakeLists.txt 2016-05-29 13:57:44.683251096 +0200 +++ b/SRC/CMakeLists.txt 2016-05-29 13:57:31.570987497 +0200 @@ -22,7 +22,6 @@ ilu_relax_snode.c ilu_heap_relax_snode.c mark_relax.c - mc64ad.c qselect.c input_error.c ) @@ -63,9 +62,7 @@ smemory.c sutil.c smyblas2.c - sgsisx.c sgsitrf.c - sldperm.c ilu_sdrop_row.c ilu_ssnode_dfs.c ilu_scolumn_dfs.c @@ -112,9 +109,7 @@ dmemory.c dutil.c dmyblas2.c - dgsisx.c dgsitrf.c - dldperm.c ilu_ddrop_row.c ilu_dsnode_dfs.c ilu_dcolumn_dfs.c @@ -163,9 +158,7 @@ cmemory.c cutil.c cmyblas2.c - cgsisx.c cgsitrf.c - cldperm.c ilu_cdrop_row.c ilu_csnode_dfs.c ilu_ccolumn_dfs.c @@ -213,9 +206,7 @@ zmemory.c zutil.c zmyblas2.c - zgsisx.c zgsitrf.c - zldperm.c ilu_zdrop_row.c ilu_zsnode_dfs.c ilu_zcolumn_dfs.c ++++++ superlu_ug.pdf ++++++ (binary differes)
participants (1)
-
root@hilbert.suse.de