diff options
author | Naveen Saini <naveen.kumar.saini@intel.com> | 2019-08-05 11:38:59 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2019-08-06 11:10:44 +0800 |
commit | fae140eb192b3568edf49241466b4f1f1c21c57f (patch) | |
tree | 98d14398ae1dc08d8cd9de8155729783dce562ab /recipes-core/mkl-dnn/mkl-dnn_git.bb | |
parent | 40937b124b499b67f247f88152ab0404c278679f (diff) | |
download | meta-intel-fae140eb192b3568edf49241466b4f1f1c21c57f.tar.gz |
mkl-dnn: upgrade v0.19 -> v1.0.1
Added third party license info:
"ittnotify, 3-clause BSD license
Copyright (c) 2011, Intel Corporation
See full copyright notice and license text in
src/cpu/jit_utils/jitprofiling/LICENSE.BSD"
Release highlights can be found here:
https://github.com/intel/mkl-dnn/releases/tag/v1.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-core/mkl-dnn/mkl-dnn_git.bb')
-rw-r--r-- | recipes-core/mkl-dnn/mkl-dnn_git.bb | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/recipes-core/mkl-dnn/mkl-dnn_git.bb b/recipes-core/mkl-dnn/mkl-dnn_git.bb deleted file mode 100644 index 5846b310..00000000 --- a/recipes-core/mkl-dnn/mkl-dnn_git.bb +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | SUMMARY = "Intel Math Kernel Library for Deep Neural Networks" | ||
2 | DESCRIPTION = "This software is a user mode library that accelerates\ | ||
3 | deep-learning applications and frameworks on Intel architecture." | ||
4 | LICENSE = "Apache-2.0 & BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=afa44a3d001cc203032135324f9636b7 \ | ||
6 | file://tests/gtests/gtest/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a \ | ||
7 | file://src/cpu/xbyak/COPYRIGHT;md5=03532861dad9003cc2c17f14fc7a4efa" | ||
8 | SECTION = "lib" | ||
9 | |||
10 | inherit pkgconfig cmake ptest | ||
11 | |||
12 | S = "${WORKDIR}/git" | ||
13 | SRCREV = "027de7603662a569366e15132ac80298902b96b8" | ||
14 | SRC_URI = "git://github.com/intel/mkl-dnn.git;branch=rls-v0.19 \ | ||
15 | file://run-ptest \ | ||
16 | " | ||
17 | PV = "0.19+git${SRCPV}" | ||
18 | |||
19 | UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(\d+(\.\d+)+))$" | ||
20 | |||
21 | COMPATIBLE_HOST = '(x86_64).*-linux' | ||
22 | COMPATIBLE_HOST_libc-musl = 'null' | ||
23 | |||
24 | EXTRA_OECMAKE += "-DMKLDNN_LIBRARY_TYPE=SHARED" | ||
25 | EXTRA_OECMAKE += "-DMKLDNN_THREADING=OMP" | ||
26 | EXTRA_OECMAKE += "-DWITH_EXAMPLE=ON" | ||
27 | EXTRA_OECMAKE += "-DWITH_TEST=ON" | ||
28 | EXTRA_OECMAKE += "-DARCH_OPT_FLAGS=''" | ||
29 | EXTRA_OECMAKE += "-DCMAKE_SKIP_RPATH=ON" | ||
30 | |||
31 | do_install_append () { | ||
32 | install -d ${D}${bindir}/mkl-dnn | ||
33 | install -d ${D}${bindir}/mkl-dnn/tests | ||
34 | install -d ${D}${bindir}/mkl-dnn/tests/benchdnn | ||
35 | install -d ${D}${bindir}/mkl-dnn/tests/benchdnn/inputs | ||
36 | install -m 0755 ${B}/tests/benchdnn/benchdnn ${D}${bindir}/mkl-dnn/tests/benchdnn | ||
37 | cp -r ${B}/tests/benchdnn/inputs/* ${D}${bindir}/mkl-dnn/tests/benchdnn/inputs | ||
38 | } | ||
39 | |||
40 | |||
41 | do_install_ptest () { | ||
42 | install -d ${D}${PTEST_PATH}/tests | ||
43 | install -m 0755 ${B}/tests/api-c ${D}${PTEST_PATH}/tests | ||
44 | install -m 0755 ${B}/tests/test_c_symbols-c ${D}${PTEST_PATH}/tests | ||
45 | } | ||
46 | |||
47 | PACKAGES =+ "${PN}-test" | ||
48 | |||
49 | FILES_${PN}-test = "${bindir}/mkl-dnn/*" | ||