You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Nolo Ogbirner (Jira)" <ji...@apache.org> on 2020/07/20 17:44:00 UTC

[jira] [Created] (ARROW-9533) Could NOT Find LLVM_DIR Error when Building with Gandiva

Nolo Ogbirner created ARROW-9533:
------------------------------------

             Summary: 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
         Environment: macOs Catalina 10.15.5, Ubuntu 18.04 and Amazon Linux 2012
            Reporter: Nolo Ogbirner


{{The error mentioned in [https://issues.apache.org/jira/browse/ARROW-3874|http://example.com/] 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 }}

{{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)}}

 

{{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)