From b206a2c2f83dc30f4944dc73628ac35ffcb6ded7 Mon Sep 17 00:00:00 2001 From: Yury Bura Date: Mon, 12 Feb 2024 23:57:03 +0100 Subject: [PATCH] [benchmark] Allow shared library creation, disable docs installation (#36583) * [benchmark] allow shared library creation, disable docs installation * add version --- ports/benchmark/portfile.cmake | 3 +-- ports/benchmark/vcpkg.json | 2 +- versions/b-/benchmark.json | 5 +++++ versions/baseline.json | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ports/benchmark/portfile.cmake b/ports/benchmark/portfile.cmake index 97cd97c795c872..1411491a356f3d 100644 --- a/ports/benchmark/portfile.cmake +++ b/ports/benchmark/portfile.cmake @@ -1,5 +1,3 @@ -vcpkg_check_linkage(ONLY_STATIC_LIBRARY) - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO google/benchmark @@ -14,6 +12,7 @@ vcpkg_cmake_configure( SOURCE_PATH ${SOURCE_PATH} OPTIONS -DBENCHMARK_ENABLE_TESTING=OFF + -DBENCHMARK_INSTALL_DOCS=OFF -Werror=old-style-cast ) diff --git a/ports/benchmark/vcpkg.json b/ports/benchmark/vcpkg.json index af9fbf853dd485..37c0b45cd6f752 100644 --- a/ports/benchmark/vcpkg.json +++ b/ports/benchmark/vcpkg.json @@ -2,7 +2,7 @@ "$comment": "https://github.com/google/benchmark/issues/661 describes the missing UWP support upstream", "name": "benchmark", "version-semver": "1.8.3", - "port-version": 1, + "port-version": 2, "description": "A library to support the benchmarking of functions, similar to unit-tests.", "homepage": "https://github.com/google/benchmark", "license": "Apache-2.0", diff --git a/versions/b-/benchmark.json b/versions/b-/benchmark.json index 8a8d3b1250a03a..0c72a60e7a1584 100644 --- a/versions/b-/benchmark.json +++ b/versions/b-/benchmark.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "44a03f2c85841f8e1e434e6a7f0a4ae73f7b2310", + "version-semver": "1.8.3", + "port-version": 2 + }, { "git-tree": "5e8efca95a7d5d9c74f8a2c5c2ee05bbd2271451", "version-semver": "1.8.3", diff --git a/versions/baseline.json b/versions/baseline.json index 27015f8d624a08..786cf80a229efb 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -566,7 +566,7 @@ }, "benchmark": { "baseline": "1.8.3", - "port-version": 1 + "port-version": 2 }, "bento4": { "baseline": "1.6.0-641",