Hello community,
here is the log from the commit of package superlu for openSUSE:Factory checked in at 2019-02-11 21:16:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/superlu (Old)
and /work/SRC/openSUSE:Factory/.superlu.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "superlu"
Mon Feb 11 21:16:18 2019 rev:21 rq:672776 version:5.2.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/superlu/superlu.changes 2019-02-04 21:10:35.515886717 +0100
+++ /work/SRC/openSUSE:Factory/.superlu.new.28833/superlu.changes 2019-02-11 21:16:21.655369898 +0100
@@ -1,0 +2,17 @@
+Fri Feb 8 10:50:43 UTC 2019 - eich@suse.com
+
+- Set default module version correctly when installing
+ master package, unset when deinstalling the default library
+ package.
+- make example make.inc work with non-HPC builds as well.
+
+-------------------------------------------------------------------
+Fri Feb 8 09:40:33 UTC 2019 - Antoine Ginies
+
+- Add superlu-examples_Makefile_remove_itersol.patch
+ superlu-make.linux.patch:
+ get a buildable examples test suite (bsc#1124765)
+ fixing Makefile
+ adding missing make.inc
+
+-------------------------------------------------------------------
New:
----
superlu-examples_Makefile_remove_itersol.patch
superlu-make.linux.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ superlu.spec ++++++
--- /var/tmp/diff_new_pack.fwNfbY/_old 2019-02-11 21:16:22.515369442 +0100
+++ /var/tmp/diff_new_pack.fwNfbY/_new 2019-02-11 21:16:22.523369438 +0100
@@ -46,12 +46,14 @@
%define package_name %pname
%if %{without hpc}
+%define p_prefix %_prefix
%define p_includedir %_includedir
%define p_libdir %_libdir
%define _sover 5
%else
%{hpc_init -c %compiler_family %{?c_f_ver:-v %{c_f_ver}} %{?ext:-e %{ext}}}
%define package_name %{hpc_package_name %_ver}
+%define p_prefix %hpc_prefix
%define p_includedir %hpc_includedir
%define p_libdir %hpc_libdir
%endif
@@ -76,6 +78,8 @@
# from the original sources for legal reasons. This patch disables the inclusion of
# this routine in the library which, however, remains fully functional
Patch3: superlu-5.2-remove-mc64ad.patch
+Patch4: superlu-examples_Makefile_remove_itersol.patch
+Patch5: superlu-make.linux.patch
URL: http://crd.lbl.gov/~xiaoye/SuperLU/
BuildRequires: cmake >= 2.8.12
BuildRequires: fdupes
@@ -137,9 +141,9 @@
%if %{with hpc}
%{hpc_master_package -l -L}
-%{hpc_master_package devel}
+%{hpc_master_package -L devel}
%{hpc_master_package doc}
-%{hpc_master_package examples}
+%{hpc_master_package -L examples}
%endif
%prep
@@ -148,6 +152,8 @@
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p0
+%patch5 -p0
cp %SOURCE1 %SOURCE2 ./
# Create baselibs.conf dynamically (non-HPC build only).
%if %{without hpc}
@@ -178,6 +184,8 @@
rm -rf *itersol* .gitignore
cd ..
mv EXAMPLE examples
+cp MAKE_INC/make.linux examples/make.inc
+sed -i -e 's&@superlu_home@&%p_prefix&' -e 's&@superlu_lib@&%p_libdir&' examples/make.inc
rm -f examples/.gitignore
cp FORTRAN/README README.fortran
%fdupes -s examples
@@ -227,6 +235,7 @@
%postun -n lib%{name}%{?_sover}
/sbin/ldconfig -N %hpc_libdir
+%hpc_module_delete_if_default
%endif
%files -n lib%{name}%{?_sover}
++++++ superlu-examples_Makefile_remove_itersol.patch ++++++
--- EXAMPLE/Makefile 2019-02-08 09:57:41.220000000 +0100
+++ EXAMPLE/Makefile.patched 2019-02-08 10:23:18.464000000 +0100
@@ -40,8 +40,6 @@
SLINXEXM1 = slinsolx1.o
SLINXEXM2 = slinsolx2.o
SLINXEXM3 = slinsolx3.o
-SITSOL = sitersol.o sfgmr.o
-SITSOL1 = sitersol1.o sfgmr.o
DLINEXM = dlinsol.o
DLINEXM1 = dlinsol1.o
@@ -50,8 +48,6 @@
DLINXEXM2 = dlinsolx2.o
DLINXEXM3 = dlinsolx3.o
SUPERLUEXM = superlu.o sp_ienv.o
-DITSOL = ditersol.o dfgmr.o
-DITSOL1 = ditersol1.o dfgmr.o
CLINEXM = clinsol.o
CLINEXM1 = clinsol1.o
@@ -59,8 +55,6 @@
CLINXEXM1 = clinsolx1.o
CLINXEXM2 = clinsolx2.o
CLINXEXM3 = clinsolx3.o
-CITSOL = citersol.o cfgmr.o
-CITSOL1 = citersol1.o cfgmr.o
ZLINEXM = zlinsol.o
ZLINEXM1 = zlinsol1.o
@@ -68,20 +62,17 @@
ZLINXEXM1 = zlinsolx1.o
ZLINXEXM2 = zlinsolx2.o
ZLINXEXM3 = zlinsolx3.o
-ZITSOL = zitersol.o zfgmr.o
-ZITSOL1 = zitersol1.o zfgmr.o
all: single double complex complex16
-single: slinsol slinsol1 slinsolx slinsolx1 slinsolx2 slinsolx3 \
- sitersol sitersol1
+single: slinsol slinsol1 slinsolx slinsolx1 slinsolx2 slinsolx3
+
double: dlinsol dlinsol1 dlinsolx dlinsolx1 dlinsolx2 dlinsolx3 \
- superlu ditersol ditersol1
-complex: clinsol clinsol1 clinsolx clinsolx1 clinsolx2 clinsolx3 \
- citersol citersol1
-complex16: zlinsol zlinsol1 zlinsolx zlinsolx1 zlinsolx2 zlinsolx3 \
- zitersol zitersol1
+ superlu
+complex: clinsol clinsol1 clinsolx clinsolx1 clinsolx2 clinsolx3
+
+complex16: zlinsol zlinsol1 zlinsolx zlinsolx1 zlinsolx2 zlinsolx3
slinsol: $(SLINEXM) $(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(SLINEXM) $(LIBS) -lm -o $@
@@ -101,11 +92,6 @@
slinsolx3: $(SLINXEXM3) $(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(SLINXEXM3) $(LIBS) -lm -o $@
-sitersol: $(SITSOL) $(SUPERLULIB)
- $(LOADER) $(LOADOPTS) $(SITSOL) $(LIBS) -lm -o $@
-
-sitersol1: $(SITSOL1) $(SUPERLULIB)
- $(LOADER) $(LOADOPTS) $(SITSOL1) $(LIBS) -lm -o $@
dlinsol: $(DLINEXM) $(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(DLINEXM) $(LIBS) -lm -o $@
@@ -128,12 +114,6 @@
superlu: $(SUPERLUEXM) $(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(SUPERLUEXM) $(LIBS) -lm -o $@
-ditersol: $(DITSOL) $(SUPERLULIB)
- $(LOADER) $(LOADOPTS) $(DITSOL) $(LIBS) -lm -o $@
-
-ditersol1: $(DITSOL1) $(SUPERLULIB)
- $(LOADER) $(LOADOPTS) $(DITSOL1) $(LIBS) -lm -o $@
-
clinsol: $(CLINEXM) $(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(CLINEXM) $(LIBS) -lm -o $@
@@ -152,12 +132,6 @@
clinsolx3: $(CLINXEXM3) $(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(CLINXEXM3) $(LIBS) -lm -o $@
-citersol: $(CITSOL) $(SUPERLULIB)
- $(LOADER) $(LOADOPTS) $(CITSOL) $(LIBS) -lm -o $@
-
-citersol1: $(CITSOL1) $(SUPERLULIB)
- $(LOADER) $(LOADOPTS) $(CITSOL1) $(LIBS) -lm -o $@
-
zlinsol: $(ZLINEXM) $(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(ZLINEXM) $(LIBS) -lm -o $@
@@ -176,11 +150,6 @@
zlinsolx3: $(ZLINXEXM3) $(SUPERLULIB)
$(LOADER) $(LOADOPTS) $(ZLINXEXM3) $(LIBS) -lm -o $@
-zitersol: $(ZITSOL) $(SUPERLULIB)
- $(LOADER) $(LOADOPTS) $(ZITSOL) $(LIBS) -lm -o $@
-
-zitersol1: $(ZITSOL1) $(SUPERLULIB)
- $(LOADER) $(LOADOPTS) $(ZITSOL1) $(LIBS) -lm -o $@
.c.o:
$(CC) $(CFLAGS) $(CDEFS) -I$(HEADER) -c $< $(VERBOSE)
@@ -190,7 +159,7 @@
clean:
rm -f *.o *linsol *linsol1 *linsolx *linsolx1 *linsolx2 *linsolx3 \
- superlu *itersol *itersol1
+ superlu
++++++ superlu-make.linux.patch ++++++
--- MAKE_INC/make.linux 2016-05-22 17:58:44.000000000 +0200
+++ MAKE_INC/make.linux.patched 2019-02-08 10:35:38.740265921 +0100
@@ -21,8 +21,8 @@
#
# The name of the libraries to be created/linked to
#
-SuperLUroot = $(HOME)/Dropbox/Codes/SuperLU/SuperLU
-SUPERLULIB = $(SuperLUroot)/lib/libsuperlu_5.1.a
+SuperLUroot = @superlu_home@
+SUPERLULIB = @superlu_lib@
#BLASLIB = $(SuperLUroot)/lib/libblas.a