-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[clipper2] Add new port #29303
[clipper2] Add new port #29303
Conversation
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.
All possible file conflicts with clipper seem to be resolved by upstream using 2
in file and directory names.
I don't know about symbol names.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
I got a bad hash error in my local:
|
I cannot help with this. For me and Azure Pipelines, it does not reproduce. |
@dg0yt I don't think that we should change something in the typical Clipper2 installation |
@ex-purple Maybe you local downloads folder (and vcpkg CI) has the asset with the SHA512 from GH yesterday's temporary change? |
I didn't ask for changes. I just wanted to avoid surprises if both libaries end up in the linking of a single executable. The answer is : Clipper2 uses a different C++ namespace. So really no problem. |
@@ -0,0 +1,25 @@ | |||
if(VCPKG_TARGET_IS_WINDOWS) | |||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY) |
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.
I see an unguarded
#define EXTERN_DLL_EXPORT extern "C" __declspec(dllexport)
in CPP/Clipper2Lib/include/clipper2/clipper.export.h
.
I guess for dynamic linkage support, this must be replaced in the installed header?
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.
I have never experienced DDL export in practice, but I can try this option
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.
We may change it in an update if you don't feel comfortable with it.
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.
Yes, please 🙏
Thanks for the lesson. I'm not native speaker 🙂
Maybe |
Delete your local |
Indeed, I updated actual hash |
I manually checked that the SHA in here is not affected by #29288 |
Thanks for the new port! @dg0yt Thanks for your review! |
Fixes #26448
find_package
calls are REQUIRED, are satisfied byvcpkg.json
's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxxvcpkg.json
matches what upstream says.vcpkg.json
matches what upstream says../vcpkg x-add-version --all
and committing the result.