Skip to contentSkip to conversation

lapack: Add recipe.

PATCH In review Philip Balister 2 participants 3 messages Jul 24, 2018 – Jul 25, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lapack: Add recipe.

* Build tested.
* Note: needs FORTRAN enabled in local.conf or similar.
* Used to build scipy on pi-3. scipy passed many tests.
* Based on work from meta-gnss https://github.com/carlesfernandez/meta-gnss-sdr
* Hopefully this helps others playing with scipy and things.

---
 meta-oe/recipes-devtools/lapack/lapack_3.8.0.bb | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/lapack/lapack_3.8.0.bb
meta-oe/recipes-devtools/lapack/lapack_3.8.0.bb new file +24 -0
new file mode 100644
index 000000000..ef1abd567
@@ -0,0 +1,24 @@
+SUMMARY = "Linear Algebra PACKage"
+URL = "http://www.netlib.org/lapack"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=930f8aa500a47c7dab0f8efb5a1c9a40"
+
+# Recipe needs FORTRAN support (copied from conf/local.conf.sample.extended)
+# Enabling FORTRAN
+# Note this is not officially supported and is just illustrated here to
+# show an example of how it can be done
+# You'll also need your fortran recipe to depend on libgfortran
+#FORTRAN_forcevariable = ",fortran"
+#RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath"
+
+DEPENDS = "libgfortran"
+
+SRC_URI = "http://www.netlib.org/lapack/lapack-${PV}.tar.gz"
+SRC_URI[md5sum] = "96591affdbf58c450d45c1daa540dbd2"
+SRC_URI[sha256sum] = "deb22cc4a6120bff72621155a9917f485f96ef8319ac074a7afbc68aab88bcf6"
+
+EXTRA_OECMAKE = " -DBUILD_SHARED_LIBS=ON "
+OECMAKE_GENERATOR = "Unix Makefiles"
+
+inherit cmake pkgconfig
+
Signature · 1 line
2.13.6
#1 lore raw
Quoted 7 lines · Philip Balister

* Build tested.
* Note: needs FORTRAN enabled in local.conf or similar.
* Used to build scipy on pi-3. scipy passed many tests.
* Based on work from meta-gnss https://github.com/carlesfernandez/meta-gnss-sdr
* Hopefully this helps others playing with scipy and things.

thanks for this, fortran is not a daily driver for many here, and is not enabled
in toolchain by default as well. So in this scenario is there any easy way to exclude this recipe from parsing ? I am interested in getting our recipe fail count down and this recipe wont help.

Quoted 44 lines
---
 meta-oe/recipes-devtools/lapack/lapack_3.8.0.bb | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/lapack/lapack_3.8.0.bb
meta-oe/recipes-devtools/lapack/lapack_3.8.0.bb new file +24 -1
new file mode 100644
index 000000000..ef1abd567
@@ -0,0 +1,24 @@
+SUMMARY = "Linear Algebra PACKage"
+URL = "http://www.netlib.org/lapack"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=930f8aa500a47c7dab0f8efb5a1c9a40"
+
+# Recipe needs FORTRAN support (copied from conf/local.conf.sample.extended)
+# Enabling FORTRAN
+# Note this is not officially supported and is just illustrated here to
+# show an example of how it can be done
+# You'll also need your fortran recipe to depend on libgfortran
+#FORTRAN_forcevariable = ",fortran"
+#RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath"
+
+DEPENDS = "libgfortran"
+
+SRC_URI = "http://www.netlib.org/lapack/lapack-${PV}.tar.gz"
+SRC_URI[md5sum] = "96591affdbf58c450d45c1daa540dbd2"
+SRC_URI[sha256sum] = "deb22cc4a6120bff72621155a9917f485f96ef8319ac074a7afbc68aab88bcf6"
+
+EXTRA_OECMAKE = " -DBUILD_SHARED_LIBS=ON "
+OECMAKE_GENERATOR = "Unix Makefiles"
+
+inherit cmake pkgconfig
+
--

2.13.6

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 9 lines · Khem Raj
Quoted 7 lines · Philip Balister

* Build tested.
* Note: needs FORTRAN enabled in local.conf or similar.
* Used to build scipy on pi-3. scipy passed many tests.
* Based on work from meta-gnss https://github.com/carlesfernandez/meta-gnss-sdr
* Hopefully this helps others playing with scipy and things.

Quoted 5 lines

thanks for this, fortran is not a daily driver for many here, and is not enabled
in toolchain by default as well. So in this scenario is there any easy way to exclude this recipe from parsing ? I am interested in getting our recipe fail count down and this recipe wont help.

Yeah, after I sent this I thought about that. I'd like it in meta-oe for visibility, since it seems like scipy comes up every so often. The recipe isn't complete crap, so I think it makes sense to have it here, we just need a way to exclude it from parsing to help khem.

Any suggestions?

Philip

Quoted 46 lines
Quoted 45 lines
---
 meta-oe/recipes-devtools/lapack/lapack_3.8.0.bb | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/lapack/lapack_3.8.0.bb
meta-oe/recipes-devtools/lapack/lapack_3.8.0.bb new file +24 -1
new file mode 100644
index 000000000..ef1abd567
@@ -0,0 +1,24 @@
+SUMMARY = "Linear Algebra PACKage"
+URL = "http://www.netlib.org/lapack"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=930f8aa500a47c7dab0f8efb5a1c9a40"
+
+# Recipe needs FORTRAN support (copied from conf/local.conf.sample.extended)
+# Enabling FORTRAN
+# Note this is not officially supported and is just illustrated here to
+# show an example of how it can be done
+# You'll also need your fortran recipe to depend on libgfortran
+#FORTRAN_forcevariable = ",fortran"
+#RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath"
+
+DEPENDS = "libgfortran"
+
+SRC_URI = "http://www.netlib.org/lapack/lapack-${PV}.tar.gz"
+SRC_URI[md5sum] = "96591affdbf58c450d45c1daa540dbd2"
+SRC_URI[sha256sum] = "deb22cc4a6120bff72621155a9917f485f96ef8319ac074a7afbc68aab88bcf6"
+
+EXTRA_OECMAKE = " -DBUILD_SHARED_LIBS=ON "
+OECMAKE_GENERATOR = "Unix Makefiles"
+
+inherit cmake pkgconfig
+
--

2.13.6

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel