]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
python3-cython: add patch to prefix map source paths in generated files
authorRoss Burton <ross.burton@arm.com>
Fri, 8 Nov 2024 11:55:56 +0000 (11:55 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Nov 2024 23:45:58 +0000 (23:45 +0000)
commitcdbe8ef6b744f8e485c4bc77897ad545457ea51e
tree1f8969c14867ad64d755e070a665789c0d037278
parent89394da1cbe98652e1d0bd59c762ff7da2d6a113
python3-cython: add patch to prefix map source paths in generated files

Cython generates C source code that contains mentions to the original
.py files, which results in build paths being embedded inside the
binaries.

Implement prefix remapping to change these build paths to point at the
target debug directory, so that we don't leak build paths and have
reproducible builds.

This patch is currently not submitted upstream, but will be shortly and
I expect it to evolve before being merged.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-cython/0001-WIP-prefix-map.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3-cython_3.0.11.bb