All of lore.kernel.org
 help / color / mirror / Atom feed
* Building scipy with yocto 2.2
@ 2018-07-25 10:06 Harini Srowa
  2018-07-26 17:10 ` Alejandro Enedino Hernandez Samaniego
  0 siblings, 1 reply; 2+ messages in thread
From: Harini Srowa @ 2018-07-25 10:06 UTC (permalink / raw)
  To: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 1086 bytes --]

Hi,


Has anyone tried building python-scipy with yocto 2.2. Our bitbake file looks like this:

SUMMARY = "Scientific Library for Python"
SECTION = "devel/python"
HOMEPAGE = "https://pypi.python.org/pypi/scipy"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d0db8f4148a3d5534cfb93be78f9287c"

PYPI_PACKAGE="scipy"

SRC_URI[md5sum] = "53fa34bd3733a9a4216842b6000f7316"
SRC_URI[sha256sum] = "87ea1f11a0e9ec08c264dc64551d501fa307289460705f6fccd84cbfc7926d10"

inherit pypi setuptools distutils

RDEPENDS_${PN} += "python-core python-numpy-native python-distutils"
DEPENDS += "python-numpy-native"

RDEPENDS_${PN}_class-native += ""
BBCLASSEXTEND = "native nativesdk"

do_compile_prepend_class-target() {
    ${STAGING_BINDIR_NATIVE}/python-native/python setup.py build
}

Bitbake compiles the python-scipy half way and then it is not able locate lapack/blas resources.
My build machine is x86_64 and I am building it for arm architecture 64 bit.

Let me know if anyone has come across such situation.

Thanks and regards,
Harini


[-- Attachment #2: Type: text/html, Size: 2169 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Building scipy with yocto 2.2
  2018-07-25 10:06 Building scipy with yocto 2.2 Harini Srowa
@ 2018-07-26 17:10 ` Alejandro Enedino Hernandez Samaniego
  0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Enedino Hernandez Samaniego @ 2018-07-26 17:10 UTC (permalink / raw)
  To: Harini Srowa, bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 1645 bytes --]

Hey Harini,

This email should be sent to the meta-openembedded or the oe-core list.

Also, scipy needs a math library (BLAS,LAPACK,ATLAS), and that needs to be cross compiled, you have to find  (it didn't exist back when I tried this) or create a recipe for it.

Alejandro

From: bitbake-devel-bounces@lists.openembedded.org [mailto:bitbake-devel-bounces@lists.openembedded.org] On Behalf Of Harini Srowa
Sent: Wednesday, July 25, 2018 3:06 AM
To: bitbake-devel@lists.openembedded.org
Subject: [bitbake-devel] Building scipy with yocto 2.2


Hi,



Has anyone tried building python-scipy with yocto 2.2. Our bitbake file looks like this:

SUMMARY = "Scientific Library for Python"
SECTION = "devel/python"
HOMEPAGE = "https://pypi.python.org/pypi/scipy"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d0db8f4148a3d5534cfb93be78f9287c"

PYPI_PACKAGE="scipy"

SRC_URI[md5sum] = "53fa34bd3733a9a4216842b6000f7316"
SRC_URI[sha256sum] = "87ea1f11a0e9ec08c264dc64551d501fa307289460705f6fccd84cbfc7926d10"

inherit pypi setuptools distutils

RDEPENDS_${PN} += "python-core python-numpy-native python-distutils"
DEPENDS += "python-numpy-native"

RDEPENDS_${PN}_class-native += ""
BBCLASSEXTEND = "native nativesdk"

do_compile_prepend_class-target() {
    ${STAGING_BINDIR_NATIVE}/python-native/python setup.py build
}

Bitbake compiles the python-scipy half way and then it is not able locate lapack/blas resources.
My build machine is x86_64 and I am building it for arm architecture 64 bit.

Let me know if anyone has come across such situation.

Thanks and regards,
Harini


[-- Attachment #2: Type: text/html, Size: 5739 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-26 17:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-25 10:06 Building scipy with yocto 2.2 Harini Srowa
2018-07-26 17:10 ` Alejandro Enedino Hernandez Samaniego

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.