diff mbox series

[meta-python,1/3] python3-lief: Disable ccache

Message ID 20250206031940.2247517-1-raj.khem@gmail.com
State New
Headers show
Series [meta-python,1/3] python3-lief: Disable ccache | expand

Commit Message

Khem Raj Feb. 6, 2025, 3:19 a.m. UTC
* 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>
---
 ...-api-python-config-default.toml-Debug.patch | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
diff mbox series

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 <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