Skip to content
Closed
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
3 changes: 2 additions & 1 deletion cpp/cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1523,8 +1523,9 @@ macro(build_protobuf)
endmacro()

if(ARROW_WITH_PROTOBUF)
if(ARROW_WITH_GRPC)
if(ARROW_WITH_GRPC OR ARROW_ENGINE)
# FlightSQL uses proto3 optionals, which require 3.15 or later.
# Substrait (via ARROW_ENGINE) also relies on these optionals
set(ARROW_PROTOBUF_REQUIRED_VERSION "3.15.0")
elseif(ARROW_GANDIVA_JAVA)
# google::protobuf::MessageLite::ByteSize() is deprecated since
Expand Down
3 changes: 3 additions & 0 deletions dev/tasks/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,9 @@ tasks:
params:
env:
UBUNTU: "{{ ubuntu_version }}"
{% if ubuntu_version == "18.04" %}
flags: -e ARROW_ENGINE=OFF
{% endif %}
image: ubuntu-cpp
{% endfor %}

Expand Down