-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[google-cloud-cpp] Consolidate all google-cloud* packages (#11698)
* [google-cloud-cpp] Consolidate all google-cloud* packages Starting with the v1.14.0 release all google-cloud* packages and the googleapis package are kept in a single repository and released simultaneously. * Update CI baseline. google-cloud-cpp used to inherit failures from googleapis, which indicates these are (probably) problems in the generated protobuf/grpc code.
- Loading branch information
Showing
10 changed files
with
21 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,4 @@ | ||
Source: google-cloud-cpp-common | ||
Version: 0.25.0 | ||
Build-Depends: grpc, googleapis | ||
Description: Base C++ Libraries for Google Cloud Platform APIs | ||
Homepage: https://github.com/googleapis/google-cloud-cpp-common | ||
|
||
Feature: test | ||
Description: Build test | ||
Build-Depends: gtest | ||
Version: alias | ||
Build-Depends: google-cloud-cpp | ||
Description: Deprecated, use google-cloud-cpp instead |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1 @@ | ||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY) | ||
|
||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO googleapis/google-cloud-cpp-common | ||
REF v0.25.0 | ||
SHA512 074294e8b824d7f2b9d6d4051f4fbb28ca83166aad98ff000348abb238488b1c957726d901dae041bf50aa23ab368da5cf1d23ad42454f9ad07153976c0a29fe | ||
HEAD_REF master) | ||
|
||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS | ||
test BUILD_TESTING | ||
) | ||
|
||
vcpkg_configure_cmake( | ||
SOURCE_PATH ${SOURCE_PATH} | ||
PREFER_NINJA | ||
DISABLE_PARALLEL_CONFIGURE | ||
OPTIONS | ||
${FEATURE_OPTIONS} | ||
-DGOOGLE_CLOUD_CPP_ENABLE_MACOS_OPENSSL_CHECK=OFF) | ||
|
||
vcpkg_install_cmake(ADD_BIN_TO_PATH) | ||
|
||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) | ||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake TARGET_PATH share) | ||
|
||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) | ||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) | ||
|
||
vcpkg_copy_pdbs() | ||
set(VCPKG_POLICY_EMPTY_PACKAGE enabled) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
Source: google-cloud-cpp-spanner | ||
Version: 1.1.0 | ||
Build-Depends: grpc, googleapis, google-cloud-cpp-common | ||
Description: C++ Client Library for Google Cloud Spanner. | ||
Homepage: https://github.com/googleapis/google-cloud-cpp-spanner | ||
Version: alias | ||
Build-Depends: google-cloud-cpp | ||
Description: Deprecated, use google-cloud-cpp instead |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1 @@ | ||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY) | ||
|
||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO googleapis/google-cloud-cpp-spanner | ||
REF v1.1.0 | ||
SHA512 00141418a01ff55cf2228e3f59a49e49bc35e28da958a7817964976196bb6019e5f04e2d9ceacc758d649c8cc91d35df14aec23f9e8fa4044cfaa67115dc6e69 | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_configure_cmake( | ||
SOURCE_PATH ${SOURCE_PATH} | ||
PREFER_NINJA | ||
DISABLE_PARALLEL_CONFIGURE | ||
OPTIONS | ||
-DGOOGLE_CLOUD_CPP_ENABLE_MACOS_OPENSSL_CHECK=OFF | ||
-DBUILD_TESTING=OFF | ||
) | ||
|
||
vcpkg_install_cmake(ADD_BIN_TO_PATH) | ||
|
||
file(REMOVE_RECURSE | ||
${CURRENT_PACKAGES_DIR}/debug/include | ||
${CURRENT_PACKAGES_DIR}/debug/share) | ||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake TARGET_PATH share) | ||
|
||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) | ||
|
||
vcpkg_copy_pdbs() | ||
set(VCPKG_POLICY_EMPTY_PACKAGE enabled) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
Source: google-cloud-cpp | ||
Version: 0.21.0 | ||
Build-Depends: grpc, curl[ssl], crc32c, googleapis, google-cloud-cpp-common | ||
Version: 1.14.0 | ||
Build-Depends: abseil, grpc, curl[ssl], crc32c | ||
Description: C++ Client Libraries for Google Cloud Platform APIs. | ||
Homepage: https://github.com/googleapis/google-cloud-cpp | ||
Supports: !uwp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
Source: googleapis | ||
Version: 0.9.0 | ||
Build-Depends: grpc, protobuf | ||
Description: C++ Proto Libraries for Google APIs. | ||
Homepage: https://github.com/googleapis/cpp-cmakefiles | ||
Supports: !uwp | ||
Version: alias | ||
Build-Depends: google-cloud-cpp | ||
Description: Deprecated, use google-cloud-cpp instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1 @@ | ||
vcpkg_fail_port_install(ON_TARGET "uwp") | ||
|
||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY) | ||
|
||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO googleapis/cpp-cmakefiles | ||
REF v0.9.0 | ||
SHA512 74791d0ae2fcac0a1acdc255e65f7ca46de8b5129f5b9b066efd0d83c5b3bf61e41b9c3ec6924cfbfb77e5496fa9e2db113f8d17dcc0740058bb19f4d1115f18 | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_configure_cmake( | ||
SOURCE_PATH ${SOURCE_PATH} | ||
PREFER_NINJA | ||
) | ||
|
||
vcpkg_install_cmake(ADD_BIN_TO_PATH) | ||
|
||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) | ||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake TARGET_PATH share) | ||
|
||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) | ||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) | ||
|
||
vcpkg_copy_pdbs() | ||
|
||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}) | ||
set(VCPKG_POLICY_EMPTY_PACKAGE enabled) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters