diff options
author | Vtiurina, Mariia <mariia.vtiurina@intel.com> | 2021-11-01 18:23:43 +0300 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2021-11-03 21:56:15 +0800 |
commit | 6a38cec44b0b96ecd78157fcac2a925609171bee (patch) | |
tree | 4c94153bf54c48a2f91b3e3c5814f0dbd35212b5 /dynamic-layers | |
parent | 23324f3fb36857efe3b9b300bf75651013a4c033 (diff) | |
download | meta-intel-6a38cec44b0b96ecd78157fcac2a925609171bee.tar.gz |
intel-oneapi-compiler: add recipe for compiler (runtime only)
Intel® oneAPI DPC++/C++ Compiler & Intel® C++ Compiler Classic runtime.
For more details, see:
https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html
Signed-off-by: Mariia Vtiurina <mariia.vtiurina@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-oneapi/compiler/intel-oneapi-compiler_2021.4.0-3561.bb | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/compiler/intel-oneapi-compiler_2021.4.0-3561.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/compiler/intel-oneapi-compiler_2021.4.0-3561.bb new file mode 100644 index 00000000..a1080dbd --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/compiler/intel-oneapi-compiler_2021.4.0-3561.bb | |||
@@ -0,0 +1,53 @@ | |||
1 | SUMMARY = "Intel® oneAPI DPC++/C++ Compiler & Intel® C++ Compiler Classic runtime common files" | ||
2 | DESCRIPTION = "Intel® C++ Compiler Classic generates applications\ | ||
3 | that can run on Intel® 64 architecture and the IA-32 architecture.\ | ||
4 | Intel® oneAPI Data Parallel C++ (DPC++) is an open alternative \ | ||
5 | to single-architecture proprietary languages. It allows developers to reuse \ | ||
6 | code across hardware targets (CPUs and accelerators such as GPUs and FPGAs) \ | ||
7 | and also perform custom tuning for a specific accelerator." | ||
8 | HOMEPAGE = "https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/introducing-the-intel-c-compiler-classic.html" | ||
9 | |||
10 | LICENSE="EULA" | ||
11 | |||
12 | LIC_FILES_CHKSUM = " \ | ||
13 | file://opt/intel/oneapi/lib/licensing/compiler/Intel%20Developer%20Tools%20EULA;md5=504ce70b21e83ed3eadf647715fe8693 \ | ||
14 | file://opt/intel/oneapi/lib/licensing/compiler/openmp/third-party-programs.txt;md5=da72b17a4a1efef54faf14df4a703282 \ | ||
15 | file://opt/intel/oneapi/lib/licensing/compiler/c/third-party-programs.txt;md5=e68c504274cfdae7628970517223a823 \ | ||
16 | " | ||
17 | |||
18 | SRC_URI = " \ | ||
19 | https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-runtime-compilers-${PV}_amd64.deb;subdir=${BPN};name=runtime-compilers \ | ||
20 | https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-runtime-compilers-common-${PV}_all.deb;subdir=${BPN};name=common-compilers \ | ||
21 | https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-runtime-dpcpp-cpp-${PV}_amd64.deb;subdir=${BPN};name=runtime-dpcpp-cpp \ | ||
22 | https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-runtime-dpcpp-cpp-common-${PV}_all.deb;subdir=${BPN};name=common-dpcpp-cpp \ | ||
23 | https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-runtime-openmp-${PV}_amd64.deb;subdir=${BPN};name=runtime-openmp \ | ||
24 | https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-runtime-openmp-common-${PV}_all.deb;subdir=${BPN};name=common-openmp \ | ||
25 | " | ||
26 | |||
27 | SRC_URI[runtime-compilers.sha256sum] = "37ee9277b8b7b5486ec2a44cb66575b94dcc2b927f1825f88cdf2c1de54de656" | ||
28 | SRC_URI[common-compilers.sha256sum] = "9d446a793e2a3b5749c949b8985c6cc05125df107458cd9640e39e32650f9365" | ||
29 | SRC_URI[runtime-dpcpp-cpp.sha256sum] = "894c9d0efe069a2a2757338ce6b005f560e34319d3f6321f794733937f85718b" | ||
30 | SRC_URI[common-dpcpp-cpp.sha256sum] = "ff8303b4b4da9f03302cef00fb275c875a3876f34c242813707d461ad4c9628d" | ||
31 | SRC_URI[runtime-openmp.sha256sum] = "65dca00697b93a31df401de73ad38e2e65d8bcc662b2d2a8ad561551fbde0620" | ||
32 | SRC_URI[common-openmp.sha256sum] = "53a59a72051760bcf04186beaa17656082eacec2ecaee86bfde7f6e7560457bf" | ||
33 | |||
34 | S = "${WORKDIR}/${BPN}" | ||
35 | |||
36 | inherit bin_package update-alternatives | ||
37 | |||
38 | ALTERNATIVE:${PN} = "Intel_FPGA_SSG_Emulator.icd" | ||
39 | ALTERNATIVE_LINK_NAME[Intel_FPGA_SSG_Emulator.icd] = "/etc/OpenCL/vendors/intel64-fpgaemu.icd" | ||
40 | ALTERNATIVE_TARGET[Intel_FPGA_SSG_Emulator.icd] = "/opt/intel/oneapi/lib/etc/Intel_FPGA_SSG_Emulator.icd" | ||
41 | ALTERNATIVE_PRIORITY[Intel_FPGA_SSG_Emulator.icd] = "328736233" | ||
42 | |||
43 | INHIBIT_PACKAGE_STRIP = "1" | ||
44 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
45 | |||
46 | RDEPENDS:${PN} += "perl elfutils opencl-icd-loader level-zero-loader zlib tbb libelf setup-intel-oneapi-env" | ||
47 | INSANE_SKIP:${PN} += "textrel dev-so" | ||
48 | |||
49 | # The libomptarget.rtl.x86_64.so library is not supported on Yocto 3.1+ due to using obsolete libffi.so.6 | ||
50 | do_install:append () { | ||
51 | rm -f ${D}/opt/intel/oneapi/lib/libomptarget.rtl.x86_64.so | ||
52 | echo "/opt/intel/oneapi/lib/emu/libintelocl_emu.so" > ${D}/opt/intel/oneapi/lib/etc/Intel_FPGA_SSG_Emulator.icd | ||
53 | } | ||