summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-lief/0002-api-python-config-default.toml-Debug.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-02-05 00:58:25 -0800
committerKhem Raj <raj.khem@gmail.com>2025-02-05 13:56:33 -0800
commitebcec4a3b4c2b83c7f1baa19bfa3f8f182e9adc2 (patch)
tree46aabc42a024c4565b36cb26f9324f88b51dae7a /meta-python/recipes-devtools/python/python3-lief/0002-api-python-config-default.toml-Debug.patch
parent0ad477bb9202701a0b3b776d873cd5899a84f2aa (diff)
downloadmeta-openembedded-ebcec4a3b4c2b83c7f1baa19bfa3f8f182e9adc2.tar.gz
python3-lief: Disable ccache
* ccache with OE does not work always * Use RelWithDebInfo instead of Debug build type in cmake Some modules are built in /tmp and if /tmp is small < 2GB the build may run out of space especially with huge debug info files Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-lief/0002-api-python-config-default.toml-Debug.patch')
-rw-r--r--meta-python/recipes-devtools/python/python3-lief/0002-api-python-config-default.toml-Debug.patch18
1 files changed, 10 insertions, 8 deletions
diff --git a/meta-python/recipes-devtools/python/python3-lief/0002-api-python-config-default.toml-Debug.patch b/meta-python/recipes-devtools/python/python3-lief/0002-api-python-config-default.toml-Debug.patch
index bc38a63726..cb8d4e921d 100644
--- a/meta-python/recipes-devtools/python/python3-lief/0002-api-python-config-default.toml-Debug.patch
+++ b/meta-python/recipes-devtools/python/python3-lief/0002-api-python-config-default.toml-Debug.patch
@@ -12,17 +12,19 @@ Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
12 api/python/config-default.toml | 2 +- 12 api/python/config-default.toml | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
14 14
15diff --git a/api/python/config-default.toml b/api/python/config-default.toml
16index 519bc046..49477864 100644
17--- a/api/python/config-default.toml 15--- a/api/python/config-default.toml
18+++ b/api/python/config-default.toml 16+++ b/api/python/config-default.toml
19@@ -1,5 +1,5 @@ 17@@ -1,8 +1,11 @@
20 [lief.build] 18 [lief.build]
21-type = "Release" 19-type = "Release"
22+type = "Debug" 20-cache = true
23 cache = true 21+type = "RelWithDebInfo"
22+cache = false
24 ninja = true 23 ninja = true
25 parallel-jobs = 0 24 parallel-jobs = 0
26-- 25+extra-cmake-opt = [
272.39.5 26+ "-DCMAKE_MODULE_PATH=/cmake/linux/",
28 27+]
28
29 [lief.formats]
30 elf = true