diff options
author | Naveen Saini <naveen.kumar.saini@intel.com> | 2020-02-07 13:59:47 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2020-02-07 17:05:48 +0800 |
commit | ae4221d52db001f1538f34a689205aa719bbc7d9 (patch) | |
tree | d0d566d8c47e83c556c6715f65636ac93ef9ce6f /recipes-core/mkl-dnn/mkl-dnn_1.2.bb | |
parent | d9f0f9975d210abc409c56f205121923dae95333 (diff) | |
download | meta-intel-ae4221d52db001f1538f34a689205aa719bbc7d9.tar.gz |
mkl-dnn: upgrade v1.1.1 -> v1.2
Added full text of third party licenses and copyright
notices to LICENSE
https://github.com/intel/mkl-dnn/commit/88d4573ed5a13f69be27d7b97b43bddb8057c196
Release notes can be found here:
https://github.com/intel/mkl-dnn/releases/tag/v1.2
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_1.2.bb')
-rw-r--r-- | recipes-core/mkl-dnn/mkl-dnn_1.2.bb | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/recipes-core/mkl-dnn/mkl-dnn_1.2.bb b/recipes-core/mkl-dnn/mkl-dnn_1.2.bb new file mode 100644 index 00000000..fc80b19b --- /dev/null +++ b/recipes-core/mkl-dnn/mkl-dnn_1.2.bb | |||
@@ -0,0 +1,53 @@ | |||
1 | SUMMARY = "Deep Neural Network Library" | ||
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 & BSL-1.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0c328b62744f16fbb96f4335c5b65325 \ | ||
6 | file://tests/gtests/gtest/LICENSE;md5=cbbd27594afd089daa160d3a16dd515a \ | ||
7 | file://src/cpu/xbyak/COPYRIGHT;md5=3b9bf048d063d54cdb28964db558bcc7 \ | ||
8 | file://src/cpu/jit_utils/jitprofiling/LICENSE.BSD;md5=e671ff178b24a95a382ba670503c66fb \ | ||
9 | file://doc/assets/mathjax/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | ||
10 | " | ||
11 | SECTION = "lib" | ||
12 | |||
13 | inherit pkgconfig cmake ptest | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | SRCREV = "75d0b1a7f3586c212e37acebbb8acd221cee7216" | ||
17 | SRC_URI = "git://github.com/intel/mkl-dnn.git;branch=rls-v1.2 \ | ||
18 | file://run-ptest \ | ||
19 | " | ||
20 | |||
21 | UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(\d+(\.\d+)+))$" | ||
22 | |||
23 | CVE_PRODUCT = "intel:math_kernel_library" | ||
24 | |||
25 | COMPATIBLE_HOST = '(x86_64).*-linux' | ||
26 | COMPATIBLE_HOST_libc-musl = 'null' | ||
27 | |||
28 | EXTRA_OECMAKE += "-DDNNL_LIBRARY_TYPE=SHARED" | ||
29 | EXTRA_OECMAKE += "-DDNNL_THREADING=OMP" | ||
30 | EXTRA_OECMAKE += "-DWITH_EXAMPLE=ON" | ||
31 | EXTRA_OECMAKE += "-DWITH_TEST=ON" | ||
32 | EXTRA_OECMAKE += "-DARCH_OPT_FLAGS=''" | ||
33 | EXTRA_OECMAKE += "-DCMAKE_SKIP_RPATH=ON" | ||
34 | |||
35 | do_install_append () { | ||
36 | install -d ${D}${bindir}/mkl-dnn | ||
37 | install -d ${D}${bindir}/mkl-dnn/tests | ||
38 | install -d ${D}${bindir}/mkl-dnn/tests/benchdnn | ||
39 | install -d ${D}${bindir}/mkl-dnn/tests/benchdnn/inputs | ||
40 | install -m 0755 ${B}/tests/benchdnn/benchdnn ${D}${bindir}/mkl-dnn/tests/benchdnn | ||
41 | cp -r ${B}/tests/benchdnn/inputs/* ${D}${bindir}/mkl-dnn/tests/benchdnn/inputs | ||
42 | } | ||
43 | |||
44 | |||
45 | do_install_ptest () { | ||
46 | install -d ${D}${PTEST_PATH}/tests | ||
47 | install -m 0755 ${B}/tests/api-c ${D}${PTEST_PATH}/tests | ||
48 | install -m 0755 ${B}/tests/test_c_symbols-c ${D}${PTEST_PATH}/tests | ||
49 | } | ||
50 | |||
51 | PACKAGES =+ "${PN}-test" | ||
52 | |||
53 | FILES_${PN}-test = "${bindir}/mkl-dnn/*" | ||