[oe] meta-python/python-scipy

Philip Balister philip at balister.org
Wed Jun 20 11:38:46 UTC 2018


On 06/19/2018 03:24 PM, Maxime Roussin-Bélanger wrote:
> Has anyone been able to have some sort of a breakthrough to build
> python-scipy?
> 
> I'm trying to build python-scipy on a x86-64generic MACHINE and I reached
> math-atlas fun...
> 
> I couldn't find any math-atlas recipe... at this point I think it might be
> a lot easier to build an ISO with a preseed configuration that installs
> python-scipy for our purpose.
> 
> Has anyone worked on it and would share they work on the contrib repo?

I just spent some time working on getting it to build natively on a Pi3
successfully (failed about 85 for 3500 tests). Next step is see if I can
use the same trick numpy does to get a configuration in place so it
cross compiles.

The configure phase of the compile is completely broken for cross
compilation since it is collecting information about python from the
sysroot, which is not going to match python on the target.

I skipped atlas and built lapack. Atlas has similar issues with cross
compilation.

I'm coming back to this, but not for several weeks.

Philip



> 
> Thanks.
> Max.
> 
-------------- next part --------------
SUMMARY = "Linear Algebra PACKage"
URL = "http://www.netlib.org/lapack"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=930f8aa500a47c7dab0f8efb5a1c9a40"

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


More information about the Openembedded-devel mailing list