mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 14:37:51 +08:00
[libhv] Update version (#32959)
* update libhv version to 1.3.1 * update vcpkg version information * modify SHA512 value * modify vcpkg version information * delete patch file * modify vcpkg version information * Update ports/libhv/vcpkg.json Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> * revert version * update version baseline --------- Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> Co-authored-by: Frank <1433351828@qq.com>
This commit is contained in:
parent
d37333570f
commit
9dacc3bc01
@ -1,36 +0,0 @@
|
|||||||
From d77287e954f02706502028baadc8c87e7382301b Mon Sep 17 00:00:00 2001
|
|
||||||
From: ithewei <ithewei@163.com>
|
|
||||||
Date: Tue, 29 Nov 2022 10:37:21 +0800
|
|
||||||
Subject: [PATCH] judge BYTE_ORDER
|
|
||||||
|
|
||||||
---
|
|
||||||
base/hplatform.h | 12 +++++++++---
|
|
||||||
1 file changed, 9 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/base/hplatform.h b/base/hplatform.h
|
|
||||||
index 60023230..5e0a290c 100644
|
|
||||||
--- a/base/hplatform.h
|
|
||||||
+++ b/base/hplatform.h
|
|
||||||
@@ -237,13 +237,19 @@
|
|
||||||
|
|
||||||
// BYTE_ORDER
|
|
||||||
#ifndef BYTE_ORDER
|
|
||||||
-#if defined(ARCH_X86) || defined(ARCH_X86_64) || \
|
|
||||||
- defined(__ARMEL__) || defined(__AARCH64EL__) || \
|
|
||||||
- defined(__MIPSEL) || defined(__MIPS64EL)
|
|
||||||
+#if defined(__BYTE_ORDER)
|
|
||||||
+ #define BYTE_ORDER __BYTE_ORDER
|
|
||||||
+#elif defined(__BYTE_ORDER__)
|
|
||||||
+ #define BYTE_ORDER __BYTE_ORDER__
|
|
||||||
+#elif defined(ARCH_X86) || defined(ARCH_X86_64) || \
|
|
||||||
+ defined(__ARMEL__) || defined(__AARCH64EL__) || \
|
|
||||||
+ defined(__MIPSEL) || defined(__MIPS64EL)
|
|
||||||
#define BYTE_ORDER LITTLE_ENDIAN
|
|
||||||
#elif defined(__ARMEB__) || defined(__AARCH64EB__) || \
|
|
||||||
defined(__MIPSEB) || defined(__MIPS64EB)
|
|
||||||
#define BYTE_ORDER BIG_ENDIAN
|
|
||||||
+#elif defined(OS_WIN)
|
|
||||||
+ #define BYTE_ORDER LITTLE_ENDIAN
|
|
||||||
#else
|
|
||||||
#warning "Unknown byte order!"
|
|
||||||
#endif
|
|
@ -1,11 +1,9 @@
|
|||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO ithewei/libhv
|
REPO ithewei/libhv
|
||||||
REF 3a67fe506a291ee94ed80bbdd73553fcb6a6b1ef #v1.3.0
|
REF v${VERSION} #v1.3.0
|
||||||
SHA512 3aa341a94950b0d4f3351a6f62a4c34947b481bb59f1954dd8d031313e73d9c6add1017cf386c507b231b114d80cfc0739a50bed179bdbc31052c86e2f1321a3
|
SHA512 7d8f552947eb464a8dd644515b9543a7961631e427033de4e1f51f1e9d2b9ca1801553a478b0a20935b50dbc274632e38a6f0438732efed9fcbf0738738ddac5
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
PATCHES
|
|
||||||
d77287e954f02706502028baadc8c87e7382301b.patch
|
|
||||||
)
|
)
|
||||||
|
|
||||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC)
|
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC)
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "libhv",
|
"name": "libhv",
|
||||||
"version": "1.3.0",
|
"version": "1.3.1",
|
||||||
"port-version": 1,
|
|
||||||
"description": "Libhv is a C/C++ network library similar to libevent/libuv.",
|
"description": "Libhv is a C/C++ network library similar to libevent/libuv.",
|
||||||
"homepage": "https://github.com/ithewei/libhv",
|
"homepage": "https://github.com/ithewei/libhv",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
|
@ -4189,8 +4189,8 @@
|
|||||||
"port-version": 0
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"libhv": {
|
"libhv": {
|
||||||
"baseline": "1.3.0",
|
"baseline": "1.3.1",
|
||||||
"port-version": 1
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"libhydrogen": {
|
"libhydrogen": {
|
||||||
"baseline": "2022-06-21",
|
"baseline": "2022-06-21",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "3cccf7a4fde6f5c23138ac228d6d581dba11a76b",
|
||||||
|
"version": "1.3.1",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "13870ce60cbe4c1f12030a7d2319f9f08e860d03",
|
"git-tree": "13870ce60cbe4c1f12030a7d2319f9f08e860d03",
|
||||||
"version": "1.3.0",
|
"version": "1.3.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user