[crc32c] update to latest release (1.1.2) (#20534)

* [crc32c] update to latest release (1.1.2)

* Use version rather than version-string.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
Carlos O'Ryan 2021-10-05 19:34:40 -04:00 committed by GitHub
parent b9ed4c9d38
commit 29b85ae797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 11 deletions

View File

@ -3,23 +3,22 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO google/crc32c
REF ba741856254e3c6f6c7bcf0704fe1344a668a227 # 1.1.1
SHA512 129e7cf36a92f6d953b4545e673860b0d956aa0ecf89ae98dfcfdff03031482d03f9036d11d0546446f1e73f65548cdd87065759dc6efd39f0fd9c58234ebb24
REF 1.1.2
SHA512 6325c52b5a6850b9f90086e0c0c86798c008af36e7cfd3a0216184a2d37b3bf7323481ddc6bfe4cbd5b31288b3ee6c69772d03085a13094cf95d00a9756a7196
HEAD_REF master
)
vcpkg_configure_cmake(
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DCRC32C_BUILD_TESTS=OFF
-DCRC32C_BUILD_BENCHMARKS=OFF
-DCRC32C_USE_GLOG=OFF
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Crc32c)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Crc32c)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)

View File

@ -1,7 +1,16 @@
{
"name": "crc32c",
"version-string": "1.1.1",
"port-version": 1,
"version": "1.1.2",
"description": "CRC32C implementation with support for CPU-specific acceleration instructions.",
"homepage": "https://github.com/google/crc32c"
"homepage": "https://github.com/google/crc32c",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -1605,8 +1605,8 @@
"port-version": 1
},
"crc32c": {
"baseline": "1.1.1",
"port-version": 1
"baseline": "1.1.2",
"port-version": 0
},
"crfsuite": {
"baseline": "2019-07-21",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "dcfaa85ef9b67b94cf51378922832fff7cf43333",
"version": "1.1.2",
"port-version": 0
},
{
"git-tree": "c170749f5731ca44674e241167fa0955a461256a",
"version-string": "1.1.1",