diff mbox series

[meta-oe,05/26] highway: upgrade 1.2.0 -> 1.3.0

Message ID 20250820083945.802-5-wangmy@fujitsu.com
State Accepted
Headers show
Series [meta-filesystems,01/26] bindfs: upgrade 1.18.1 -> 1.18.2 | expand

Commit Message

Wang Mingyu Aug. 20, 2025, 8:39 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

0001-Add-cmake-check-for-deducing-32bit-or-64bit-RISCV.patch
refreshed for 1.3.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 ...ck-for-deducing-32bit-or-64bit-RISCV.patch | 34 +++++--------------
 .../{highway_1.2.0.bb => highway_1.3.0.bb}    |  2 +-
 2 files changed, 9 insertions(+), 27 deletions(-)
 rename meta-oe/recipes-extended/highway/{highway_1.2.0.bb => highway_1.3.0.bb} (92%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/highway/highway/0001-Add-cmake-check-for-deducing-32bit-or-64bit-RISCV.patch b/meta-oe/recipes-extended/highway/highway/0001-Add-cmake-check-for-deducing-32bit-or-64bit-RISCV.patch
index ecc9c441c5..1ab31e5eec 100644
--- a/meta-oe/recipes-extended/highway/highway/0001-Add-cmake-check-for-deducing-32bit-or-64bit-RISCV.patch
+++ b/meta-oe/recipes-extended/highway/highway/0001-Add-cmake-check-for-deducing-32bit-or-64bit-RISCV.patch
@@ -9,10 +9,13 @@  RVV as well
 
 Upstream-Status: Submitted [https://github.com/google/highway/pull/2330]
 Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
 ---
- CMakeLists.txt | 38 +++++++++++++++++++++++++++++++++++---
- 1 file changed, 35 insertions(+), 3 deletions(-)
+ CMakeLists.txt | 27 +++++++++++++++++++++++++++
+ 1 file changed, 27 insertions(+)
 
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 795408c5..9ddd92cd 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
 @@ -59,6 +59,33 @@ if(CHECK_PIE_SUPPORTED)
@@ -49,27 +52,6 @@  Signed-off-by: Khem Raj <raj.khem@gmail.com>
  include(GNUInstallDirs)
  
  if (NOT CMAKE_BUILD_TYPE)
-@@ -72,7 +99,7 @@ set(HWY_CMAKE_ARM7 OFF CACHE BOOL "Set c
- # skipped. For GCC 13.1+, you can also build with -fexcess-precision=standard.
- set(HWY_CMAKE_SSE2 OFF CACHE BOOL "Set SSE2 as baseline for 32-bit x86?")
- 
--# Currently this will compile the entire codebase with `-march=rv64gcv1p0`:
-+# Currently this will compile the entire codebase with `-march=rv<XLEN>gcv1p0`:
- set(HWY_CMAKE_RVV ON CACHE BOOL "Set copts for RISCV with RVV?")
- 
- # Unconditionally adding -Werror risks breaking the build when new warnings
-@@ -378,7 +405,13 @@ else()
-     # we add the gcv compiler flag, which then requires the CPU (now when using
-     # either compiler) to support V.
-     if(HWY_CMAKE_RVV)
--      list(APPEND HWY_FLAGS -march=rv64gcv1p0)
-+      if(RISCV_XLEN EQUAL 64)
-+        list(APPEND HWY_FLAGS -march=rv64gcv1p0)
-+        add_link_options(-march=rv64gcv1p0)
-+      elseif(RISCV_XLEN EQUAL 32)
-+        list(APPEND HWY_FLAGS -march=rv32gcv1p0)
-+        add_link_options(-march=rv32gcv1p0)
-+      endif()
-       if(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
-         list(APPEND HWY_FLAGS -menable-experimental-extensions)
-       endif()
+-- 
+2.43.0
+
diff --git a/meta-oe/recipes-extended/highway/highway_1.2.0.bb b/meta-oe/recipes-extended/highway/highway_1.3.0.bb
similarity index 92%
rename from meta-oe/recipes-extended/highway/highway_1.2.0.bb
rename to meta-oe/recipes-extended/highway/highway_1.3.0.bb
index ea38310398..81b71b1f21 100644
--- a/meta-oe/recipes-extended/highway/highway_1.2.0.bb
+++ b/meta-oe/recipes-extended/highway/highway_1.3.0.bb
@@ -9,7 +9,7 @@  inherit cmake
 SRC_URI = "git://github.com/google/highway.git;protocol=https;branch=master \
            file://0001-Add-cmake-check-for-deducing-32bit-or-64bit-RISCV.patch"
 
-SRCREV = "457c891775a7397bdb0376bb1031e6e027af1c48"
+SRCREV = "ac0d5d297b13ab1b89f48484fc7911082d76a93f"
 
 EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release"