Skip to contentSkip to conversation

python3-cvxopt: Exclude from world builds

PATCH In review Khem Raj 2 participants 3 messages Nov 11, 2020 – Nov 12, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 python3-cvxopt: Exclude from world builds

it needs lapack which need fortran

---
 meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb +2 -0
index b440d62bd5..ef06b56022 100644
@@ -17,3 +17,5 @@ inherit setuptools3
 export CVXOPT_BLAS_LIB_DIR = "${STAGING_LIBDIR}"
 export CVXOPT_SUITESPARSE_LIB_DIR = "${STAGING_LIBDIR}"
 export CVXOPT_SUITESPARSE_INC_DIR = "${STAGING_INCDIR}"
+
+EXCLUDE_FROM_WORLD = "1"
Signature · 1 line
2.29.2
author
#1 lore raw

PATCH 2/2 suitesparse: Exclude from world

It needs lapack which needs fortran
Move suitesparse into packagegroup-meta-oe-fortran-packages

---
 meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 2 +-
 meta-oe/recipes-devtools/suitesparse/suitesparse_5.8.1.bb  | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -1
index c08d32bbdb..1c53ea971e 100644
@@ -276,7 +276,6 @@ RDEPENDS_packagegroup-meta-oe-devtools ="\
     rapidjson \
     sip3 \
     squashfs-tools-ng \
-    suitesparse \
     uftrace \
     libxerces-c \
     xerces-c-samples \
@@ -936,6 +935,7 @@ RDEPENDS_packagegroup-meta-oe-ptest-packages_remove_arm = "numactl-ptest"
 RDEPENDS_packagegroup-meta-oe-fortran-packages = "\
     lapack \
     octave \
+    suitesparse \
 "
 # library-only or headers-only packages
 # They wont be built as part of images but might be interesting to include
meta-oe/recipes-devtools/suitesparse/suitesparse_5.8.1.bb +3 -0
index af8b1f8568..9ccf2d0bff 100644
@@ -75,3 +75,6 @@ FILES_${PN} += " \
 
 FILES_${PN}-staticdev += "${libdir}/libmongoose.a"
 FILES_${PN}-dev += "${includedir} ${libdir}/*.so"
+
+EXCLUDE_FROM_WORLD = "1"
+
Signature · 1 line
2.29.2
Acked-by on v1 1/2
#2 lore raw
In reply to Khem Raj
Quoted 5 lines · Khem Raj

[Please note this e-mail is from an EXTERNAL e-mail address]

it needs lapack which need fortran

Quoted 20 lines
---
  meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb | 2 ++
  1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-cvxopt_1.2.5.bb +2 -1
index b440d62bd5..ef06b56022 100644
@@ -17,3 +17,5 @@ inherit setuptools3
  export CVXOPT_BLAS_LIB_DIR = "${STAGING_LIBDIR}"
  export CVXOPT_SUITESPARSE_LIB_DIR = "${STAGING_LIBDIR}"
  export CVXOPT_SUITESPARSE_INC_DIR = "${STAGING_INCDIR}"
+
+EXCLUDE_FROM_WORLD = "1"
--

2.29.2