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/0001-exclude-metis.patch | |
parent | 997bc4cb0a2b1171a66705a73dfdc31734f32c01 (diff) | |
download | aports-dfdcb2762950a75c7efe938bca726ccf8ba1d612.tar.bz2 aports-dfdcb2762950a75c7efe938bca726ccf8ba1d612.tar.xz |
community/suitesparse: upgrade to 4.5.5
Diffstat (limited to 'community/suitesparse/0001-exclude-metis.patch')
-rw-r--r-- | community/suitesparse/0001-exclude-metis.patch | 31 |
1 files changed, 10 insertions, 21 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 ) |