onednnIntel(R) Math Kernel Library for Deep Neural Networks
3.13.4mathΣ=1 3.13.2Version of this port present on the latest quarterly branch.upstream: v3.14.2A newer version was found upstream by portscout, first on 2026-11-05.
Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN) is an
open source performance library for deep learning applications. The library
accelerates deep learning applications and framework on Intel(R) architecture.
Intel(R) MKL-DNN contains vectorized and threaded building blocks which you can
use to implement deep neural networks (DNN) with C and C++ interfaces.
DNN functionality optimized for Intel architecture is also included in Intel(R)
Math Kernel Library (Intel(R) MKL). API in this implementation is not compatible
with Intel MKL-DNN and does not include certain new and experimental features.
===> The following configuration options are available for onednn-3.13.4:
====> Use CPU-specific optimizations: you have to select exactly one of them
SIMD_DEFAULT=on: Default, no non-default SIMD instructions are used
SIMD_NATIVE=off: Optimize for this CPU
SIMD_SSE41=off: Use SSE4.1 instructions
====> Threading runtime for CPU engines: you have to select exactly one of them
OPENMP=on: Parallel processing support via OpenMP
TBB=off: Threading Building Blocks
SEQ=off: Sequential (no parallelism)
THREADPOOL_STANDALONE=off: Threadpool based on the standalone implementation
THREADPOOL_EIGEN=off: Threadpool based on the Eigen implementation
THREADPOOL_TBB=off: Threadpool based on the TBB implementation
===> Use 'make config' to modify these settings
math/onednn: fix build on powerpc64
/wrkdirs/usr/ports/math/onednn/work/oneDNN-3.12/src/cpu/ppc64/ppc64_gemm_reorder.cpp:32:25:
error: use of 'long long' with '__vector' requires VSX support (available on
POWER7 or later) to be enabled
32 | typedef __vector signed long long vec_i64 __attribute__((aligned(8)));
| ^
1 error generated.
all: drop support for FreeBSD 13, mips and risc64sf
Reviewed by: many (*)
Differential Revision: https://reviews.freebsd.org/D55624
Differential Revision: https://reviews.freebsd.org/D55642 (merged in from bofh)
many (*)
acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga
jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka
nobutaka pkubaj se tagattie thj
Anton Saietskii
GenericRikka
Gert Doering
Jan Bramkamp
Oleh Hushchenkov
Oleksandr Kryvulia
Ralf van der Enden
Yamagi
desktop kde python tcltk office
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
math/onednn: disable on 32-bit architectures
Attempt to build on powerpc fails:
CMake Error at CMakeLists.txt:87 (message):
oneDNN supports 64 bit platforms only
This also makes BROKEN_i386 unnecessary.
math/onednn: Mark broken on aarch64
/wrkdirs/usr/ports/math/onednn/work/oneDNN-2.1.1/src/cpu/aarch64/xbyak_aarch64/xbyak_aarch64_util.h:20:10:
fatal error: 'sys/prctl.h' file not found
Approved by: portmgr (tier-2 blanket)
math/onednn: bump PORTREVISION after powerpc64 kernel enablement
Getting things done late at night is not a good idea.
MFH: 2020Q3 (blanket: just fix it)
math/onednn: enable native powerpc64
In version 1.6, upstream added native support for powerpc64, without using
generic code. Enable that instead of using generic code.
Also patch platform.cmake not to add -mcpu=native for aarch64.
math/onednn: fix build on non-amd64 non-aarch64
onednn seems to support only amd64 and aarch64, but there is also generic target
which also works on other architectures.