From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Graeme Smecher <gsmecher@threespeedlogic.com>
Cc: buildroot <buildroot@buildroot.org>
Subject: Re: [Buildroot] host-python-numpy - confused about host openblas dependency
Date: Mon, 29 Jan 2024 21:22:25 +0100 [thread overview]
Message-ID: <ZbgJAacXmCx1x_kT@landeda> (raw)
In-Reply-To: <f0bf5c75-199c-d23b-373a-f2728ecac99e@threespeedlogic.com>
Graeme, All,
On 2024-01-29 11:54 -0800, Graeme Smecher spake thusly:
> Several packages depend on host-python-numpy:
[--SNIP--]
> However, this package appears to rely on a host-openblas dependency
> that's implied but never really spelled out.
[--SNIP--]
> Any suggestions?
See package/python-numpy/python-numpy.mk: it has proper lapack and blas
handling for the target variant, but indeed the host variant is left in
the dark.
> There are enough packages depending on host-numpy that I expect it's
> something unusual on my end.
Or rather just happenstance that you found it first...
> If I force the build to proceed using system pkg-config I can coax it
> into proceeding - but this is clearly a hack.
Indeed it is not the proper solutoin. The proper way is to edit
package/python-numpy/python-numpy.mk and add:
HOST_PYTHON_NUMPY_CONF_OPTS = -Dblas="" -Dlapack=""
Hopefully they are not needed for the host variant, because we not have
host-lapack or host-openblas.
Care to send a patch, please?
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-01-29 20:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-29 19:54 [Buildroot] host-python-numpy - confused about host openblas dependency Graeme Smecher
2024-01-29 20:22 ` Yann E. MORIN [this message]
2024-01-29 20:40 ` [Buildroot] [PATCH] host-python-numpy: correct implied host-lapack/host-blas dependency gsmecher
2024-01-29 20:58 ` Yann E. MORIN
2024-02-05 18:04 ` Yann E. MORIN
2024-02-29 15:38 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZbgJAacXmCx1x_kT@landeda \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
--cc=gsmecher@threespeedlogic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox