Skip to content

Apache DataFusion SQL Query Engine

PARQUET-1439: Remove PARQUET_ARROW_LINKAGE option, clean up overall library linking configuration

Wes McKinney35e13ac6baa2
diff --git a/ci/appveyor-cpp-test-cmake-script.bat b/ci/appveyor-cpp-test-cmake-script.bat
index c2740b8965..86ecd506fb 100644
--- a/ci/appveyor-cpp-test-cmake-script.bat
+++ b/ci/appveyor-cpp-test-cmake-script.bat
@@ -121,7 +121,7 @@ cmake -G "%GENERATOR%" ^
-DARROW_CXXFLAGS="/MP" ^
.. >nul 2>error.txt
-FINDSTR /M /C:"No static or shared library provided for lz4_static" error.txt || exit /B
+FINDSTR /M /C:"No static or shared library provided for lz4" error.txt || exit /B
set LZ4_HOME=
popd
@@ -164,14 +164,14 @@ cmake -G "%GENERATOR%" ^
.. 2>output.txt
set LIBRARY_FOUND_MSG=Added static library dependency
-for %%x in (snappy gflags brotli_enc brotli_dec brotli_common lz4_static zstd_static) do (
+for %%x in (snappy gflags brotli_enc brotli_dec brotli_common lz4 zstd) do (
echo Checking %%x library path
- FINDSTR /C:"%LIBRARY_FOUND_MSG% %%x: %CONDA_PREFIX:\=/%" output.txt || exit /B
+ FINDSTR /C:"%LIBRARY_FOUND_MSG% %%x_static: %CONDA_PREFIX:\=/%" output.txt || exit /B
)
set LIBRARY_FOUND_MSG=Added shared library dependency
for %%x in (zlib) do (
echo Checking %%x library path
- FINDSTR /C:"%LIBRARY_FOUND_MSG% %%x: %CONDA_PREFIX:\=/%" output.txt || exit /B
+ FINDSTR /C:"%LIBRARY_FOUND_MSG% %%x_shared: %CONDA_PREFIX:\=/%" output.txt || exit /B
)
popd
diff --git a/ci/travis_before_script_cpp.sh b/ci/travis_before_script_cpp.sh
index c9e60e6a2a..f9e0602a80 100755
--- a/ci/travis_before_script_cpp.sh
+++ b/ci/travis_before_script_cpp.sh
@@ -86,6 +86,7 @@ fi
if [ $ARROW_TRAVIS_PARQUET == "1" ]; then
CMAKE_COMMON_FLAGS="$CMAKE_COMMON_FLAGS \
-DARROW_PARQUET=ON \
+-DPARQUET_BUILD_EXAMPLES=ON \
-DPARQUET_BUILD_EXECUTABLES=ON"
fi