[ 
https://issues.apache.org/jira/browse/ARROW-9533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17163949#comment-17163949
 ] 

Kouhei Sutou commented on ARROW-9533:
-------------------------------------

We removed LLVM (and Gandiva) by ARROW-5082 because it increases .whl size.
And we removed LLVM from our .whl build images by ARROW-9094.

We added support for LLVM 10 by ARROW-9004 but it's not used because we don't 
use LLVM now.

{quote}
the manylinux1 docs
{quote}

Could you show the URL of the manylinux1 docs?

I think that custom .whl isn't a good approach for you. It'll be difficult to 
maintain. Could you show assumed user environment of your custom .whl?

BTW, {{LLVM=8 docker-compose ....}} is recommended than {{docker-compose build 
--build-arg llvm=8 ...}}.

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

Reply via email to