Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions cpp/cmake_modules/DefineOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -582,11 +582,12 @@ takes precedence over ccache if a storage backend is configured" ON)
set_option_category("Parquet")

define_option(PARQUET_BUILD_EXECUTABLES
"Build the Parquet executable CLI tools. Requires static libraries to be built."
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've checked that static libraries are not required for the Parquet executables to work, so removing the misleading statement.

OFF)
"Build the Parquet executable CLI tools."
OFF
DEPENDS
ARROW_FILESYSTEM)

define_option(PARQUET_BUILD_EXAMPLES
"Build the Parquet examples. Requires static libraries to be built." OFF)
define_option(PARQUET_BUILD_EXAMPLES "Build the Parquet examples." OFF)

define_option(PARQUET_REQUIRE_ENCRYPTION
"Build support for encryption. Fail if OpenSSL is not found"
Expand Down
6 changes: 6 additions & 0 deletions cpp/src/arrow/compute/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ set(ARROW_COMPUTE_TEST_ARGS PREFIX ${ARROW_COMPUTE_TEST_PREFIX} LABELS
# Also see: GH-34388, GH-34615
function(ADD_ARROW_COMPUTE_TEST REL_TEST_NAME)
if(NOT ARROW_COMPUTE)
# libarrow_compute is not enabled, skip building test
return()
endif()

Expand Down Expand Up @@ -109,6 +110,11 @@ endfunction()
# part of libarrow.
# It will also link the compute libraries to the benchmark target.
function(add_arrow_compute_benchmark REL_TEST_NAME)
if(NOT ARROW_COMPUTE)
# libarrow_compute is not enabled, skip building benchmark
return()
endif()

set(options)
set(one_value_args PREFIX)
set(multi_value_args EXTRA_SOURCES EXTRA_LINK_LIBS)
Expand Down
Loading