-
Notifications
You must be signed in to change notification settings - Fork 444
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] Fix wrong lib suffix for google_cloud_cpp_storage #7933
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: |
@zhztheplayer, just verified, we should set ".a" as the suffix for GCS. |
@PHILO-HE, @zhztheplayer This change seems to be breaking our build since it expects a static
|
Yes, the PR is to link libcurl.a always no matter you use vcpkg on or off. |
@FelixYBW Why do we need to enforce |
Hi @majetideepak, I get your point. Just created one pr to try: #8251. |
@PHILO-HE Static build is fine to some extent but forcing standard shared libraries such as libcurl, openssl to be statically linked is tricky. |
@majetideepak, I see. We didn't realize this issue before. Considering what you mentioned, some libs should be dynamically linked even if static build is used for Gluten. We should adjust our target of static build. cc @FelixYBW |
What changes were proposed in this pull request?
Currently, static google_cloud_cpp_storage lib is used in both static build and dynamic build. The lib suffix was wrongly set for CMake to find the lib.
How was this patch tested?
Local verification.