3
0
Fork 0
forked from mirrors/nixpkgs

arrow-cpp: build with CMAKE_CXX_STANDARD=17

This commit is contained in:
Phillip Cloud 2022-11-11 07:09:37 -05:00
parent a3cb8c8736
commit da1cb54c5b
No known key found for this signature in database
GPG key ID: D908212070FD785E

View file

@ -205,7 +205,8 @@ stdenv.mkDerivation rec {
] ++ lib.optionals stdenv.isDarwin [
"-DCMAKE_INSTALL_RPATH=@loader_path/../lib" # needed for tools executables
] ++ lib.optional (!stdenv.isx86_64) "-DARROW_USE_SIMD=OFF"
++ lib.optional enableS3 "-DAWSSDK_CORE_HEADER_FILE=${aws-sdk-cpp}/include/aws/core/Aws.h";
++ lib.optional enableS3 "-DAWSSDK_CORE_HEADER_FILE=${aws-sdk-cpp}/include/aws/core/Aws.h"
++ lib.optionals enableGcs [ "-DCMAKE_CXX_STANDARD=17" ];
doInstallCheck = true;
ARROW_TEST_DATA = lib.optionalString doInstallCheck "${arrow-testing}/data";