Package Details: mkl-dnn 0.18-1

Git Clone URL: (read-only)
Package Base: mkl-dnn
Description: Intel® Math Kernel Library for Deep Neural Networks
Upstream URL:
Keywords: Deep-Learning Intel MKL
Licenses: Apache
Submitter: andrew-wja
Maintainer: barburger
Last Packager: barburger
Votes: 2
Popularity: 0.289350
First Submitted: 2017-09-04 19:17
Last Updated: 2019-03-11 16:31

Dependencies (5)

Required by (2)

Sources (2)

Latest Comments

barburger commented on 2019-03-11 16:33

In case you have similar issues, I needed to remove mkl-dnn and reinstall it to update to v0.18.

jonathon commented on 2018-06-28 19:45

Modified PKGBUILD here which fixes a few issues:

Whether you actually want compilation to succeed despite warnings is your own choice; in any event a bug should be filed on the upstream tracker.

wdna commented on 2018-06-21 06:59

Hey! I get following error when building with latest Arch:

[ 10%] Building CXX object src/CMakeFiles/mkldnn.dir/common/memory_desc_wrapper.cpp.o
In file included from /var/cache/pacman/pkg/mkl-dnn2123/mkl-dnn/src/mkl-dnn/src/common/primitive_desc.hpp:26,
                 from /var/cache/pacman/pkg/mkl-dnn2123/mkl-dnn/src/mkl-dnn/src/common/primitive.hpp:27,
                 from /var/cache/pacman/pkg/mkl-dnn2123/mkl-dnn/src/mkl-dnn/src/common/engine.hpp:24,
                 from /var/cache/pacman/pkg/mkl-dnn2123/mkl-dnn/src/mkl-dnn/src/common/memory.cpp:24:
/var/cache/pacman/pkg/mkl-dnn2123/mkl-dnn/src/mkl-dnn/src/common/verbose.hpp: In function ‘void mkldnn::impl::init_info_mem(pd_t*, char*) [with pd_t = mkldnn::impl::concat_pd_t]’:
/var/cache/pacman/pkg/mkl-dnn2123/mkl-dnn/src/mkl-dnn/src/common/verbose.hpp:53:46: error: ‘%s’ directive output may be truncated writing up to 383 bytes into a region of size between 232 and 1019 [-Werror=format-truncation=]
     snprintf(buffer, MKLDNN_VERBOSE_BUF_LEN, "%s,%s,%s,%s,%s,%s",
             aux_str, prb_str);
In file included from /usr/include/stdio.h:862,
                 from /usr/include/c++/8.1.1/cstdio:42,
                 from /usr/include/c++/8.1.1/ext/string_conversions.h:43,
                 from /usr/include/c++/8.1.1/bits/basic_string.h:6361,
                 from /usr/include/c++/8.1.1/string:52,
                 from /usr/include/c++/8.1.1/stdexcept:39,
                 from /usr/include/c++/8.1.1/array:39,
                 from /usr/include/c++/8.1.1/tuple:39,
                 from /usr/include/c++/8.1.1/bits/stl_map.h:63,
                 from /usr/include/c++/8.1.1/map:61,
                 from /var/cache/pacman/pkg/mkl-dnn2123/mkl-dnn/src/mkl-dnn/src/common/nstl.hpp:25,
                 from /var/cache/pacman/pkg/mkl-dnn2123/mkl-dnn/src/mkl-dnn/src/common/event.hpp:20,
                 from /var/cache/pacman/pkg/mkl-dnn2123/mkl-dnn/src/mkl-dnn/src/common/engine.hpp:23,
                 from /var/cache/pacman/pkg/mkl-dnn2123/mkl-dnn/src/mkl-dnn/src/common/memory.cpp:24:
/usr/include/bits/stdio2.h:64:35: note: ‘__builtin___snprintf_chk’ output 6 or more bytes (assuming 1176) into a destination of size 1024
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
        __bos (__s), __fmt, __va_arg_pack ());
cc1plus: all warnings being treated as errors
make[3]: *** [src/CMakeFiles/mkldnn.dir/build.make:167: src/CMakeFiles/mkldnn.dir/common/memory.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/Makefile2:118: src/CMakeFiles/mkldnn.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:130: src/CMakeFiles/mkldnn.dir/rule] Error 2
make: *** [Makefile:188: mkldnn] Error 2
==> ERROR: A failure occurred in build().

I can try fix this if anyone has some direction what can be the cause?

andrew-wja commented on 2018-01-23 16:06

The upstream projects bundles versions of several shared objects that match this library specifically.

They shouldn't get placed in the global /usr/lib/ directory. I've updated the package so that they are all placed in the package-local lib directory, /usr/lib/mkldnn/lib/.

MichaelChou commented on 2018-01-23 08:30

/usr/lib/ exists in both this package and

andrew-wja commented on 2018-01-22 18:49


barburger commented on 2018-01-22 10:44

wget is needed for, so adding it for make dependency would be nice.