mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
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. (From OE-Core rev: cdbe8ef6b744f8e485c4bc77897ad545457ea51e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ab6062fb3f
commit
b34a4b3b01
@@ -7,6 +7,7 @@ SECTION = "devel/python"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=61c3ee8961575861fa86c7e62bc9f69c"
|
||||
|
||||
SRC_URI += "file://0001-WIP-prefix-map.patch"
|
||||
SRC_URI[sha256sum] = "7146dd2af8682b4ca61331851e6aebce9fe5158e75300343f80c07ca80b1faff"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
Reference in New Issue
Block a user