arrow-cpp: fix pkgsStatic
This commit is contained in:
parent
982f812ae9
commit
cb2ef38a11
@ -35,6 +35,7 @@
|
|||||||
nlohmann_json,
|
nlohmann_json,
|
||||||
openssl,
|
openssl,
|
||||||
perl,
|
perl,
|
||||||
|
pkg-config,
|
||||||
protobuf,
|
protobuf,
|
||||||
python3,
|
python3,
|
||||||
rapidjson,
|
rapidjson,
|
||||||
@ -49,7 +50,7 @@
|
|||||||
zstd,
|
zstd,
|
||||||
testers,
|
testers,
|
||||||
enableShared ? !stdenv.hostPlatform.isStatic,
|
enableShared ? !stdenv.hostPlatform.isStatic,
|
||||||
enableFlight ? true,
|
enableFlight ? stdenv.buildPlatform == stdenv.hostPlatform,
|
||||||
enableJemalloc ? !stdenv.hostPlatform.isDarwin,
|
enableJemalloc ? !stdenv.hostPlatform.isDarwin,
|
||||||
enableS3 ? true,
|
enableS3 ? true,
|
||||||
enableGcs ? !stdenv.hostPlatform.isDarwin,
|
enableGcs ? !stdenv.hostPlatform.isDarwin,
|
||||||
@ -126,6 +127,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
|
pkg-config
|
||||||
ninja
|
ninja
|
||||||
autoconf # for vendored jemalloc
|
autoconf # for vendored jemalloc
|
||||||
flatbuffers
|
flatbuffers
|
||||||
@ -180,7 +182,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
"-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON"
|
"-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON"
|
||||||
"-DARROW_BUILD_SHARED=${if enableShared then "ON" else "OFF"}"
|
"-DARROW_BUILD_SHARED=${if enableShared then "ON" else "OFF"}"
|
||||||
"-DARROW_BUILD_STATIC=${if enableShared then "OFF" else "ON"}"
|
"-DARROW_BUILD_STATIC=${if enableShared then "OFF" else "ON"}"
|
||||||
"-DARROW_BUILD_TESTS=ON"
|
"-DARROW_BUILD_TESTS=${if enableShared then "ON" else "OFF"}"
|
||||||
"-DARROW_BUILD_INTEGRATION=ON"
|
"-DARROW_BUILD_INTEGRATION=ON"
|
||||||
"-DARROW_BUILD_UTILITIES=ON"
|
"-DARROW_BUILD_UTILITIES=ON"
|
||||||
"-DARROW_EXTRA_ERROR_CONTEXT=ON"
|
"-DARROW_EXTRA_ERROR_CONTEXT=ON"
|
||||||
|
Loading…
Reference in New Issue
Block a user