Skip to content

Commit

Permalink
Fix velox_dwio_parquet_reader_benchmark build on Ubuntu (#10648)
Browse files Browse the repository at this point in the history
Summary:
Resolves #10323

Pull Request resolved: #10648

Reviewed By: amitkdutta

Differential Revision: D60635666

Pulled By: kagamiori

fbshipit-source-id: 9be8d5983018c91355fcdef4ebb89113840ec094
  • Loading branch information
majetideepak authored and facebook-github-bot committed Aug 2, 2024
1 parent ce1566b commit 07bfc61
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ jobs:
env:
VELOX_DEPENDENCY_SOURCE: BUNDLED
MAKEFLAGS: "NUM_THREADS=8 MAX_HIGH_MEM_JOBS=4 MAX_LINK_JOBS=4"
EXTRA_CMAKE_FLAGS: "-DVELOX_ENABLE_ARROW=ON"
EXTRA_CMAKE_FLAGS: "-DVELOX_ENABLE_ARROW=ON -DVELOX_ENABLE_PARQUET=ON"
run: |
make debug
Expand Down
21 changes: 5 additions & 16 deletions velox/dwio/parquet/tests/reader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,14 @@ target_link_libraries(
velox_exec_test_lib
velox_exec
velox_hive_connector
Folly::folly
${TEST_LINK_LIBS}
${FOLLY_BENCHMARK}
${TEST_LINK_LIBS})
Folly::folly)

add_executable(velox_dwio_parquet_reader_benchmark
ParquetReaderBenchmarkMain.cpp)
target_link_libraries(
velox_dwio_parquet_reader_benchmark
velox_dwio_parquet_reader_benchmark_lib
velox_dwio_parquet_reader
velox_dwio_parquet_writer
velox_exec_test_lib
velox_exec
velox_hive_connector
Folly::folly
${TEST_LINK_LIBS})
velox_dwio_parquet_reader_benchmark velox_dwio_parquet_reader_benchmark_lib)

add_executable(velox_dwio_parquet_reader_test ParquetReaderTest.cpp
ParquetReaderBenchmarkTest.cpp)
Expand All @@ -66,11 +58,8 @@ add_test(
COMMAND velox_dwio_parquet_reader_test
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(
velox_dwio_parquet_reader_test
velox_dwio_native_parquet_reader
velox_dwio_parquet_reader_benchmark_lib
velox_link_libs
${TEST_LINK_LIBS})
velox_dwio_parquet_reader_test velox_dwio_parquet_reader_benchmark_lib
velox_link_libs)

add_executable(velox_dwio_parquet_structure_decoder_test
NestedStructureDecoderTest.cpp)
Expand Down

0 comments on commit 07bfc61

Please sign in to comment.