From 8a1fb876b05a6c66e26dd2e42dee6f19bcfbd421 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Tue, 21 Sep 2021 10:22:49 +0800 Subject: intel-graphics-compiler: upgrade 1.0.8365 -> 1.0.8708 Remove patches that are not required now. IGC_BUILD__USE_KHRONOS_SPIRV_TRANSLATOR has been renamed so it wasn't taking effect. Remove the option for now. Signed-off-by: Anuj Mittal --- .../igc/intel-graphics-compiler_1.0.8708.bb | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.8708.bb (limited to 'dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.8708.bb') diff --git a/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.8708.bb b/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.8708.bb new file mode 100644 index 00000000..1e87047d --- /dev/null +++ b/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.8708.bb @@ -0,0 +1,45 @@ +SUMMARY = "The Intel(R) Graphics Compiler for OpenCL(TM)" +DESCRIPTION = "The Intel(R) Graphics Compiler for OpenCL(TM) is an \ +llvm based compiler for OpenCL(TM) targeting Intel Gen graphics \ +hardware architecture." + +LICENSE = "MIT & BSD-3-Clause" +LIC_FILES_CHKSUM = "file://IGC/BiFModule/Implementation/ExternalLibraries/libclc/LICENSE.TXT;md5=311cfc1a5b54bab8ed34a0b5fba4373e \ + file://IGC/Compiler/LegalizationPass.cpp;beginline=1;endline=23;md5=4a985f2545dd5a846e205b1e60a51cd9 \ + file://NOTICES.txt;md5=db621145dfb627436bc90ad600386801" + +SRC_URI = "git://github.com/intel/intel-graphics-compiler.git;protocol=https; \ + file://0001-skip-execution-of-ElfPackager.patch \ + file://0002-IGC-VectorCompiler-CMakeLists.txt-link-to-external-L.patch \ + file://0003-Improve-Reproducibility-for-src-package.patch \ + file://0004-find-external-llvm-tblgen.patch \ + " + +SRCREV = "9ff8ff3d235cfac683ef91809c64247d6a43b887" + +# Used to replace with relative path in reproducibility patch +export B + +S = "${WORKDIR}/git" + +inherit cmake + +CXXFLAGS:append = " -Wno-error=deprecated-declarations" + +COMPATIBLE_HOST = '(x86_64).*-linux' +COMPATIBLE_HOST:libc-musl = "null" + +DEPENDS += " flex-native bison-native clang opencl-clang vc-intrinsics" +DEPENDS:append:class-target = " clang-cross-x86_64" + +RDEPENDS:${PN} += "opencl-clang" + +EXTRA_OECMAKE = "-DIGC_OPTION__LLVM_PREFERRED_VERSION=${LLVMVERSION} -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 -DIGC_BUILD__VC_ENABLED=OFF" + +BBCLASSEXTEND = "native nativesdk" + +UPSTREAM_CHECK_GITTAGREGEX = "^igc-(?P(?!19\..*)\d+(\.\d+)+)$" + +FILES:${PN} += " \ + ${libdir}/igc/NOTICES.txt \ + " -- cgit v1.2.3-54-g00ecf