* 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.k...@gmail.com>
---
 ...-api-python-config-default.toml-Debug.patch | 18 ++++++++++--------
 1 file 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.an...@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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115284): 
https://lists.openembedded.org/g/openembedded-devel/message/115284
Mute This Topic: https://lists.openembedded.org/mt/111026438/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to