From 80773c333dbee6469b7527111f8f9d06094d260c Mon Sep 17 00:00:00 2001 From: Wildan Mubarok Date: Mon, 7 Jul 2025 19:10:52 +0000 Subject: [PATCH 1/2] Simplify llvm18 recipe --- recipes/dev/llvm18/recipe.toml | 50 +++++++++++++++------------------- 1 file changed, 22 insertions(+), 28 deletions(-) diff --git a/recipes/dev/llvm18/recipe.toml b/recipes/dev/llvm18/recipe.toml index 7b34605e1..b2592195a 100644 --- a/recipes/dev/llvm18/recipe.toml +++ b/recipes/dev/llvm18/recipe.toml @@ -11,32 +11,29 @@ dependencies = [ script = """ DYNAMIC_INIT -cat > CMakeToolchain-x86_64.cmake < Date: Mon, 7 Jul 2025 20:14:05 +0000 Subject: [PATCH 2/2] Fix compilation --- recipes/dev/llvm18/recipe.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/dev/llvm18/recipe.toml b/recipes/dev/llvm18/recipe.toml index b2592195a..d6cd8458a 100644 --- a/recipes/dev/llvm18/recipe.toml +++ b/recipes/dev/llvm18/recipe.toml @@ -34,6 +34,7 @@ export LDFLAGS="-Wl,-rpath-link,${COOKBOOK_SYSROOT}/lib $LDFLAGS" COOKBOOK_CMAKE_FLAGS=( -DCMAKE_CXX_FLAGS="--std=gnu++11" + -DBUILD_SHARED_LIBS=False -DLLVM_LINK_LLVM_DYLIB=On -DCROSS_TOOLCHAIN_FLAGS_NATIVE="-DCMAKE_TOOLCHAIN_FILE=$(realpath "${COOKBOOK_RECIPE}/native.cmake")" -DLLVM_BUILD_BENCHMARKS=Off