From owner-dev-commits-ports-all@freebsd.org Mon Jul 5 17:55:55 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0C9926610B0; Mon, 5 Jul 2021 17:55:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GJYJV6VRBz3FG2; Mon, 5 Jul 2021 17:55:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 94C0B2778; Mon, 5 Jul 2021 17:55:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 165HtsDw024304; Mon, 5 Jul 2021 17:55:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 165HtsIr024303; Mon, 5 Jul 2021 17:55:54 GMT (envelope-from git) Date: Mon, 5 Jul 2021 17:55:54 GMT Message-Id: <202107051755.165HtsIr024303@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: ecf508db8aa8 - main - math/onednn: Update 2.2.4 -> 2.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ecf508db8aa80e1c9e657698979b4319f53c9989 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2021 17:55:55 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ecf508db8aa80e1c9e657698979b4319f53c9989 commit ecf508db8aa80e1c9e657698979b4319f53c9989 Author: Yuri Victorovich AuthorDate: 2021-07-05 17:53:38 +0000 Commit: Yuri Victorovich 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