aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-12-06 05:06:34 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-12-06 08:34:56 +0000
commit88b44b2da3e698250c0cba128163c93c0d22aa0d (patch)
treeb7ca2ce4ae9781e7d8d3f96298b70bc5171fcda0
parentb66fb9b18f719d7e83379ed8396ae39c40547c96 (diff)
downloadports-88b44b2da3e698250c0cba128163c93c0d22aa0d.tar.gz
ports-88b44b2da3e698250c0cba128163c93c0d22aa0d.zip
math/onednn: update 3.3.1 → 3.3.2
Reported by: portscout
-rw-r--r--math/onednn/Makefile2
-rw-r--r--math/onednn/distinfo6
-rw-r--r--math/onednn/files/patch-cmake_platform.cmake28
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