From 59372fed6e2b9d83d584c5f620b320bb39f17ada Mon Sep 17 00:00:00 2001 From: Jin Shang Date: Wed, 14 Sep 2022 19:01:05 +0000 Subject: [PATCH] turn off LLVM_ENABLE_ZSTD for llvm 15 --- cpp/cmake_modules/FindLLVMAlt.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpp/cmake_modules/FindLLVMAlt.cmake b/cpp/cmake_modules/FindLLVMAlt.cmake index 56ceead941516..7437929944c0a 100644 --- a/cpp/cmake_modules/FindLLVMAlt.cmake +++ b/cpp/cmake_modules/FindLLVMAlt.cmake @@ -23,6 +23,8 @@ if(LLVMAlt_FOUND) return() endif() +set(LLVM_ENABLE_ZSTD OFF) # Need to turn off LLVM_ENABLE_ZSTD due to ARROW-17728 + if(DEFINED LLVM_ROOT) # if llvm source is set to conda then prefer conda llvm over system llvm even # if the system one is newer