diff --git a/math/onednn/Makefile b/math/onednn/Makefile index c0f82dabb619c..70e7ced41075f 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 7fb17c9aef8f3..76439c86603ab 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 390741db48ac7..e8df48bc1ce71 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