mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 23:59:00 +08:00
[protozero] update to 1.7.1 (#24231)
This commit is contained in:
parent
5eeffb9036
commit
03de4e9edc
@ -1,13 +0,0 @@
|
|||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index f9702d6..bd41cbe 100644
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -29,7 +29,7 @@ if(MSVC)
|
|
||||||
add_definitions(/W3)
|
|
||||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS)
|
|
||||||
else()
|
|
||||||
- add_definitions(-std=c++11 -Wall -Wextra -pedantic -Wsign-compare -Wunused-parameter -Wno-float-equal -Wno-covered-switch-default)
|
|
||||||
+ add_definitions(-std=c++17 -Wall -Wextra -pedantic -Wsign-compare -Wunused-parameter -Wno-float-equal -Wno-covered-switch-default)
|
|
||||||
if(WERROR)
|
|
||||||
add_definitions(-Werror)
|
|
||||||
endif()
|
|
17
ports/protozero/fix-no-tests.patch
Normal file
17
ports/protozero/fix-no-tests.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||||
|
Date: Wed, 16 Feb 2022 00:11:38 +0100
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index b975d490..df2ca15f 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -52,7 +52,9 @@ endif()
|
||||||
|
#
|
||||||
|
#-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
-find_package(Protobuf)
|
||||||
|
+if(BUILD_TESTING)
|
||||||
|
+ find_package(Protobuf)
|
||||||
|
+endif()
|
||||||
|
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------------
|
@ -2,15 +2,16 @@
|
|||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO mapbox/protozero
|
REPO mapbox/protozero
|
||||||
SHA512 d09a34865c535264c52f9c605ccb6f453c357f5e3a7b0dc72b097de288eabc6985a5b81ddbe79c47d0af2d8f74e33bd380fefce47acb15d8d51d5c151d71786b
|
SHA512 90bf1f487efa0ad9da2f3b887b7a6dbd849fa3687dd2126c324f902a8584722f4f7d4a2ea86f6a0e75999f7be829f6ae26cad9df1cae55d0b29a9ec24a4dbfd2
|
||||||
REF v1.7.0
|
REF v1.7.1
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
PATCHES fix-builderror.patch
|
PATCHES
|
||||||
|
fix-no-tests.patch # from https://github.com/mapbox/protozero/pull/110
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
vcpkg_cmake_configure(
|
vcpkg_cmake_configure(
|
||||||
SOURCE_PATH ${SOURCE_PATH}
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-DBUILD_TESTING=OFF
|
-DBUILD_TESTING=OFF
|
||||||
)
|
)
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "protozero",
|
"name": "protozero",
|
||||||
"version-semver": "1.7.0",
|
"version-semver": "1.7.1",
|
||||||
"port-version": 1,
|
|
||||||
"description": "Minimalist protocol buffer decoder and encoder in C++",
|
"description": "Minimalist protocol buffer decoder and encoder in C++",
|
||||||
"homepage": "https://github.com/mapbox/protozero",
|
"homepage": "https://github.com/mapbox/protozero",
|
||||||
"license": "BSD-2-Clause",
|
"license": "BSD-2-Clause",
|
||||||
|
"supports": "!uwp",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"protobuf",
|
"protobuf",
|
||||||
{
|
{
|
||||||
|
@ -1356,8 +1356,6 @@ ctp:x64-windows=skip
|
|||||||
ctp:x64-windows-static=skip
|
ctp:x64-windows-static=skip
|
||||||
ctp:x64-windows-static-md=skip
|
ctp:x64-windows-static-md=skip
|
||||||
ctp:x86-windows=skip
|
ctp:x86-windows=skip
|
||||||
protozero:arm-uwp=fail
|
|
||||||
protozero:x64-uwp=fail
|
|
||||||
|
|
||||||
# clapack is replaced by lapack-reference on the platforms lapack-reference supports
|
# clapack is replaced by lapack-reference on the platforms lapack-reference supports
|
||||||
clapack:x64-linux=skip
|
clapack:x64-linux=skip
|
||||||
|
@ -5577,8 +5577,8 @@
|
|||||||
"port-version": 1
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"protozero": {
|
"protozero": {
|
||||||
"baseline": "1.7.0",
|
"baseline": "1.7.1",
|
||||||
"port-version": 1
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"proxygen": {
|
"proxygen": {
|
||||||
"baseline": "2022.03.21.00",
|
"baseline": "2022.03.21.00",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "f6fa6a99279f9efb98bafc45707a1bcf9ef690e4",
|
||||||
|
"version-semver": "1.7.1",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "e617bcd5ceeebd89da7229c7daeecacf7581d767",
|
"git-tree": "e617bcd5ceeebd89da7229c7daeecacf7581d767",
|
||||||
"version-semver": "1.7.0",
|
"version-semver": "1.7.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user