Re: [oe] meta-python/python-scipy

2018-06-20 Thread Maxime Roussin-Bélanger
Without the crosscompiling and building for x86-64 I was able to reach far into 
the compilation of scipy.

I have issues with how libgfortran deploys it’s file so that scipy can see 
them. I found an OpenBlas recipe that I use to configure/build scipy with the 
site.cfg file.

I skipped atlas for now.

Max
On Jun 20, 2018, 07:38 -0400, Philip Balister , wrote:
> 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.
> >
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] meta-python/python-scipy

2018-06-20 Thread Philip Balister
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.
> 
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

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] meta-python/python-scipy

2018-06-19 Thread Maxime Roussin-Bélanger
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?

Thanks.
Max.
-- 
Max
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel