Skip to contentSkip to conversation

Add suitesparse

PATCH New Gregory Anders 1 participant 1 message Nov 9, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Add suitesparse

---
Add suitesparse to devtools package group.

 .../packagegroups/packagegroup-meta-oe.bb     |  1 +
 ...XXFLAGS-from-environment-in-Mongoose.patch | 43 +++++++++++
 ...serve-links-when-installing-libmetis.patch | 22 ++++++
 ...-Add-version-information-to-libmetis.patch | 49 ++++++++++++
 .../suitesparse/suitesparse_5.8.1.bb          | 77 +++++++++++++++++++
 5 files changed, 192 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/0001-Preserve-CXXFLAGS-from-environment-in-Mongoose.patch
 create mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/0002-Preserve-links-when-installing-libmetis.patch
 create mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/0003-Add-version-information-to-libmetis.patch
 create mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse_5.8.1.bb
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -0
index 4d86ef977..c08d32bbd 100644
@@ -276,6 +276,7 @@ RDEPENDS_packagegroup-meta-oe-devtools ="\
     rapidjson \
     sip3 \
     squashfs-tools-ng \
+    suitesparse \
     uftrace \
     libxerces-c \
     xerces-c-samples \
meta-oe/recipes-devtools/suitesparse/suitesparse/0001-Preserve-CXXFLAGS-from-environment-in-Mongoose.patch new file +43 -0

43 lines not on this page · raw message

meta-oe/recipes-devtools/suitesparse/suitesparse/0002-Preserve-links-when-installing-libmetis.patch new file +22 -0
new file mode 100644
index 000000000..190eaf164
@@ -0,0 +1,22 @@
+From 31175fb408a4f5e85e39a9aabd4a29f9d9c1fe25 Mon Sep 17 00:00:00 2001
+From: Gregory Anders <[email protected]>
+Date: Wed, 21 Oct 2020 15:26:52 -0600
+Subject: [PATCH] Preserve links when installing libmetis
+
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 7631955..57fd022 100644
+--- a/Makefile
++++ b/Makefile
+@@ -76,7 +76,7 @@ ifeq (,$(MY_METIS_LIB))
+ 	@mkdir -p $(INSTALL_LIB)
+ 	@mkdir -p $(INSTALL_INCLUDE)
+ 	@mkdir -p $(INSTALL_DOC)
+-	- $(CP) lib/libmetis.* $(INSTALL_LIB)
++	- $(CP) -d 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:
meta-oe/recipes-devtools/suitesparse/suitesparse/0003-Add-version-information-to-libmetis.patch new file +49 -0

49 lines not on this page · raw message

meta-oe/recipes-devtools/suitesparse/suitesparse_5.8.1.bb new file +77 -0

77 lines not on this page · raw message

Signature · 1 line
2.29.2