- updated ufconfig,shared patches
spqr_rmap.o: ../Source/spqr_rmap.cpp
- $(C) -c $<
+ libtool --tag=CXX --mode=compile $(C) -c $<
spqr_rmap.o: ../Source/spqr_rmap.cpp
- $(C) -c $<
+ libtool --tag=CXX --mode=compile $(C) -c $<
---- SPQR/Demo/Makefile.orig 2012-06-27 19:01:18.418478492 +0200
-+++ SPQR/Demo/Makefile 2012-06-27 19:01:37.301811034 +0200
-@@ -23,7 +23,7 @@
+--- SPQR/Demo/Makefile.orig 2012-08-28 19:39:55.567055739 +0200
++++ SPQR/Demo/Makefile 2012-08-28 19:40:51.427054575 +0200
+@@ -25,7 +25,7 @@
endif
#-------------------------------------------------------------------------------
-CLIB = ../Lib/libspqr.a \
+CLIB = ../Lib/libspqr.la \
endif
#-------------------------------------------------------------------------------
-CLIB = ../Lib/libspqr.a \
+CLIB = ../Lib/libspqr.la \
-lcholmod -lamd \
-lcolamd $(LIB_WITH_PARTITION)
-lcholmod -lamd \
-lcolamd $(LIB_WITH_PARTITION)
LIBS = $(CLIB) $(LIB) $(FLIB) $(TBB)
qrsimple: qrsimple.cpp library $(INC)
LIBS = $(CLIB) $(LIB) $(FLIB) $(TBB)
qrsimple: qrsimple.cpp library $(INC)
---- SPQR/Lib/Makefile.orig 2011-12-14 18:48:21.000000000 +0100
-+++ SPQR/Lib/Makefile 2012-01-07 15:36:22.723796599 +0100
+--- SPQR/Lib/Makefile.orig 2012-06-21 07:37:08.000000000 +0200
++++ SPQR/Lib/Makefile 2012-08-28 19:36:19.380393578 +0200
@@ -6,7 +6,7 @@
ccode: all
@@ -6,7 +6,7 @@
ccode: all
#-------------------------------------------------------------------------------
# the optional Partition module requires METIS, CAMD, and CCOLAMD
#-------------------------------------------------------------------------------
# the optional Partition module requires METIS, CAMD, and CCOLAMD
+@@ -15,18 +15,13 @@
+ CONFIG = -DNPARTITION
# check if METIS is requested and available
ifeq (,$(findstring -DNPARTITION, $(CHOLMOD_CONFIG)))
# check if METIS is requested and available
ifeq (,$(findstring -DNPARTITION, $(CHOLMOD_CONFIG)))
- # METIS is requested. See if it is available
-- ifeq ($(METIS), $(wildcard $(METIS)))
+- # METIS is requested. See if it is available
+- ifeq ($(METIS_PATH), $(wildcard $(METIS_PATH)))
- ifeq (../../CAMD, $(wildcard ../../CAMD))
- ifeq (../../CCOLAMD, $(wildcard ../../CCOLAMD))
- ifeq (../../CAMD, $(wildcard ../../CAMD))
- ifeq (../../CCOLAMD, $(wildcard ../../CCOLAMD))
+ ifeq ($(WITH_METIS), 1)
+ ifeq ($(WITH_METIS), 1)
-+ # assume CAMD and CCOLAMD are available
- # METIS, CAMD, and CCOLAMD is available
+ # METIS, CAMD, and CCOLAMD are available
+- LIB_WITH_PARTITION = $(METIS) ../../CCOLAMD/Lib/libccolamd.a \
+- ../../CAMD/Lib/libcamd.a
+- I_WITH_PARTITION = -I$(METIS_PATH)/Lib \
+- -I../../CCOLAMD/Include -I../../CAMD/Include
++ LIB_WITH_PARTITION = -lmetis -lccolamd -lcamd
++ I_WITH_PARTITION = -I/usr/include/metis \
++ -I/usr/include/ccolamd -I/usr/include/camd
CONFIG =
- endif
- endif
endif
endif
#-------------------------------------------------------------------------------
CONFIG =
- endif
- endif
endif
endif
#-------------------------------------------------------------------------------
C = $(CXX) $(CF) $(SPQR_CONFIG) $(CONFIG) $(I)
C = $(CXX) $(CF) $(SPQR_CONFIG) $(CONFIG) $(I)
---- SPQR/Demo/Makefile.orig 2012-05-28 15:15:40.000000000 +0200
-+++ SPQR/Demo/Makefile 2012-06-27 19:00:41.468480043 +0200
+--- SPQR/Demo/Makefile.orig 2012-06-21 07:47:51.000000000 +0200
++++ SPQR/Demo/Makefile 2012-08-28 19:38:04.650391386 +0200
@@ -6,7 +6,7 @@
ccode: all
@@ -6,7 +6,7 @@
ccode: all
#-------------------------------------------------------------------------------
# the optional Partition module requires METIS, CAMD, and CCOLAMD
#-------------------------------------------------------------------------------
# the optional Partition module requires METIS, CAMD, and CCOLAMD
+@@ -15,26 +15,20 @@
+ CONFIG = -DNPARTITION
# check if METIS is requested and available
ifeq (,$(findstring -DNPARTITION, $(CHOLMOD_CONFIG)))
# check if METIS is requested and available
ifeq (,$(findstring -DNPARTITION, $(CHOLMOD_CONFIG)))
- # METIS is requested. See if it is available
-- ifeq ($(METIS), $(wildcard $(METIS)))
+- # METIS is requested. See if it is available
+- ifeq ($(METIS_PATH), $(wildcard $(METIS_PATH)))
- ifeq (../../CAMD, $(wildcard ../../CAMD))
- ifeq (../../CCOLAMD, $(wildcard ../../CCOLAMD))
- ifeq (../../CAMD, $(wildcard ../../CAMD))
- ifeq (../../CCOLAMD, $(wildcard ../../CCOLAMD))
-- # METIS, CAMD, and CCOLAMD is available
+- # METIS, CAMD, and CCOLAMD are available
+- LIB_WITH_PARTITION = $(METIS) ../../CCOLAMD/Lib/libccolamd.a \
+- ../../CAMD/Lib/libcamd.a
+- I_WITH_PARTITION = -I$(METIS_PATH)/Lib \
+- -I../../CCOLAMD/Include -I../../CAMD/Include
++ # METIS is requested.
+ ifeq ($(WITH_METIS), 1)
+ ifeq ($(WITH_METIS), 1)
-+ # assume that METIS, CAMD, and CCOLAMD are available
++ LIB_WITH_PARTITION = -lmetis -lccolamd -lcamd
++ I_WITH_PARTITION = -I/usr/include/metis \
++ -I/usr/include/ccolamd -I/usr/include/camd
-- LIB_WITH_PARTITION = $(METIS) \
-- ../../CCOLAMD/Lib/libccolamd.a \
-- ../../CAMD/Lib/libcamd.a
-+ LIB_WITH_PARTITION = $(METIS) -lccolamd -lcamd
endif
endif
#-------------------------------------------------------------------------------
endif
endif
#-------------------------------------------------------------------------------
- ../../SuiteSparse_config/libsuitesparseconfig.a \
- ../../CHOLMOD/Lib/libcholmod.a ../../AMD/Lib/libamd.a \
- ../../COLAMD/Lib/libcolamd.a $(LIB_WITH_PARTITION)
- ../../SuiteSparse_config/libsuitesparseconfig.a \
- ../../CHOLMOD/Lib/libcholmod.a ../../AMD/Lib/libamd.a \
- ../../COLAMD/Lib/libcolamd.a $(LIB_WITH_PARTITION)
+ -lcholmod -lamd \
+ -lcolamd $(LIB_WITH_PARTITION)
# use the BLAS and LAPACK defined by SuiteSparse_config.mk; do not use valgrind
FLIB = $(LAPACK) $(BLAS)
+ -lcholmod -lamd \
+ -lcolamd $(LIB_WITH_PARTITION)
# use the BLAS and LAPACK defined by SuiteSparse_config.mk; do not use valgrind
FLIB = $(LAPACK) $(BLAS)
../Include/SuiteSparseQR_definitions.h \
../Include/SuiteSparseQR.hpp Makefile
../Include/SuiteSparseQR_definitions.h \
../Include/SuiteSparseQR.hpp Makefile
Summary: SuiteSparseQR: multithreaded multifrontal sparse QR factorization
Summary(pl.UTF-8): SuiteSparseQR - wielowątkowy, wielofrontalny rozkład QR dla macierzy rzadkich
Name: SPQR
Summary: SuiteSparseQR: multithreaded multifrontal sparse QR factorization
Summary(pl.UTF-8): SuiteSparseQR - wielowątkowy, wielofrontalny rozkład QR dla macierzy rzadkich
Name: SPQR
Release: 1
License: GPL v2+
Group: Libraries
Source0: http://www.cise.ufl.edu/research/sparse/SPQR/%{name}-%{version}.tar.gz
Release: 1
License: GPL v2+
Group: Libraries
Source0: http://www.cise.ufl.edu/research/sparse/SPQR/%{name}-%{version}.tar.gz
-# Source0-md5: 0c3838dda38b56b2186b0d225ffc089f
+# Source0-md5: c1a55e7ac6208f7657186aa01356c8f2
Patch0: %{name}-ufconfig.patch
Patch1: %{name}-shared.patch
URL: http://www.cise.ufl.edu/research/sparse/SPQR/
Patch0: %{name}-ufconfig.patch
Patch1: %{name}-shared.patch
URL: http://www.cise.ufl.edu/research/sparse/SPQR/