From: Rob Woolley <rob.woolley@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Cc: Rob Woolley <rob.woolley@windriver.com>
Subject: [PATCH 1/2] boost: Use python3-native executable
Date: Mon, 10 Aug 2026 10:35:50 -0700 [thread overview]
Message-ID: <20260810-fix-boost-v1-1-4e838b3d43b4@windriver.com> (raw)
In-Reply-To: <20260810-fix-boost-v1-0-4e838b3d43b4@windriver.com>
The Boost build system executes Python in the compile task to
import the Numpy module and print the include directory.
We must specify the python3-native executable in the user-config.jam
so that the python.jam can execute it properly.
Without this change, it specifies a non-existant python executable
and reports "No such file or directory" in log.do_compile.
Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
---
meta/recipes-support/boost/boost.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
index 7a343e54f6..a718a735dd 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -173,7 +173,7 @@ do_configure() {
# If we want Python then we need to tell Boost *exactly* where to find it
if ${@bb.utils.contains('BOOST_LIBS', 'python', 'true', 'false', d)}; then
- echo "using python : ${PYTHON_BASEVERSION} : ${STAGING_DIR_HOST}${bindir}/python3 : ${STAGING_DIR_HOST}${includedir}/${PYTHON_DIR}${PYTHON_ABI} : ${STAGING_DIR_HOST}${libdir}/${PYTHON_DIR} ;" >> ${WORKDIR}/user-config.jam
+ echo "using python : ${PYTHON_BASEVERSION} : ${STAGING_DIR_NATIVE}${bindir}/python3-native/python3 : ${STAGING_DIR_HOST}${includedir}/${PYTHON_DIR}${PYTHON_ABI} : ${STAGING_DIR_HOST}${libdir}/${PYTHON_DIR} ;" >> ${WORKDIR}/user-config.jam
fi
if ${@bb.utils.contains('BOOST_LIBS', 'mpi', 'true', 'false', d)}; then
--
2.49.0
next prev parent reply other threads:[~2026-08-10 17:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-10 17:35 [PATCH 0/2] boost: Add Boost.Python NumPy Rob Woolley
2026-08-10 17:35 ` Rob Woolley [this message]
2026-08-10 17:46 ` Patchtest results for [PATCH 1/2] boost: Use python3-native executable patchtest
2026-08-10 18:16 ` Woolley, Rob
2026-08-10 20:24 ` [OE-core] " Richard Purdie
2026-08-11 9:56 ` [OE-core] " Alexander Kanavin
2026-08-10 17:35 ` [PATCH 2/2] boost: Add support for Boost.Python NumPy extension Rob Woolley
2026-08-11 9:49 ` [OE-core] " Alexander Kanavin
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=20260810-fix-boost-v1-1-4e838b3d43b4@windriver.com \
--to=rob.woolley@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/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;
as well as URLs for NNTP newsgroup(s).