You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2020/07/23 20:53:00 UTC
[jira] [Updated] (ARROW-9533) [Packaging][wheel] Could NOT Find
LLVM_DIR Error when Building with Gandiva
[ https://issues.apache.org/jira/browse/ARROW-9533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kouhei Sutou updated ARROW-9533:
--------------------------------
Summary: [Packaging][wheel] Could NOT Find LLVM_DIR Error when Building with Gandiva (was: Could NOT Find LLVM_DIR Error when Building with Gandiva)
> [Packaging][wheel] Could NOT Find LLVM_DIR Error when Building with Gandiva
> ---------------------------------------------------------------------------
>
> Key: ARROW-9533
> URL: https://issues.apache.org/jira/browse/ARROW-9533
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++ - Gandiva, Python
> Affects Versions: 0.17.1
> Reporter: Nolo Ogbirner
> Priority: Major
> Labels: build, build-failure, cmake
> Attachments: error-build-with-llvmflag.txt, error-log-build-docker.txt, errorlogbuild.txt
>
>
> The error mentioned in https://issues.apache.org/jira/browse/ARROW-3874 appears when trying to build with Gandiva on macOS, Amazon Linux and Ubuntu 18.04. After running docker-compose run -e PYTHON_VERSION="3.7" centos-python-manylinux1 I get the error
> {noformat}
> CMake Error at /opt/_internal/cpython-3.7.6/lib/python3.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
> Could NOT find LLVMAlt (missing: LLVM_PACKAGE_VERSION CLANG_EXECUTABLE
> LLVM_FOUND LLVM_LINK_EXECUTABLE)
> Call Stack (most recent call first):
> /opt/_internal/cpython-3.7.6/lib/python3.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
> cmake_modules/FindLLVMAlt.cmake:71 (find_package_handle_standard_args)
> src/gandiva/CMakeLists.txt:28 (find_package)
> {noformat}
>
> Attempting to set LLVM_DIR using export LLVM_DIR does not work. Also, setting the -DLLVM_DIR flag for CMAKE by changing the build_arrow.sh file does not seem to work either. Interesting to note is that there was a patch given for a file called FindLLVM.cmake which does not exist and there is only FindLLVMAlt.cmake now.
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)