[highway]: Update to 1.4.0 (#51357)

This commit is contained in:
Andrew Kaster 2026-04-24 14:34:43 -06:00 committed by GitHub
parent 7fec4da984
commit 71837359b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 9 additions and 32 deletions

View File

@ -1,25 +0,0 @@
From 21635e43996f0b4365584f69b0014655f548853a Mon Sep 17 00:00:00 2001
From: John Platts <john_platts@hotmail.com>
Date: Sun, 31 Aug 2025 22:08:43 -0500
Subject: [PATCH] Fix for AVX10_2 target with Android NDK r29-beta3
---
hwy/ops/x86_128-inl.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/hwy/ops/x86_128-inl.h b/hwy/ops/x86_128-inl.h
index bcd08d590d..3a2820102e 100644
--- a/hwy/ops/x86_128-inl.h
+++ b/hwy/ops/x86_128-inl.h
@@ -71,8 +71,9 @@ namespace detail {
#endif
#undef HWY_X86_HAVE_AVX10_2_OPS
-#if HWY_TARGET_IS_AVX10_2 && \
- (HWY_COMPILER_GCC_ACTUAL >= 1501 || HWY_COMPILER3_CLANG >= 200103)
+#if HWY_TARGET_IS_AVX10_2 && \
+ (HWY_COMPILER_GCC_ACTUAL >= 1501 || \
+ (HWY_COMPILER3_CLANG >= 200103 && HWY_COMPILER_CLANG != 2100))
#define HWY_X86_HAVE_AVX10_2_OPS 1
#else
#define HWY_X86_HAVE_AVX10_2_OPS 0

View File

@ -2,10 +2,8 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO google/highway
REF "${VERSION}"
SHA512 8b9f4fdc4fa60b6817417959853f5b55bf86aec9d35fc6664dda15179cc55e0a9940f3a46011a84b95263ba342dc47ca1cb93b04481ff4b63d724cce1815d7c6
SHA512 819422857d6a74e3a936c402698e078db5b7b88fb43767e62429ec7bd954fe93b017e75029a4df4a1a97ef3a2486107eef5247da751eb487640dea409f3f2fa2
HEAD_REF master
PATCHES
2695.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

@ -1,7 +1,6 @@
{
"name": "highway",
"version": "1.3.0",
"port-version": 1,
"version": "1.4.0",
"description": "Performance-portable, length-agnostic SIMD with runtime dispatch",
"homepage": "https://github.com/google/highway",
"license": "Apache-2.0",

View File

@ -3813,8 +3813,8 @@
"port-version": 0
},
"highway": {
"baseline": "1.3.0",
"port-version": 1
"baseline": "1.4.0",
"port-version": 0
},
"hikogui": {
"baseline": "0.8.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4a44183703a0d4f07d01e3731d7bb50ab11d4f6c",
"version": "1.4.0",
"port-version": 0
},
{
"git-tree": "0bf9c7166ab8a4e4727c51977ec1a9c7563ffcfe",
"version": "1.3.0",