Repository navigation
ORC-1807: Native support for vcpkg - #2076
deshanxiao wants to merge 4 commits into
Conversation
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Thank you.
cc @wgtmac , @williamhyun
| elseif (ORC_PACKAGE_KIND STREQUAL "vcpkg") | ||
| find_package(Snappy CONFIG REQUIRED) | ||
| add_library (orc_snappy INTERFACE IMPORTED) | ||
| target_link_libraries(orc_snappy INTERFACE Snappy::snappy) |
There was a problem hiding this comment.
It doesn't need to call target_include_directories because Snappy::snappy already exported the headers?
There was a problem hiding this comment.
@wgtmac Actually, we don't call target_include_directories here, right?
|
For vcpkg repo changes, we rely on the ORC release which includes this PR and then I can make a PR there. |
Should we backport it to branch-2.0? This does not involve code change so I believe is safe. |
|
Sure, we can. |
|
Hi @wgtmac I tried to do the backport in branch-2.0 and found many conflicts due to the commit: 4131417#diff-6c9de59647d8013be967b7259ce33ba22923a7c340383bbf9a55ec1aa4d03c03 Shall we backport it first? |
|
No, let's release them together in 2.1.0 then. |
|
Feel free to merge it when ready. @deshanxiao |
|
Merged to main and target for v2.1.0. Thanks @wgtmac and @dongjoon-hyun ! |
|
Thank you so much! And, +1 for the decision to put this on v2.1.0. |
What changes were proposed in this pull request?
This PR is aimed to add native support for vcpkg.
And the PR in vcpkg is still on going. All tests are passed.
https://github.com/deshanxiao/vcpkg/tree/deshan/remove-patch
Why are the changes needed?
Currently, we rely on vcpkg's patch mechanism to support vcpkg. Every time a new version is released, the patch needs to be regenerated, which is very inconvenient.
We do not need to regenerate the patch any more after the PR.
How was this patch tested?
Test with vcpkg local branch:
Then execute cmake with vcpkg
Was this patch authored or co-authored using generative AI tooling?
No