Skip to content

Commit

Permalink
math/onednn: update 3.3.1 → 3.3.2
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Dec 6, 2023
1 parent b66fb9b commit 88b44b2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 27 deletions.
2 changes: 1 addition & 1 deletion 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
Expand Down
6 changes: 3 additions & 3 deletions 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
28 changes: 5 additions & 23 deletions 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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 88b44b2

Please sign in to comment.