apache / apache/gluten

[VL] How to bundle third party libs

Open
#7,645 11 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
Scala
Stars
1.6k
Forks
657
Avg merge
2d 14h
Merged PRs (30d)
80

Description

### Problem description

I'm building velox with static linking `./dev/builddeps-veloxbe.sh --enable_vcpkg=ON --spark_version=3.5` . It produces 2 .so files, libgluten.so and libvelox.so in `cpp/build/releases`. The libvelox.so is missing links for folly, protobuf, and arrow (from `nm -u`). It seems like we'll need a third-party lib jar with these libraries, in addition to a jar with gluten/velox. How do you recommend bundling the binaries so we can use them in another project, please? Thank you!

### System information

Velox System Info v0.0.2
Commit: 88912821cef4795c667669c3b7f6f0dc3eebd098
CMake Version: 3.16.3
System: Linux-5.15.0-1070-aws
Arch: x86_64
CPU Name: Model name: Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz
C++ Compiler: /usr/bin/c++
C++ Compiler Version: 9.4.0
C Compiler: /usr/bin/cc
C Compiler Version: 9.4.0
CMake Prefix Path: /usr/local;/usr;/;/usr;/usr/local;/usr/X11R6;/usr/pkg;/opt

\nThe results will be copied to your clipboard if xclip is installed.

### CMake log

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.