parent
09054d8889
commit
e682a45e64
|
@ -32,7 +32,7 @@
|
|||
|
||||
Name: suitesparse
|
||||
Version: 5.4.0
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Summary: A collection of sparse matrix libraries
|
||||
|
||||
License: (LGPLv2+ or BSD) and LGPLv2+ and GPLv2+
|
||||
|
@ -43,7 +43,7 @@ BuildRequires: make
|
|||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
BuildRequires: metis-devel
|
||||
#BuildRequires: metis-devel
|
||||
BuildRequires: %{blaslib}-devel
|
||||
# openblas is still required for 64-bit suffixed versions
|
||||
BuildRequires: openblas-devel
|
||||
|
@ -168,7 +168,7 @@ pushd SuiteSparse
|
|||
# Remove bundled metis
|
||||
rm -r metis*
|
||||
# Makefiles look for metis.h specifically
|
||||
ln -s %{_includedir}/metis/*.h include/
|
||||
#ln -s %%{_includedir}/metis/*.h include/
|
||||
|
||||
# Fix pragma ivdep so gcc understands it.
|
||||
for fil in $(grep -Frl 'pragma ivdep' .); do
|
||||
|
@ -202,7 +202,7 @@ do
|
|||
# TODO - Try to use upstream makefile - will build more components
|
||||
mkdir -p Doc/{AMD,BTF,CAMD,CCOLAMD,CHOLMOD,COLAMD,KLU,LDL,UMFPACK,SPQR,RBio} Include
|
||||
|
||||
export CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/metis"
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
export LAPACK=""
|
||||
# Set flags for ILP64 build
|
||||
if [ $build = SuiteSparse64 ]
|
||||
|
@ -382,7 +382,7 @@ TESTDIRS="$TESTDIRS CXSparse"
|
|||
for build in SuiteSparse %{?build64:SuiteSparse64 SuiteSparse64_}
|
||||
do
|
||||
pushd $build
|
||||
export CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/metis"
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
export LAPACK=""
|
||||
# Set flags for ILP64 build
|
||||
if [ $build = SuiteSparse64 ]
|
||||
|
@ -489,6 +489,10 @@ done
|
|||
%doc SuiteSparse/Doc/*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 09 2021 Lukas Nykryn <lnykryn@redhat.com> - 5.4.0-8
|
||||
- drop metis
|
||||
Resolves: #1977815
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.4.0-7
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
|
|
Loading…
Reference in New Issue