diff options
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.8365.bb')
-rw-r--r-- | dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.8365.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.8365.bb b/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.8365.bb new file mode 100644 index 00000000..8d557b07 --- /dev/null +++ b/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.8365.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | SUMMARY = "The Intel(R) Graphics Compiler for OpenCL(TM)" | ||
2 | DESCRIPTION = "The Intel(R) Graphics Compiler for OpenCL(TM) is an \ | ||
3 | llvm based compiler for OpenCL(TM) targeting Intel Gen graphics \ | ||
4 | hardware architecture." | ||
5 | |||
6 | LICENSE = "MIT & BSD-3-Clause" | ||
7 | LIC_FILES_CHKSUM = "file://IGC/BiFModule/Implementation/ExternalLibraries/libclc/LICENSE.TXT;md5=311cfc1a5b54bab8ed34a0b5fba4373e \ | ||
8 | file://IGC/Compiler/LegalizationPass.cpp;beginline=1;endline=23;md5=4a985f2545dd5a846e205b1e60a51cd9 \ | ||
9 | file://NOTICES.txt;md5=db621145dfb627436bc90ad600386801" | ||
10 | |||
11 | SRC_URI = "git://github.com/intel/intel-graphics-compiler.git;protocol=https; \ | ||
12 | file://0001-skip-execution-of-ElfPackager.patch \ | ||
13 | file://0002-IGC-VectorCompiler-CMakeLists.txt-link-to-external-L.patch \ | ||
14 | file://0003-Improve-Reproducibility-for-src-package.patch \ | ||
15 | file://0004-find-external-llvm-tblgen.patch \ | ||
16 | file://0005-Temporary-LLVM-12-compatiblity-fix.patch \ | ||
17 | file://0001-LLVM-13-fixes.patch \ | ||
18 | " | ||
19 | |||
20 | SRCREV = "5d5672d6cc0c415dae76648390026f777004bd99" | ||
21 | |||
22 | # Used to replace with relative path in reproducibility patch | ||
23 | export B | ||
24 | |||
25 | S = "${WORKDIR}/git" | ||
26 | |||
27 | inherit cmake | ||
28 | |||
29 | CXXFLAGS:append = " -Wno-error=deprecated-declarations" | ||
30 | |||
31 | COMPATIBLE_HOST = '(x86_64).*-linux' | ||
32 | COMPATIBLE_HOST:libc-musl = "null" | ||
33 | |||
34 | DEPENDS += " flex-native bison-native clang opencl-clang vc-intrinsics" | ||
35 | DEPENDS:append:class-target = " clang-cross-x86_64" | ||
36 | |||
37 | RDEPENDS:${PN} += "opencl-clang" | ||
38 | |||
39 | EXTRA_OECMAKE = "-DIGC_OPTION__LLVM_PREFERRED_VERSION=${LLVMVERSION} -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 -DIGC_BUILD__VC_ENABLED=OFF -DIGC_BUILD__USE_KHRONOS_SPIRV_TRANSLATOR=ON" | ||
40 | |||
41 | BBCLASSEXTEND = "native nativesdk" | ||
42 | |||
43 | UPSTREAM_CHECK_GITTAGREGEX = "^igc-(?P<pver>(?!19\..*)\d+(\.\d+)+)$" | ||
44 | |||
45 | FILES:${PN} += " \ | ||
46 | ${libdir}/igc/NOTICES.txt \ | ||
47 | " | ||