git: 88b44b2da3e6 - main - math/onednn: update 3.3.1 → 3.3.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Dec 2023 08:35:02 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=88b44b2da3e698250c0cba128163c93c0d22aa0d
commit 88b44b2da3e698250c0cba128163c93c0d22aa0d
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-06 05:06:34 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-06 08:34:56 +0000
math/onednn: update 3.3.1 → 3.3.2
Reported by: portscout
---
math/onednn/Makefile | 2 +-
math/onednn/distinfo | 6 +++---
math/onednn/files/patch-cmake_platform.cmake | 28 +++++-----------------------
3 files changed, 9 insertions(+), 27 deletions(-)
diff --git a/math/onednn/Makefile b/math/onednn/Makefile
index c0f82dabb619..70e7ced41075 100644
--- a/math/onednn/Makefile
+++ b/math/onednn/Makefile
@@ -1,6 +1,6 @@
PORTNAME= onednn
DISTVERSIONPREFIX= v
-DISTVERSION= 3.3.1
+DISTVERSION= 3.3.2
CATEGORIES= math # machine-learning
MAINTAINER= yuri@FreeBSD.org
diff --git a/math/onednn/distinfo b/math/onednn/distinfo
index 7fb17c9aef8f..76439c86603a 100644
--- a/math/onednn/distinfo
+++ b/math/onednn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1700296558
-SHA256 (oneapi-src-oneDNN-v3.3.1_GH0.tar.gz) = e0b7a9452162e854cf08b4e90bcd1b382b9903ace6a61503a872573880d24c3f
-SIZE (oneapi-src-oneDNN-v3.3.1_GH0.tar.gz) = 11577531
+TIMESTAMP = 1701829456
+SHA256 (oneapi-src-oneDNN-v3.3.2_GH0.tar.gz) = 84cc5342fd77c58150f7429706dc42daa4bd9b2bd1451f465e5e4ed54a2f3534
+SIZE (oneapi-src-oneDNN-v3.3.2_GH0.tar.gz) = 11577574
diff --git a/math/onednn/files/patch-cmake_platform.cmake b/math/onednn/files/patch-cmake_platform.cmake
index 390741db48ac..e8df48bc1ce7 100644
--- a/math/onednn/files/patch-cmake_platform.cmake
+++ b/math/onednn/files/patch-cmake_platform.cmake
@@ -1,15 +1,6 @@
---- cmake/platform.cmake.orig 2021-12-07 19:00:25 UTC
+--- cmake/platform.cmake.orig 2023-11-30 15:53:57 UTC
+++ cmake/platform.cmake
-@@ -175,7 +175,7 @@ elseif(UNIX OR MINGW)
- set(DEF_ARCH_OPT_FLAGS "-O3")
- endif()
- # For native compilation tune for the host processor
-- if (CMAKE_SYSTEM_PROCESSOR STREQUAL CMAKE_HOST_SYSTEM_PROCESSOR)
-+ if (FALSE AND CMAKE_SYSTEM_PROCESSOR STREQUAL CMAKE_HOST_SYSTEM_PROCESSOR)
- append(DEF_ARCH_OPT_FLAGS "-mcpu=native")
- endif()
- elseif(DNNL_TARGET_ARCH STREQUAL "PPC64")
-@@ -183,7 +183,7 @@ elseif(UNIX OR MINGW)
+@@ -223,7 +223,7 @@ elseif(UNIX OR MINGW)
set(DEF_ARCH_OPT_FLAGS "-O3")
endif()
# For native compilation tune for the host processor
@@ -18,7 +9,7 @@
append(DEF_ARCH_OPT_FLAGS "-mcpu=native")
endif()
elseif(DNNL_TARGET_ARCH STREQUAL "S390X")
-@@ -191,10 +191,10 @@ elseif(UNIX OR MINGW)
+@@ -231,10 +231,10 @@ elseif(UNIX OR MINGW)
set(DEF_ARCH_OPT_FLAGS "-O3")
endif()
# For native compilation tune for the host processor
@@ -31,16 +22,7 @@
set(DEF_ARCH_OPT_FLAGS "-msse4.1")
endif()
# Clang cannot vectorize some loops with #pragma omp simd and gets
-@@ -272,7 +272,7 @@ elseif(UNIX OR MINGW)
- set(DEF_ARCH_OPT_FLAGS "-O3")
- endif()
- # For native compilation tune for the host processor
-- if (CMAKE_SYSTEM_PROCESSOR STREQUAL CMAKE_HOST_SYSTEM_PROCESSOR)
-+ if (FALSE AND CMAKE_SYSTEM_PROCESSOR STREQUAL CMAKE_HOST_SYSTEM_PROCESSOR)
- append(DEF_ARCH_OPT_FLAGS "-mcpu=native")
- endif()
- elseif(DNNL_TARGET_ARCH STREQUAL "PPC64")
-@@ -281,7 +281,7 @@ elseif(UNIX OR MINGW)
+@@ -325,7 +325,7 @@ elseif(UNIX OR MINGW)
endif()
# In GCC, -ftree-vectorize is turned on under -O3 since 2007.
# For native compilation tune for the host processor
@@ -49,7 +31,7 @@
append(DEF_ARCH_OPT_FLAGS "-mcpu=native")
endif()
elseif(DNNL_TARGET_ARCH STREQUAL "S390X")
-@@ -290,7 +290,7 @@ elseif(UNIX OR MINGW)
+@@ -334,7 +334,7 @@ elseif(UNIX OR MINGW)
endif()
# In GCC, -ftree-vectorize is turned on under -O3 since 2007.
# For native compilation tune for the host processor