Hello,
I’m trying to install O2 on Mac M1 Monterey. The installation fails because of the LLVM package error during the arrow installation. I already have LLVM in /opt/homebrew/Cellar/llvm/14.0.6_1 directory, which came after the installation of prerequired packages.
Below is the error message. I also tried to locate the LLVM_DIR as follows but didn’t solve the problem.
export LLVM_DIR=“/opt/homebrew/Cellar/llvm/14.0.6_1/lib/cmake/llvm”
Any help would be appreciated.
Thank you,
Kind regards,
Ayben
Could NOT find LLVM (missing: LLVM_DIR)
CMake Error at /opt/homebrew/Cellar/cmake/3.23.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find LLVMAlt (missing: LLVM_PACKAGE_VERSION LLVM_FOUND
LLVM_LINK_EXECUTABLE)
Call Stack (most recent call first):
/opt/homebrew/Cellar/cmake/3.23.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindLLVMAlt.cmake:83 (find_package_handle_standard_args)
src/gandiva/CMakeLists.txt:28 (find_package)
– Configuring incomplete, errors occurred!
See also “/Users/aybenkarasu/alice/sw/BUILD/c0a307597d1fafc0449e9c3aa5b18b0329765444/arrow/CMakeFiles/CMakeOutput.log”.
See also “/Users/aybenkarasu/alice/sw/BUILD/c0a307597d1fafc0449e9c3aa5b18b0329765444/arrow/CMakeFiles/CMakeError.log”.