[
https://issues.apache.org/jira/browse/ARROW-3874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16698439#comment-16698439
]
Suvayu Ali edited comment on ARROW-3874 at 11/26/18 3:13 AM:
-------------------------------------------------------------
I had installed {{llvm-devel}} using dnf. cmake worked fine after installing
{{llvm-static}}. Thanks!
But during the build I also noticed, many already installed libraries are being
downloaded:
{code:java}
[ 2%] Performing download step (download, verify and extract) for 'protobuf_ep'
[ 2%] Performing download step (download, verify and extract) for 'thrift_ep'
{code}
I have these installed:
{code:java}
$ rpm -qa thrift\* protobuf\*
protobuf-3.5.0-4.fc28.x86_64
protobuf-compiler-3.5.0-4.fc28.x86_64
protobuf-java-3.5.0-4.fc28.noarch
protobuf-c-1.3.0-4.fc28.x86_64
protobuf-devel-3.5.0-4.fc28.x86_64
protobuf-lite-3.5.0-4.fc28.x86_64
thrift-devel-0.10.0-9.fc28.x86_64
thrift-0.10.0-9.fc28.x86_64
{code}
Am I missing some libraries there as well?
was (Author: suvayu):
I had installed {{llvm-devel}} using dnf. cmake worked fine after installing
{{llvm-static}}. Thanks!
But during the build I also noticed, many already installed libraries are being
downloaded:
{code:java}
[ 2%] Performing download step (download, verify and extract) for 'protobuf_ep'
[ 2%] Performing download step (download, verify and extract) for 'thrift_ep'
{code}
I have these installed:
{code:java}
$ rpm -qa thrift\* protobuf\*
protobuf-3.5.0-4.fc28.x86_64
protobuf-compiler-3.5.0-4.fc28.x86_64
protobuf-java-3.5.0-4.fc28.noarch
protobuf-c-1.3.0-4.fc28.x86_64
protobuf-devel-3.5.0-4.fc28.x86_64
protobuf-lite-3.5.0-4.fc28.x86_64
thrift-devel-0.10.0-9.fc28.x86_64
thrift-0.10.0-9.fc28.x86_64
{code}
Am I missing some libraries there as well?
> [Gandiva] Cannot build: LLVM not detected correctly
> ---------------------------------------------------
>
> Key: ARROW-3874
> URL: https://issues.apache.org/jira/browse/ARROW-3874
> Project: Apache Arrow
> Issue Type: Bug
> Components: Gandiva
> Affects Versions: 0.12.0
> Environment: Fedora 28, master (8d5bfc65)
> gcc (GCC) 8.2.1 20181105 (Red Hat 8.2.1-5)
> llvm 6.0.1
> Reporter: Suvayu Ali
> Priority: Major
> Labels: cmake
> Attachments: CMakeError.log, CMakeOutput.log
>
>
> I cannot build Arrow with {{-DARROW_GANDIVA=ON}}. {{cmake}} fails while
> detecting LLVM on the system.
> {code}
> $ cd build/data-an/arrow/arrow/cpp/
> $ export ARROW_HOME=/opt/data-an
> $ mkdir release
> $ cd release/
> $ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$ARROW_HOME
> -DARROW_GANDIVA=ON ../
> [...]
> -- Found LLVM 6.0.1
> -- Using LLVMConfig.cmake in: /usr/lib64/cmake/llvm
> CMake Error at /usr/lib64/cmake/llvm/LLVM-Config.cmake:175 (message):
> Target X86 is not in the set of libraries.
> Call Stack (most recent call first):
> cmake_modules/FindLLVM.cmake:31 (llvm_map_components_to_libnames)
> src/gandiva/CMakeLists.txt:25 (find_package)
> -- Configuring incomplete, errors occurred!
> {code}
> The cmake log files are attached.
> When I invoke cmake with options other than *Gandiva*, it finishes
> successfully.
> Here are the llvm libraries that are installed on my system:
> {code}
> $ rpm -qa llvm\* | sort
> llvm3.9-libs-3.9.1-13.fc28.x86_64
> llvm4.0-libs-4.0.1-5.fc28.x86_64
> llvm-6.0.1-8.fc28.x86_64
> llvm-devel-6.0.1-8.fc28.x86_64
> llvm-libs-6.0.1-8.fc28.i686
> llvm-libs-6.0.1-8.fc28.x86_64
> $ ls /usr/lib64/libLLVM* /usr/include/llvm
> /usr/lib64/libLLVM-6.0.1.so /usr/lib64/libLLVM-6.0.so /usr/lib64/libLLVM.so
> /usr/include/llvm:
> ADT FuzzMutate Object Support
> Analysis InitializePasses.h ObjectYAML TableGen
> AsmParser IR Option Target
> BinaryFormat IRReader PassAnalysisSupport.h Testing
> Bitcode LineEditor Passes ToolDrivers
> CodeGen LinkAllIR.h Pass.h Transforms
> Config LinkAllPasses.h PassInfo.h WindowsManifest
> DebugInfo Linker PassRegistry.h WindowsResource
> Demangle LTO PassSupport.h XRay
> ExecutionEngine MC ProfileData
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)