-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[VL] Use Velox's monolithic build #6731
Conversation
Thanks for opening a pull request! Could you open an issue for this pull request on Github Issues? https://github.com/apache/incubator-gluten/issues Then could you also rename commit message and pull request title in the following format?
See also: |
3cc41f5
to
6543e9d
Compare
cpp/velox/CMakeLists.txt
Outdated
${VELOX_BUILD_PATH}/lib/libvelox.a) | ||
|
||
if(BUILD_TESTS) | ||
add_library(facebook::velox::dbgen STATIC IMPORTED) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PHILO-HE For the testing libraries, they are still separate libraries, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xumingming, yes, these test libs are still separate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
cpp/velox/CMakeLists.txt
Outdated
set_target_properties( | ||
facebook::velox::dwio_common_test | ||
PROPERTIES | ||
IMPORTED_LOCATION |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please consider using a helper function to simply the code.
6543e9d
to
85e8d0f
Compare
cool feature related to build! |
e528c20
to
0bd8c8d
Compare
0bd8c8d
to
4dc86d3
Compare
@zhztheplayer, @xumingming, do you have any comments? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the effort!
What changes were proposed in this pull request?
Monolithic build was introduced into velox by facebookincubator/velox#9948. It will produce a unified velox lib, libvelox.a. With it, linking velox libs in Gluten becomes less complex and easier to maintain.
We also found Velox's test util libs are still separate. They are required when Gluten --build_tests=ON. In this case, we still keep linking these separate libs.
How was this patch tested?
CI.