opencl-clang with this upgrade, should be build against llvm 9.0.0 and above.
Changes can be check here: https://github.com/intel/opencl-clang Signed-off-by: Naveen Saini <naveen.kumar.sa...@intel.com> --- .../opencl-clang/files/point-to-correct-llvm-tblgen.patch | 11 ++++++++--- .../{opencl-clang_8.0.1.bb => opencl-clang_9.0.0.bb} | 4 ++-- 2 files changed, 10 insertions(+), 5 deletions(-) rename dynamic-layers/clang-layer/recipes-opencl/opencl-clang/{opencl-clang_8.0.1.bb => opencl-clang_9.0.0.bb} (93%) diff --git a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/files/point-to-correct-llvm-tblgen.patch b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/files/point-to-correct-llvm-tblgen.patch index b0bfa6e..417e022 100644 --- a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/files/point-to-correct-llvm-tblgen.patch +++ b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/files/point-to-correct-llvm-tblgen.patch @@ -1,4 +1,4 @@ -From 40be69a2c9460aea40beab8734684050988b9322 Mon Sep 17 00:00:00 2001 +From 2ce2619b544678541e0cc56494e2927086718613 Mon Sep 17 00:00:00 2001 From: Anuj Mittal <anuj.mit...@intel.com> Date: Tue, 26 Mar 2019 14:11:29 +0800 Subject: [PATCH] point to correct llvm-tblgen @@ -10,12 +10,14 @@ git through cmake. Upstream-Status: Inappropriate [OE specific] +Signed-off-by: Anuj Mittal <anuj.mit...@intel.com> +Signed-off-by: Naveen Saini <naveen.kumar.sa...@intel.com> --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index 174133b..be409e5 100644 +index 1371a67..f83ffcc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,7 +53,7 @@ endif(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) @@ -27,7 +29,7 @@ index 174133b..be409e5 100644 if (NOT WIN32) add_subdirectory( linux_linker ) -@@ -102,7 +102,7 @@ endif(NOT USE_PREBUILT_LLVM) +@@ -138,7 +138,7 @@ endif(NOT USE_PREBUILT_LLVM) set (COMPILE_OPTIONS_TD opencl_clang_options.td) set (COMPILE_OPTIONS_INC opencl_clang_options.inc) @@ -36,3 +38,6 @@ index 174133b..be409e5 100644 set(LLVM_TARGET_DEFINITIONS ${COMPILE_OPTIONS_TD}) if(USE_PREBUILT_LLVM) set(TABLEGEN_ADDITIONAL -I ${LLVM_INCLUDE_DIRS}) +-- +2.17.1 + diff --git a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_8.0.1.bb b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_9.0.0.bb similarity index 93% rename from dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_8.0.1.bb rename to dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_9.0.0.bb index c45c36d..e420923 100644 --- a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_8.0.1.bb +++ b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_9.0.0.bb @@ -5,11 +5,11 @@ DESCRIPTION = "Common clang has OpenCL-oriented API and is capable \ LICENSE = "NCSA" LIC_FILES_CHKSUM = "file://LICENSE;md5=e8a15bf1416762a09ece07e44c79118c" -SRC_URI = "git://github.com/intel/opencl-clang.git;branch=ocl-open-80;protocol=https \ +SRC_URI = "git://github.com/intel/opencl-clang.git;branch=ocl-open-90;protocol=https \ file://point-to-correct-llvm-tblgen.patch \ " -SRCREV = "94af090661d7c953c516c97a25ed053c744a0737" +SRCREV = "6f8c329bea44321aef1a1716dd206c1f7bed23cf" S = "${WORKDIR}/git" -- 2.7.4 -- _______________________________________________ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel