From 162f551312ff8c342ce2617e7f3f1955f4920bed Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 20 Nov 2025 15:05:36 -0700 Subject: [PATCH] llvm18: Native tablegen build fails with too many jobs, limit to 16 --- recipes/dev/llvm18/recipe.toml | 2 ++ 1 file changed, 2 insertions(+) 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" """