From ebcec4a3b4c2b83c7f1baa19bfa3f8f182e9adc2 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 5 Feb 2025 00:58:25 -0800 Subject: 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 --- .../0002-api-python-config-default.toml-Debug.patch | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-lief/0002-api-python-config-default.toml-Debug.patch') 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 api/python/config-default.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/api/python/config-default.toml b/api/python/config-default.toml -index 519bc046..49477864 100644 --- a/api/python/config-default.toml +++ b/api/python/config-default.toml -@@ -1,5 +1,5 @@ +@@ -1,8 +1,11 @@ [lief.build] -type = "Release" -+type = "Debug" - cache = true +-cache = true ++type = "RelWithDebInfo" ++cache = false ninja = true parallel-jobs = 0 --- -2.39.5 - ++extra-cmake-opt = [ ++ "-DCMAKE_MODULE_PATH=/cmake/linux/", ++] + + [lief.formats] + elf = true -- cgit v1.2.3-54-g00ecf