Apache DataFusion SQL Query Engine
ARROW-5403: [C++] Use GTest shared libraries with BUNDLED build, always use BUNDLED with MSVC
Wes McKinney70ea0196ec8b
diff --git a/appveyor.yml b/appveyor.ymlindex f4c587733d..74c68df9c1 100644--- a/appveyor.yml+++ b/appveyor.yml@@ -66,8 +66,9 @@ environment:GENERATOR: Visual Studio 14 2015 Win64CONFIGURATION: "Release"ARROW_BUILD_GANDIVA: "ON"- - JOB: "Static_Crt_Build"- GENERATOR: Ninja+ # NOTE: Since ARROW-5403 we have disabled the static CRT build+ # - JOB: "Static_Crt_Build"+ # GENERATOR: Ninja- JOB: "Build_Debug"GENERATOR: NinjaCONFIGURATION: "Debug"diff --git a/ci/appveyor-cpp-build.bat b/ci/appveyor-cpp-build.batindex 0320db9c4d..54f947ae1d 100644--- a/ci/appveyor-cpp-build.bat+++ b/ci/appveyor-cpp-build.bat@@ -26,6 +26,10 @@ if "%JOB%" == "Static_Crt_Build" (@rem the Arrow DLL and the tests end up using a different instance of@rem the CRT, which wreaks havoc.+ @rem ARROW-5403(wesm): Since changing to using gtest DLLs we can no+ @rem longer run the unit tests because gtest.dll and the unit test+ @rem executables have different static copies of the CRT+mkdir cpp\build-debugpushd cpp\build-debugdiff --git a/ci/cpp-msvc-build-main.bat b/ci/cpp-msvc-build-main.batindex 74eac7266d..b3ac9bbf7e 100644--- a/ci/cpp-msvc-build-main.bat+++ b/ci/cpp-msvc-build-main.bat@@ -22,12 +22,10 @@ set ARROW_HOME=%CONDA_PREFIX%\Libraryset CMAKE_ARGS=-DARROW_VERBOSE_THIRDPARTY_BUILD=OFFif "%JOB%" == "Toolchain" (- @rem Toolchain gtest does not currently work with Visual Studio 2015set CMAKE_ARGS=^%CMAKE_ARGS% ^-DARROW_WITH_BZ2=ON ^- -DARROW_DEPENDENCY_SOURCE=CONDA ^- -DGTest_SOURCE=BUNDLED+ -DARROW_DEPENDENCY_SOURCE=CONDA) else (@rem We're in a conda enviroment but don't want to use it for the dependenciesset CMAKE_ARGS=%CMAKE_ARGS% -DARROW_DEPENDENCY_SOURCE=AUTO