meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
sw:yocto:meta:meta-clang [2025/06/25 12:42] niziaksw:yocto:meta:meta-clang [2025/06/25 12:54] (current) niziak
Line 35: Line 35:
 It is already fixed with new llvm version.  It is already fixed with new llvm version. 
  
-Commit with fix is here: [[https://github.com/llvm/llvm-project/commit/8b99b815574de882da309be9ac0473d9c417b538.patch|[PATCH] [CMake] Add tablegen job pool support]].+Related issues: 
 +  * [[https://github.com/llvm/llvm-project/issues/121399|Out of memory error while building clang #121399]] 
 +Commit with fix is here: 
 +  * [[https://github.com/llvm/llvm-project/pull/84762|[CMake] Add tablegen job pool support #84762]] 
 +  * [[https://github.com/llvm/llvm-project/commit/8b99b815574de882da309be9ac0473d9c417b538.patch|patch]].
  
 Usage in ''local.conf'': Usage in ''local.conf'':
Line 41: Line 45:
 <file bash local.conf> <file bash local.conf>
 EXTRA_OECMAKE:append:pn-clang-native = " -DLLVM_PARALLEL_TABLEGEN_JOBS=${@oe.utils.cpu_count() // 2}" EXTRA_OECMAKE:append:pn-clang-native = " -DLLVM_PARALLEL_TABLEGEN_JOBS=${@oe.utils.cpu_count() // 2}"
 +# By default meta-clang is configured to built all architectures, limit it:
 +LLVM_TARGETS_TO_BUILD = "X86;AArch64"
 </file> </file>