Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jul 2021 17:55:54 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ecf508db8aa8 - main - math/onednn: Update 2.2.4 -> 2.3
Message-ID:  <202107051755.165HtsIr024303@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ecf508db8aa80e1c9e657698979b4319f53c9989

commit ecf508db8aa80e1c9e657698979b4319f53c9989
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-07-05 17:53:38 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-07-05 17:55:48 +0000

    math/onednn: Update 2.2.4 -> 2.3
    
    Reported by:    portscout
---
 math/onednn/Makefile                         |  2 +-
 math/onednn/distinfo                         |  6 +++---
 math/onednn/files/patch-cmake_platform.cmake | 24 ++++++++++--------------
 math/onednn/pkg-plist                        |  4 ++--
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107051755.165HtsIr024303>