1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

math/onednn: update 3.4.3 → 3.5

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2024-06-12 08:19:51 -07:00
parent bda230c76f
commit 7a3a0b6839
4 changed files with 17 additions and 16 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= onednn
DISTVERSIONPREFIX= v
DISTVERSION= 3.4.3
DISTVERSION= 3.5
CATEGORIES= math # machine-learning
MAINTAINER= yuri@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1716956950
SHA256 (oneapi-src-oneDNN-v3.4.3_GH0.tar.gz) = b795dc07d0d83aaec531081e77d5fb2e503a143f4330eabe4f035d4117c191ae
SIZE (oneapi-src-oneDNN-v3.4.3_GH0.tar.gz) = 12866333
TIMESTAMP = 1718166569
SHA256 (oneapi-src-oneDNN-v3.5_GH0.tar.gz) = 8356aa9befde4d4ff93f1b016ac4310730b2de0cc0b8c6c7ce306690bc0d7b43
SIZE (oneapi-src-oneDNN-v3.5_GH0.tar.gz) = 13189199

View File

@ -1,6 +1,6 @@
--- cmake/platform.cmake.orig 2023-11-30 15:53:57 UTC
--- cmake/platform.cmake.orig 2024-06-11 23:20:12 UTC
+++ cmake/platform.cmake
@@ -223,7 +223,7 @@ elseif(UNIX OR MINGW)
@@ -242,7 +242,7 @@ elseif(UNIX OR MINGW)
set(DEF_ARCH_OPT_FLAGS "-O3")
endif()
# For native compilation tune for the host processor
@ -9,20 +9,16 @@
append(DEF_ARCH_OPT_FLAGS "-mcpu=native")
endif()
elseif(DNNL_TARGET_ARCH STREQUAL "S390X")
@@ -231,10 +231,10 @@ elseif(UNIX OR MINGW)
@@ -250,7 +250,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)
+ if (FALSE AND CMAKE_SYSTEM_PROCESSOR STREQUAL CMAKE_HOST_SYSTEM_PROCESSOR)
append(DEF_ARCH_OPT_FLAGS "-march=native")
endif()
- elseif(DNNL_TARGET_ARCH STREQUAL "X64")
+ elseif(FALSE AND DNNL_TARGET_ARCH STREQUAL "X64")
set(DEF_ARCH_OPT_FLAGS "-msse4.1")
endif()
# Clang cannot vectorize some loops with #pragma omp simd and gets
@@ -325,7 +325,7 @@ elseif(UNIX OR MINGW)
elseif(DNNL_TARGET_ARCH STREQUAL "X64")
@@ -348,7 +348,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
@ -31,7 +27,7 @@
append(DEF_ARCH_OPT_FLAGS "-mcpu=native")
endif()
elseif(DNNL_TARGET_ARCH STREQUAL "S390X")
@@ -334,7 +334,7 @@ elseif(UNIX OR MINGW)
@@ -357,7 +357,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

View File

@ -21,6 +21,8 @@ include/oneapi/dnnl/dnnl_config.h
include/oneapi/dnnl/dnnl_debug.h
include/oneapi/dnnl/dnnl_graph.h
include/oneapi/dnnl/dnnl_graph.hpp
include/oneapi/dnnl/dnnl_graph_ocl.h
include/oneapi/dnnl/dnnl_graph_ocl.hpp
include/oneapi/dnnl/dnnl_graph_sycl.h
include/oneapi/dnnl/dnnl_graph_sycl.hpp
include/oneapi/dnnl/dnnl_graph_types.h
@ -34,6 +36,9 @@ include/oneapi/dnnl/dnnl_threadpool.h
include/oneapi/dnnl/dnnl_threadpool.hpp
include/oneapi/dnnl/dnnl_threadpool_iface.hpp
include/oneapi/dnnl/dnnl_types.h
include/oneapi/dnnl/dnnl_ukernel.h
include/oneapi/dnnl/dnnl_ukernel.hpp
include/oneapi/dnnl/dnnl_ukernel_types.h
include/oneapi/dnnl/dnnl_version.h
lib/cmake/dnnl/dnnl-config-version.cmake
lib/cmake/dnnl/dnnl-config.cmake
@ -41,4 +46,4 @@ lib/cmake/dnnl/dnnl-targets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/dnnl/dnnl-targets.cmake
lib/libdnnl.so
lib/libdnnl.so.3
lib/libdnnl.so.3.4
lib/libdnnl.so.3.5