diff options
| author | Zoltán Böszörményi <zboszor@gmail.com> | 2022-08-10 14:50:34 +0200 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@intel.com> | 2022-08-26 09:36:47 +0800 |
| commit | 0337f4a8fc8156db6b8f84b814a3d00cb4f3c5d3 (patch) | |
| tree | facc6fba6999f5cdcc636de6377b7498544c271b | |
| parent | b5664f2f1185c133b2939c0457f95d5f40bfcad1 (diff) | |
| download | meta-intel-0337f4a8fc8156db6b8f84b814a3d00cb4f3c5d3.tar.gz | |
intel-oneapi-mkl: Allow MKL to be used for compiling other packages
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
| -rw-r--r-- | dynamic-layers/openembedded-layer/recipes-oneapi/mkl/intel-oneapi-mkl_2022.0.1-117.bb | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/mkl/intel-oneapi-mkl_2022.0.1-117.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/mkl/intel-oneapi-mkl_2022.0.1-117.bb index fc89206a..0e387ae5 100644 --- a/dynamic-layers/openembedded-layer/recipes-oneapi/mkl/intel-oneapi-mkl_2022.0.1-117.bb +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/mkl/intel-oneapi-mkl_2022.0.1-117.bb | |||
| @@ -20,20 +20,36 @@ LIC_FILES_CHKSUM = " \ | |||
| 20 | file://opt/intel/oneapi/lib/licensing/mkl/third-party-programs.txt;md5=980965cf1f086d40998ca4981968b6a4 \ | 20 | file://opt/intel/oneapi/lib/licensing/mkl/third-party-programs.txt;md5=980965cf1f086d40998ca4981968b6a4 \ |
| 21 | " | 21 | " |
| 22 | 22 | ||
| 23 | MKLMAINVER = "2022.0.1" | ||
| 24 | |||
| 23 | SRC_URI = " \ | 25 | SRC_URI = " \ |
| 24 | https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-runtime-mkl-${PV}_amd64.deb;subdir=${BPN};name=runtime \ | 26 | https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-runtime-mkl-${PV}_amd64.deb;subdir=${BPN};name=runtime \ |
| 25 | https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-runtime-mkl-common-${PV}_all.deb;subdir=${BPN};name=common \ | 27 | https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-runtime-mkl-common-${PV}_all.deb;subdir=${BPN};name=common \ |
| 28 | https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-mkl-common-devel-${MKLMAINVER}-${PV}_all.deb;subdir=${BPN};name=devel \ | ||
| 26 | " | 29 | " |
| 27 | 30 | ||
| 28 | SRC_URI[runtime.sha256sum] = "b20e0f7400fbbc55d8489f9f3ef35a8c8df7f5af7d87903bf305703e3a2ebc3b" | 31 | SRC_URI[runtime.sha256sum] = "b20e0f7400fbbc55d8489f9f3ef35a8c8df7f5af7d87903bf305703e3a2ebc3b" |
| 29 | SRC_URI[common.sha256sum] = "bff8b2bfedbd09c9e6d0366cca3d4de80af521302bd5938fe6fa0128c6839041" | 32 | SRC_URI[common.sha256sum] = "bff8b2bfedbd09c9e6d0366cca3d4de80af521302bd5938fe6fa0128c6839041" |
| 33 | SRC_URI[devel.sha256sum] = "1c84c0b72638415318229326cb143691a5914d5e88552abef39391db3d285cff" | ||
| 30 | 34 | ||
| 31 | S = "${WORKDIR}/${BPN}" | 35 | S = "${WORKDIR}/${BPN}" |
| 32 | 36 | ||
| 33 | inherit bin_package | 37 | inherit bin_package |
| 34 | 38 | ||
| 39 | do_install:append () { | ||
| 40 | install -d ${D}${libdir} | ||
| 41 | (cd ${D}${libdir} ; ln -s ../../opt/intel/oneapi/lib/intel64/*.so* .) | ||
| 42 | install -d ${D}${libdir}/pkgconfig | ||
| 43 | (cd ${D}${libdir}/pkgconfig ; ln -s ../../../opt/intel/oneapi/mkl/${MKLMAINVER}/lib/pkgconfig/* .) | ||
| 44 | |||
| 45 | install -d ${D}${includedir} | ||
| 46 | (cd ${D}${includedir} ; ln -s ../../opt/intel/oneapi/mkl/${MKLMAINVER}/include/* .) | ||
| 47 | } | ||
| 48 | |||
| 35 | INHIBIT_PACKAGE_STRIP = "1" | 49 | INHIBIT_PACKAGE_STRIP = "1" |
| 36 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 50 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
| 37 | 51 | ||
| 38 | RDEPENDS:${PN} += "tbb intel-oneapi-compiler setup-intel-oneapi-env" | 52 | RDEPENDS:${PN} += "bash tbb intel-oneapi-compiler setup-intel-oneapi-env" |
| 39 | INSANE_SKIP:${PN} = "ldflags textrel dev-so" | 53 | INSANE_SKIP:${PN} = "ldflags textrel dev-so" |
| 54 | |||
| 55 | SYSROOT_DIRS += "/opt" | ||
