diff --git a/recipes/dev/llvm18/recipe.toml b/recipes/dev/llvm18/recipe.toml index 1834a94e3..85399dad3 100644 --- a/recipes/dev/llvm18/recipe.toml +++ b/recipes/dev/llvm18/recipe.toml @@ -66,5 +66,7 @@ COOKBOOK_CMAKE_FLAGS+=( -DLLVM_ENABLE_PROJECTS="llvm" ) +# Native tablegen build fails with too many jobs, limit to 16 +COOKBOOK_MAKE_JOBS="$(( ${COOKBOOK_MAKE_JOBS} > 16 ? 16 : ${COOKBOOK_MAKE_JOBS} ))" cookbook_cmake "${COOKBOOK_SOURCE}/llvm" """