From 3a24dd35b8b1c4a6ec0bd48ebcbc8a34d4a59b9e Mon Sep 17 00:00:00 2001 From: Saikari Date: Mon, 6 Oct 2025 17:31:25 +0300 Subject: [PATCH] [orange-math]: update to 3.8.2 (#47635) --- ports/orange-math/enable-avx2-on-gcc.patch | 13 ------------- ports/orange-math/portfile.cmake | 4 +--- ports/orange-math/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/o-/orange-math.json | 5 +++++ 5 files changed, 8 insertions(+), 18 deletions(-) delete mode 100644 ports/orange-math/enable-avx2-on-gcc.patch diff --git a/ports/orange-math/enable-avx2-on-gcc.patch b/ports/orange-math/enable-avx2-on-gcc.patch deleted file mode 100644 index d0e49cb165..0000000000 --- a/ports/orange-math/enable-avx2-on-gcc.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 18c1b45..fe8d702 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -93,7 +93,7 @@ if (OMATH_STATIC_MSVC_RUNTIME_LIBRARY) - ) - endif () - --if (OMATH_USE_AVX2 AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") -+if (OMATH_USE_AVX2 AND (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")) - target_compile_options(${PROJECT_NAME} PUBLIC -mavx2 -mavx -mfma) - endif () - diff --git a/ports/orange-math/portfile.cmake b/ports/orange-math/portfile.cmake index 421eb99932..e48d2d3066 100644 --- a/ports/orange-math/portfile.cmake +++ b/ports/orange-math/portfile.cmake @@ -6,10 +6,8 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO orange-cpp/omath REF "v${VERSION}" - SHA512 e5b2a3a0bafb5e11b1bad27e2c70ae8c8bd9abe96550764821a83a3886deff63ba1d9717f449550d61b1b6670f2e5f7c9621849f42e02042116dc78c44b9050a + SHA512 b561e9750a41f8cb123fe8e535ffba8b14b2735145366f50b3e816ab05b16c1d79cb9d34e10524986d653b3c084bae12da3d0443e1739b8df53feb6de6ce2a72 HEAD_REF master - PATCHES - enable-avx2-on-gcc.patch ) string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" OMATH_SHARED) diff --git a/ports/orange-math/vcpkg.json b/ports/orange-math/vcpkg.json index 31cd82241c..ee759c93c0 100644 --- a/ports/orange-math/vcpkg.json +++ b/ports/orange-math/vcpkg.json @@ -1,6 +1,6 @@ { "name": "orange-math", - "version": "3.8.1", + "version": "3.8.2", "description": "General purpose math library", "homepage": "https://github.com/orange-cpp/omath", "license": "Zlib", diff --git a/versions/baseline.json b/versions/baseline.json index 81e58393c8..febc64517b 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7209,7 +7209,7 @@ "port-version": 1 }, "orange-math": { - "baseline": "3.8.1", + "baseline": "3.8.2", "port-version": 0 }, "orc": { diff --git a/versions/o-/orange-math.json b/versions/o-/orange-math.json index abb5f91e09..79b7a90c00 100644 --- a/versions/o-/orange-math.json +++ b/versions/o-/orange-math.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "d0be3445e475497a81e53bc11dc3f8bf62536063", + "version": "3.8.2", + "port-version": 0 + }, { "git-tree": "bfad5f4beb0a0969f748d4715078c7b5296e3116", "version": "3.8.1",