aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-07-05 17:53:38 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-07-05 17:55:48 +0000
commitecf508db8aa80e1c9e657698979b4319f53c9989 (patch)
tree383c2c6614145af982de70bdf77e4024b266ea07
parent6e7b82f0665c904d2859d9361d66aa4085c5a54e (diff)
downloadports-ecf508db8aa80e1c9e657698979b4319f53c9989.tar.gz
ports-ecf508db8aa80e1c9e657698979b4319f53c9989.zip
math/onednn: Update 2.2.4 -> 2.3
Reported by: portscout
-rw-r--r--math/onednn/Makefile2
-rw-r--r--math/onednn/distinfo6
-rw-r--r--math/onednn/files/patch-cmake_platform.cmake24
-rw-r--r--math/onednn/pkg-plist4
4 files changed, 16 insertions, 20 deletions
diff --git a/math/onednn/Makefile b/math/onednn/Makefile
index b7c1747d8283..9bc95e7cbead 100644
--- a/math/onednn/Makefile
+++ b/math/onednn/Makefile
@@ -1,6 +1,6 @@
PORTNAME= onednn
DISTVERSIONPREFIX= v
-DISTVERSION= 2.2.4
+DISTVERSION= 2.3
CATEGORIES= math # machine-learning
MAINTAINER= yuri@FreeBSD.org
diff --git a/math/onednn/distinfo b/math/onednn/distinfo
index dfa3732b747a..365470e834cb 100644
--- a/math/onednn/distinfo
+++ b/math/onednn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1623781908
-SHA256 (oneapi-src-oneDNN-v2.2.4_GH0.tar.gz) = ebb383078fa8f81c24310e73984a0d9e759eb9febe73887956953824f780fc32
-SIZE (oneapi-src-oneDNN-v2.2.4_GH0.tar.gz) = 9535666
+TIMESTAMP = 1625505389
+SHA256 (oneapi-src-oneDNN-v2.3_GH0.tar.gz) = ccb2dbd9da36cd873cf573b4201d61bdba7438f12b144e6c7d061eb12a641751
+SIZE (oneapi-src-oneDNN-v2.3_GH0.tar.gz) = 9698171
diff --git a/math/onednn/files/patch-cmake_platform.cmake b/math/onednn/files/patch-cmake_platform.cmake
index 9a54f52bbe93..ac31cbbdf369 100644
--- a/math/onednn/files/patch-cmake_platform.cmake
+++ b/math/onednn/files/patch-cmake_platform.cmake
@@ -1,6 +1,6 @@
---- cmake/platform.cmake.orig 2021-02-26 17:13:42 UTC
+--- cmake/platform.cmake.orig 2021-06-29 20:12:52 UTC
+++ cmake/platform.cmake
-@@ -128,7 +128,7 @@ elseif(UNIX OR MINGW)
+@@ -171,7 +171,7 @@ elseif(UNIX OR MINGW)
set(DEF_ARCH_OPT_FLAGS "-O3")
endif()
# For native compilation tune for the host processor
@@ -9,7 +9,7 @@
append(DEF_ARCH_OPT_FLAGS "-mcpu=native")
endif()
elseif(DNNL_TARGET_ARCH STREQUAL "PPC64")
-@@ -136,7 +136,7 @@ elseif(UNIX OR MINGW)
+@@ -179,7 +179,7 @@ elseif(UNIX OR MINGW)
set(DEF_ARCH_OPT_FLAGS "-O3")
endif()
# For native compilation tune for the host processor
@@ -18,7 +18,7 @@
append(DEF_ARCH_OPT_FLAGS "-mcpu=native")
endif()
elseif(DNNL_TARGET_ARCH STREQUAL "S390X")
-@@ -144,10 +144,10 @@ elseif(UNIX OR MINGW)
+@@ -187,10 +187,10 @@ elseif(UNIX OR MINGW)
set(DEF_ARCH_OPT_FLAGS "-O3")
endif()
# For native compilation tune for the host processor
@@ -31,25 +31,21 @@
set(DEF_ARCH_OPT_FLAGS "-msse4.1")
endif()
# Clang cannot vectorize some loops with #pragma omp simd and gets
-@@ -225,7 +225,7 @@ elseif(UNIX OR MINGW)
+@@ -262,7 +262,7 @@ elseif(UNIX OR MINGW)
+ set(DEF_ARCH_OPT_FLAGS "-O3")
endif()
- # In GCC, -ftree-vectorize is turned on under -O3 since 2007.
# 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 "S390X")
-@@ -234,10 +234,10 @@ elseif(UNIX OR MINGW)
+ elseif(DNNL_TARGET_ARCH STREQUAL "PPC64")
+@@ -271,7 +271,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
- 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 "-march=native")
+ append(DEF_ARCH_OPT_FLAGS "-mcpu=native")
endif()
-- elseif(DNNL_TARGET_ARCH STREQUAL "X64")
-+ elseif(FALSE AND DNNL_TARGET_ARCH STREQUAL "X64")
- set(DEF_ARCH_OPT_FLAGS "-msse4.1")
- endif()
- # suppress warning on assumptions made regarding overflow (#146)
+ elseif(DNNL_TARGET_ARCH STREQUAL "S390X")
diff --git a/math/onednn/pkg-plist b/math/onednn/pkg-plist
index 0e0f24da5047..3dbc4862bbb2 100644
--- a/math/onednn/pkg-plist
+++ b/math/onednn/pkg-plist
@@ -43,7 +43,7 @@ lib/cmake/mkldnn/mkldnn-targets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/mkldnn/mkldnn-targets.cmake
lib/libdnnl.so
lib/libdnnl.so.2
-lib/libdnnl.so.2.2
+lib/libdnnl.so.2.3
lib/libmkldnn.so
lib/libmkldnn.so.2
-lib/libmkldnn.so.2.2
+lib/libmkldnn.so.2.3