diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-22 16:04:29 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-22 18:05:15 +0200 |
commit | dfdcb2762950a75c7efe938bca726ccf8ba1d612 (patch) | |
tree | 3f212c3ed59669d8a577436f678aaecd0529667b /community/suitesparse | |
parent | 997bc4cb0a2b1171a66705a73dfdc31734f32c01 (diff) | |
download | aports-dfdcb2762950a75c7efe938bca726ccf8ba1d612.tar.bz2 aports-dfdcb2762950a75c7efe938bca726ccf8ba1d612.tar.xz |
community/suitesparse: upgrade to 4.5.5
Diffstat (limited to 'community/suitesparse')
-rw-r--r-- | community/suitesparse/0001-exclude-metis.patch | 31 | ||||
-rw-r--r-- | community/suitesparse/APKBUILD | 14 |
2 files changed, 14 insertions, 31 deletions
diff --git a/community/suitesparse/0001-exclude-metis.patch b/community/suitesparse/0001-exclude-metis.patch index 25e9b9f2e5..a0322f583b 100644 --- a/community/suitesparse/0001-exclude-metis.patch +++ b/community/suitesparse/0001-exclude-metis.patch @@ -1,28 +1,17 @@ From: Jakub Jirutka <jakub@jirutka.cz> -Date: Wed, 08 Jun 2016 21:04:00 +0200 +Date: Sut, 22 Apr 2017 18:01:00 +0200 Subject: [PATCH] Do not install METIS METIS is optional (and not needed for Julia), but `make install` fails when -it's not built, so we must remove it from Makefile. +it's not built, so we must disable it in Makefile. --- a/Makefile +++ b/Makefile -@@ -56,19 +56,6 @@ - # ( cd SKYLINE_SVD && $(MAKE) install ) - $(CP) README.txt $(INSTALL_DOC)/SuiteSparse_README.txt - chmod 644 $(INSTALL_DOC)/SuiteSparse_README.txt --ifeq (,$(MY_METIS_LIB)) -- # install METIS from SuiteSparse/metis-5.1.0 -- - $(CP) lib/libmetis.* $(INSTALL_LIB) -- - $(CP) metis-5.1.0/manual/manual.pdf $(INSTALL_DOC)/METIS_manual.pdf -- - $(CP) metis-5.1.0/README.txt $(INSTALL_DOC)/METIS_README.txt -- # the following is needed only on the Mac, so *.dylib is hardcoded: -- $(SO_INSTALL_NAME) $(INSTALL_LIB)/libmetis.dylib $(INSTALL_LIB)/libmetis.dylib -- - $(CP) include/metis.h $(INSTALL_INCLUDE) -- chmod 755 $(INSTALL_LIB)/libmetis.* -- chmod 644 $(INSTALL_INCLUDE)/metis.h -- chmod 644 $(INSTALL_DOC)/METIS_manual.pdf -- chmod 644 $(INSTALL_DOC)/METIS_README.txt --endif +@@ -34,7 +34,7 @@ - # uninstall all packages - uninstall: + # install all packages in /usr/local/lib and /usr/local/include + # (note that CSparse is not installed; CXSparse is installed instead) +-install: metisinstall ++install: + ( cd SuiteSparse_config && $(MAKE) install ) + ( cd AMD && $(MAKE) install ) + ( cd BTF && $(MAKE) install ) diff --git a/community/suitesparse/APKBUILD b/community/suitesparse/APKBUILD index 1049e1c667..8fed850e6a 100644 --- a/community/suitesparse/APKBUILD +++ b/community/suitesparse/APKBUILD @@ -2,8 +2,8 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=suitesparse _pkgname=SuiteSparse -pkgver=4.5.3 -pkgrel=1 +pkgver=4.5.5 +pkgrel=0 pkgdesc="A collection of sparse matrix libraries" url="http://faculty.cse.tamu.edu/davis/suitesparse.html" arch="all !s390x" @@ -49,12 +49,6 @@ package() { INSTALL_DOC="$pkgdir/usr/share/doc/$pkgname" } -md5sums="8ec57324585df3c6483ad7f556afccbd SuiteSparse-4.5.3.tar.gz -308b4f96e82d7f5c92335ca6c7c74251 0001-exclude-metis.patch -ce5696f96435db0125ac1815888fb7f6 0002-remove-rpath.patch" -sha256sums="6199a3a35fbce82b155fd2349cf81d2b7cddaf0dac218c08cb172f9bc143f37a SuiteSparse-4.5.3.tar.gz -06f825ed80f73c30d71439650b951ea835a6139fe2e30078ed155fdecc7606ab 0001-exclude-metis.patch -4db04c59039e9fe50f75d00fb662eaffbd76ede498ff8ec8858b697df2679e32 0002-remove-rpath.patch" -sha512sums="88a5ba6c70e4d66751d1ac32fd8998cde11509e7b034814c34757180db70ce2838ebb77fd7c617bf96e473214c70ccbdd0064b4f5e4dd69ae4c51dfeb9696496 SuiteSparse-4.5.3.tar.gz -aa2d62a371eefb33f0c81d3f7b50cf36e76c4f010fb5bb424e5e7344a1921cb6a430742ebb92df42cef587ec46ad8d2b777d3d9a62eb4a128e02bee8ad5de272 0001-exclude-metis.patch +sha512sums="4337c683027efca6c0800815587409db14db7d70df673451e307eb3ece5538815d06d90f3a831fa45071372f70b6f37eaa68fe951f69dbb52a5bfd84d2dc4913 SuiteSparse-4.5.5.tar.gz +0bdaed29c7770104eb94d9e60a42fe68b5643c8f958aba4cc6d7996888a83ae75a4e509d0c262264c49d5d9b1ca23a958cc71cfaa5e983b0008e65455a987cac 0001-exclude-metis.patch cd40b696515b26c95298b435a5111e582dc42c2fa2e8ef9889558467d375b1d19452838b9463df66958e73ddb0c8c0191936e3e952586a3c7d345edb08fa7e62 0002-remove-rpath.patch" |