Merge pull request #143576 from veprbl/pr/arrow_cpp_thrift_pkgconfig

arrow-cpp: search for Thrift using pkg-config instead of cmake
This commit is contained in:
Dmitry Kalinkin 2021-10-29 16:21:20 -04:00 committed by GitHub
commit e6b6a3b3c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,6 +90,7 @@ in stdenv.mkDerivation rec {
"-DARROW_BUILD_TESTS=ON"
"-DARROW_VERBOSE_THIRDPARTY_BUILD=ON"
"-DARROW_DEPENDENCY_SOURCE=SYSTEM"
"-DThrift_SOURCE=AUTO" # search for Thrift using pkg-config (ThriftConfig.cmake requires OpenSSL and libevent)
"-DARROW_DEPENDENCY_USE_SHARED=${if enableShared then "ON" else "OFF"}"
"-DARROW_COMPUTE=ON"
"-DARROW_CSV=ON"