All of lore.kernel.org
 help / color / mirror / Atom feed
* I am compiling scikit-learn python package for arm board but I am facing some errors. #python
@ 2020-11-06 10:06 william.jacob
  2020-11-06 16:50 ` [yocto] " Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: william.jacob @ 2020-11-06 10:06 UTC (permalink / raw)
  To: yocto


[-- Attachment #1.1: Type: text/plain, Size: 1283 bytes --]

Hi,
I am compiling scikit-learn python package for arm  board but I am facing below errors

william@william:~/sagitta/build-as371$ bitbake python3-scikit-learn
Loading cache: 100% |##########################################################################################################################################################| Time: 0:00:01
Loaded 3665 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################################################################| Time: 0:00:07
Parsing of 2414 .bb files complete (2403 cached, 11 parsed). 3605 targets, 374 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'lapack-native' (but virtual:native:/home/william/sagitta/meta/recipes-devtools/python-scipy/python3-scipy_1.5.2.bb DEPENDS on or otherwise requires it). Close matches:
tclap-native
lua-native
atk-native
ERROR: Required build target 'python3-scikit-learn' has no buildable providers.
Missing or unbuildable dependency chain was: ['python3-scikit-learn', 'python3-scipy-native', 'lapack-native']

It seems lapack is not compiled native because of it I am facing the issue

Thanks
William Jacob

[-- Attachment #1.2: Type: text/html, Size: 1677 bytes --]

[-- Attachment #2: python3-scikit-learn_0.23.2.bb --]
[-- Type: application/octet-stream, Size: 35 bytes --]

include python-scikit-learn.inc




[-- Attachment #3: python-scikit-learn.inc --]
[-- Type: application/octet-stream, Size: 787 bytes --]

SUMMARY = "Python Ctranslate2"
DESCRIPTION = "CTranslate2 is a fast inference engine for OpenNMT-py and OpenNMT-tf models supporting both CPU and GPU execution"
HOMEPAGE = "https://pypi.python.org/pypi/pbr"
SECTION = "devel/python"
LICENSE = "CLOSED"

SRC_URI[md5sum] = "a03e52a3fa6988bf932db5dcdc74019c"
SRC_URI[sha256sum] = "20766f515e6cd6f954554387dfae705d93c7b544ec0e6c6a5d8e006f6f7ef480"




inherit setuptools3 pypi

RDEPENDS_${PN} += "${PYTHON_PN}-pip python3-numpy-native python3-scipy "
DEPENDS += "python3-numpy-native  python3-pybind11"
DEPENDS += "python3-scipy-native"

BBCLASSEXTEND += "native nativesdk"

#CLEANBROKEN = "1"


export LAPACK = "${STAGING_LIBDIR}"
export BLAS = "${STAGING_LIBDIR}"

export F90 = "${TARGET_PREFIX}gfortran"

export FARCH = "${TUNE_CCARGS}"



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

* Re: [yocto] I am compiling scikit-learn python package for arm board but I am facing some errors. #python
  2020-11-06 10:06 I am compiling scikit-learn python package for arm board but I am facing some errors. #python william.jacob
@ 2020-11-06 16:50 ` Khem Raj
  2020-11-06 22:07   ` william.jacob
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2020-11-06 16:50 UTC (permalink / raw)
  To: william.jacob; +Cc: Yocto-mailing-list

On Fri, Nov 6, 2020 at 2:06 AM <william.jacob@sama.com.sg> wrote:
>
> Hi,
> I am compiling scikit-learn python package for arm  board but I am facing below errors
>
> william@william:~/sagitta/build-as371$ bitbake python3-scikit-learn
> Loading cache: 100% |##########################################################################################################################################################| Time: 0:00:01
> Loaded 3665 entries from dependency cache.
> Parsing recipes: 100% |########################################################################################################################################################| Time: 0:00:07
> Parsing of 2414 .bb files complete (2403 cached, 11 parsed). 3605 targets, 374 skipped, 0 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing PROVIDES 'lapack-native' (but virtual:native:/home/william/sagitta/meta/recipes-devtools/python-scipy/python3-scipy_1.5.2.bb DEPENDS on or otherwise requires it). Close matches:
>   tclap-native
>   lua-native
>   atk-native
> ERROR: Required build target 'python3-scikit-learn' has no buildable providers.
> Missing or unbuildable dependency chain was: ['python3-scikit-learn', 'python3-scipy-native', 'lapack-native']
>
>
>
>
> It seems lapack is not compiled native because of it I am facing the issue
>

right, add

BBCLASSEXTEND = "native" in lapack recipe and fix the needed bits to
get it going.

> Thanks
> William Jacob
>
>
> 
>

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

* Re: I am compiling scikit-learn python package for arm board but I am facing some errors. #python
  2020-11-06 16:50 ` [yocto] " Khem Raj
@ 2020-11-06 22:07   ` william.jacob
  0 siblings, 0 replies; 3+ messages in thread
From: william.jacob @ 2020-11-06 22:07 UTC (permalink / raw)
  To: yocto

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

adding BBCLASSEXTEND = "native" in lapack recipe will give me another error ERROR: Nothing PROVIDES 'gcc-runtime-native'

Is there a another way to make lapack native

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

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

end of thread, other threads:[~2020-11-06 22:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-06 10:06 I am compiling scikit-learn python package for arm board but I am facing some errors. #python william.jacob
2020-11-06 16:50 ` [yocto] " Khem Raj
2020-11-06 22:07   ` william.jacob

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.