westonpace commented on issue #33920:
URL: https://github.com/apache/arrow/issues/33920#issuecomment-1412595523

   I took a stab at this.  Unfortunately, libprotobuf on Ubuntu only provides 
static libraries and doesn't contain any cmake files.  I think this means we 
would also need to create a `FindProtobuf.cmake` that checks if 
`ARROW_PROTOBUF_USE_SHARED` and, if so, then looks for the `.a` file.  Although 
we should maybe always be linking protobuf statically given how obnoxious it is 
about versioning.
   
   Another option would be to build protobuf from source in the docker file 
(e.g. with `ci/scripts/install_protobuf.sh`). We could even install abseil in 
this way too for GCS support.
   
   Or, an even easier option, if we disable flight, substrait, orc (already 
disabled), opentelemetry, and gandiva, then we remove the protobuf dependency.  
This cuts the time of the job in half on my system (from 9min to ~4.5min).
   
   Is there any preference for approach?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to