Skip to content

Commit

Permalink
JNI build no longer looks for Arrow in conda environment (#8686)
Browse files Browse the repository at this point in the history
Updates the Java bindings native build to no longer look for the Arrow dependency in the conda environment.  It now expects to find it in the libcudf build area or under the `ARROW_ROOT` environment variable if the user has specified it.

Authors:
  - Jason Lowe (https://github.com/jlowe)

Approvers:
  - Kuhu Shukla (https://github.com/kuhushukla)
  - MithunR (https://github.com/mythrocks)
  - Paul Taylor (https://github.com/trxcllnt)

URL: #8686
  • Loading branch information
jlowe authored Jul 8, 2021
1 parent 53b3c16 commit b123eb8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions java/src/main/native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ message(STATUS "RMM: RMM_INCLUDE set to ${RMM_INCLUDE}")

find_path(ARROW_INCLUDE "arrow"
HINTS "$ENV{ARROW_ROOT}/include"
"$ENV{CONDA_PREFIX}/include"
"${CUDF_CPP_BUILD_DIR}/_deps/arrow-src/cpp/src")

message(STATUS "ARROW: ARROW_INCLUDE set to ${ARROW_INCLUDE}")
Expand All @@ -187,7 +186,6 @@ endif(CUDF_JNI_ARROW_STATIC)

find_library(ARROW_LIBRARY ${CUDF_JNI_ARROW_LIBNAME} REQUIRED
HINTS "$ENV{ARROW_ROOT}/lib"
"$ENV{CONDA_PREFIX}/lib"
"${CUDF_CPP_BUILD_DIR}/_deps/arrow-build/release")

if(NOT ARROW_LIBRARY)
Expand Down

0 comments on commit b123eb8

Please sign in to comment.