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>
This commit is contained in:
Khem Raj
2025-02-05 00:58:25 -08:00
parent 0ad477bb92
commit ebcec4a3b4
@@ -12,17 +12,19 @@ Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
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