Skip to content

Commit

Permalink
Use the llvm from apt-get (instead of travis) (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pindikura Ravindra authored and wesm committed Feb 6, 2019
1 parent 86ed750 commit 202bed3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/cmake_modules/FindLLVM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ if (APPLE)
endif()

find_package(LLVM ${ARROW_LLVM_VERSION} REQUIRED CONFIG HINTS
/usr/lib
/usr/local/opt/llvm
/usr/share
${LLVM_BREW_PREFIX}
Expand All @@ -41,7 +42,7 @@ message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")
message(STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR}")

# Find the libraries that correspond to the LLVM components
llvm_map_components_to_libnames(LLVM_LIBS all)
llvm_map_components_to_libnames(LLVM_LIBS core mcjit native ipo bitreader target linker analysis debuginfodwarf)

find_program(LLVM_LINK_EXECUTABLE llvm-link
HINTS ${LLVM_TOOLS_BINARY_DIR})
Expand Down

0 comments on commit 202bed3

Please sign in to comment.