]> code.ossystems Code Review - openembedded-core.git/commit
python3: define a profile directory path
authorMingli Yu <mingli.yu@windriver.com>
Thu, 9 Jul 2020 08:48:17 +0000 (16:48 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 Jul 2020 11:20:38 +0000 (12:20 +0100)
commit0000d30fb82aafa5064051502a927c5fc447b63b
treed4c687b58dfe06b9375afb2e58a52eeeb8492f1e
parentff731a25a49c768f04a474438efccb3bb505a898
python3: define a profile directory path

After ccache upgrade to 3.7.10, there comes below error when
enable ccache to build python3 and check [1] and [2] for more
details.
 | Python-3.8.3/Modules/_contextvarsmodule.c:43:1: error: source locations for function 'PyInit__contextvars' have changed, the profile data may be out of date [-Werror=coverage-mismatch]

That's because the logic for profile directory changes a little in
[3] after ccache upgrades to 3.7.10.

So define a profile directory path accordingly to fix the above error.

[1] https://github.com/ccache/ccache/issues/615
[2] https://lists.openembedded.org/g/openembedded-core/topic/75170448#140065
[3] https://github.com/ccache/ccache/commit/91a2954eb47b4a106e2be6cf611917b895108e35

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3/0001-configure.ac-define-a-path-for-profile-data.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3_3.8.3.bb