Skip to content
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

[etcd-cpp-apiv3] Add etcd-cpp-vpiv3 port. #15373

Closed
wants to merge 2 commits into from

Conversation

sighingnow
Copy link
Contributor

  • What does your PR fix? Fixes #

Add the etcd-cpp-apiv3 library.

  • Which triplets are supported/not supported? Have you updated the CI baseline?

Any platforms/triplets that cpprestsdk and grpc are supported.

Yes.

Signed-off-by: Tao He <sighingnow@gmail.com>
Signed-off-by: Tao He <sighingnow@gmail.com>
@JackBoosY JackBoosY added the category:new-port The issue is requesting a new library to be added; consider making a PR! label Dec 30, 2020
@@ -0,0 +1,6 @@
Source: etcd-cpp-apiv3
Version: etcd-cpp-apiv3-7e280ec
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Version: etcd-cpp-apiv3-7e280ec
Version: 2020-12-30

We should use the date that you accept the commits if there is no released version.

Please see https://github.com/microsoft/vcpkg/blob/master/docs/maintainers/control-files.md#version

Comment on lines +5 to +6
Build-Depends: boost-system, boost-thread, boost-locale, boost-random,
cpprestsdk, grpc, openssl, protobuf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Build-Depends: boost-system, boost-thread, boost-locale, boost-random,
cpprestsdk, grpc, openssl, protobuf
Build-Depends: boost-system, boost-thread, boost-locale, boost-random, cpprestsdk, grpc, openssl, protobuf

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO etcd-cpp-apiv3/etcd-cpp-apiv3
REF 7e280ec8a49aaf26976d72a4080f2e2c6756f2b7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you not use the latest commit here?

vcpkg_copy_pdbs()

# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/etcd-cpp-apiv3 RENAME copyright)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/etcd-cpp-apiv3 RENAME copyright)
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

@@ -260,6 +260,7 @@ epsilon:arm-uwp=fail
epsilon:x64-linux=fail
epsilon:x64-osx=fail
epsilon:x64-uwp=fail
etcd-cpp-apiv3:arm64-windows=fail
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this port not support arm64?

-DBUILD_ETCD_TESTS=OFF
)
set(VCPKG_POLICY_DLLS_WITHOUT_LIBS enabled)
set(VCPKG_POLICY_DLLS_WITHOUT_EXPORTS enabled)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need to add these two polices?

@NancyLi1013
Copy link
Contributor

Hi @sighingnow

Thanks for adding this port.

I noticed there are no any files installed in the list. Could you please help confirm if there is something wrong?

@NancyLi1013
Copy link
Contributor

@sighingnow

Could you please resolve the conflicts?

@sighingnow
Copy link
Contributor Author

@sighingnow

Could you please resolve the conflicts?

Will fixes that ASAP.

@NancyLi1013
Copy link
Contributor

Hi @sighingnow

Is work still being done this PR?

@sighingnow
Copy link
Contributor Author

I temporarily close this issue and will reopen when I back to that project.

@sighingnow
Copy link
Contributor Author

Replaced by: #29363

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:new-port The issue is requesting a new library to be added; consider making a PR!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants