[orange-math]: update to 3.8.2 (#47635)

This commit is contained in:
Saikari 2025-10-06 17:31:25 +03:00 committed by GitHub
parent 29588d0cc4
commit 3a24dd35b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 8 additions and 18 deletions

View File

@ -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 ()

View File

@ -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)

View File

@ -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",

View File

@ -7209,7 +7209,7 @@
"port-version": 1
},
"orange-math": {
"baseline": "3.8.1",
"baseline": "3.8.2",
"port-version": 0
},
"orc": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d0be3445e475497a81e53bc11dc3f8bf62536063",
"version": "3.8.2",
"port-version": 0
},
{
"git-tree": "bfad5f4beb0a0969f748d4715078c7b5296e3116",
"version": "3.8.1",