diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2021-07-31 17:47:03 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2021-07-31 17:47:03 +0800 |
commit | 0584f638797a816b29b909d4611d5a099df7bbc1 (patch) | |
tree | 1ec4bdacf824c304290b5086fd54bba9b84158e2 /dynamic-layers/clang-layer/recipes-opencl/opencl-clang | |
parent | 7a5e47b6a594eb29dfe84e47f043a49974bc0402 (diff) | |
download | meta-intel-0584f638797a816b29b909d4611d5a099df7bbc1.tar.gz |
Convert to new override syntax
Use the convert-overrides.py to convert to new syntax and manually
fix some additional changes.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-opencl/opencl-clang')
3 files changed, 11 insertions, 11 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_10.0.0.bb b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_10.0.0.bb index 4928eb22..c870b90b 100644 --- a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_10.0.0.bb +++ b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_10.0.0.bb | |||
@@ -9,7 +9,7 @@ SRC_URI = "git://github.com/intel/opencl-clang.git;branch=ocl-open-100;protocol= | |||
9 | file://0001-don-t-redefine-LLVM_TABLEGEN_EXE.patch \ | 9 | file://0001-don-t-redefine-LLVM_TABLEGEN_EXE.patch \ |
10 | file://0001-Building-in-tree-with-LLVM-10.0-with-the-LLVM_LINK_L.patch \ | 10 | file://0001-Building-in-tree-with-LLVM-10.0-with-the-LLVM_LINK_L.patch \ |
11 | " | 11 | " |
12 | SRC_URI_append_class-native = " file://0002-make-sure-only-static-libraries-linked-for-native-bu.patch" | 12 | SRC_URI:append:class-native = " file://0002-make-sure-only-static-libraries-linked-for-native-bu.patch" |
13 | 13 | ||
14 | SRCREV = "c8cd72e32b6abc18ce6da71c357ea45ba78b52f0" | 14 | SRCREV = "c8cd72e32b6abc18ce6da71c357ea45ba78b52f0" |
15 | 15 | ||
@@ -17,17 +17,17 @@ S = "${WORKDIR}/git" | |||
17 | 17 | ||
18 | inherit cmake | 18 | inherit cmake |
19 | DEPENDS += "clang" | 19 | DEPENDS += "clang" |
20 | DEPENDS_append_class-target = " opencl-clang-native" | 20 | DEPENDS:append:class-target = " opencl-clang-native" |
21 | 21 | ||
22 | COMPATIBLE_HOST = '(x86_64).*-linux' | 22 | COMPATIBLE_HOST = '(x86_64).*-linux' |
23 | COMPATIBLE_HOST_libc-musl = "null" | 23 | COMPATIBLE_HOST:libc-musl = "null" |
24 | 24 | ||
25 | EXTRA_OECMAKE += "\ | 25 | EXTRA_OECMAKE += "\ |
26 | -DLLVM_TABLEGEN_EXE=${STAGING_BINDIR_NATIVE}/llvm-tblgen \ | 26 | -DLLVM_TABLEGEN_EXE=${STAGING_BINDIR_NATIVE}/llvm-tblgen \ |
27 | -DCMAKE_SKIP_RPATH=TRUE \ | 27 | -DCMAKE_SKIP_RPATH=TRUE \ |
28 | " | 28 | " |
29 | 29 | ||
30 | do_install_append_class-native() { | 30 | do_install:append:class-native() { |
31 | install -d ${D}${bindir} | 31 | install -d ${D}${bindir} |
32 | install -m 0755 ${B}/linux_linker/linux_resource_linker ${D}${bindir}/ | 32 | install -m 0755 ${B}/linux_linker/linux_resource_linker ${D}${bindir}/ |
33 | } | 33 | } |
diff --git a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_11.0.0.bb b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_11.0.0.bb index 0c5d0508..e0b12d1f 100644 --- a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_11.0.0.bb +++ b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_11.0.0.bb | |||
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e8a15bf1416762a09ece07e44c79118c" | |||
8 | SRC_URI = "git://github.com/intel/opencl-clang.git;branch=ocl-open-110;protocol=https \ | 8 | SRC_URI = "git://github.com/intel/opencl-clang.git;branch=ocl-open-110;protocol=https \ |
9 | file://0001-don-t-redefine-LLVM_TABLEGEN_EXE.patch \ | 9 | file://0001-don-t-redefine-LLVM_TABLEGEN_EXE.patch \ |
10 | " | 10 | " |
11 | SRC_URI_append_class-native = " file://0002-make-sure-only-static-libraries-linked-for-native-bu.patch" | 11 | SRC_URI:append:class-native = " file://0002-make-sure-only-static-libraries-linked-for-native-bu.patch" |
12 | 12 | ||
13 | SRCREV = "c67648d41df00ea8ee9d701d17299b86f86f0321" | 13 | SRCREV = "c67648d41df00ea8ee9d701d17299b86f86f0321" |
14 | 14 | ||
@@ -16,10 +16,10 @@ S = "${WORKDIR}/git" | |||
16 | 16 | ||
17 | inherit cmake | 17 | inherit cmake |
18 | DEPENDS += "clang" | 18 | DEPENDS += "clang" |
19 | DEPENDS_append_class-target = " opencl-clang-native" | 19 | DEPENDS:append:class-target = " opencl-clang-native" |
20 | 20 | ||
21 | COMPATIBLE_HOST = '(x86_64).*-linux' | 21 | COMPATIBLE_HOST = '(x86_64).*-linux' |
22 | COMPATIBLE_HOST_libc-musl = "null" | 22 | COMPATIBLE_HOST:libc-musl = "null" |
23 | 23 | ||
24 | EXTRA_OECMAKE += "\ | 24 | EXTRA_OECMAKE += "\ |
25 | -DLLVM_TABLEGEN_EXE=${STAGING_BINDIR_NATIVE}/llvm-tblgen \ | 25 | -DLLVM_TABLEGEN_EXE=${STAGING_BINDIR_NATIVE}/llvm-tblgen \ |
@@ -27,7 +27,7 @@ EXTRA_OECMAKE += "\ | |||
27 | -DPREFERRED_LLVM_VERSION="11.1.0" \ | 27 | -DPREFERRED_LLVM_VERSION="11.1.0" \ |
28 | " | 28 | " |
29 | 29 | ||
30 | do_install_append_class-native() { | 30 | do_install:append:class-native() { |
31 | install -d ${D}${bindir} | 31 | install -d ${D}${bindir} |
32 | install -m 0755 ${B}/linux_linker/linux_resource_linker ${D}${bindir}/ | 32 | install -m 0755 ${B}/linux_linker/linux_resource_linker ${D}${bindir}/ |
33 | } | 33 | } |
diff --git a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_12.0.0.bb b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_12.0.0.bb index 06dc44da..544f7e33 100644 --- a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_12.0.0.bb +++ b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_12.0.0.bb | |||
@@ -13,17 +13,17 @@ S = "${WORKDIR}/git" | |||
13 | 13 | ||
14 | inherit cmake | 14 | inherit cmake |
15 | DEPENDS += " clang spirv-llvm-translator" | 15 | DEPENDS += " clang spirv-llvm-translator" |
16 | DEPENDS_append_class-target = " opencl-clang-native" | 16 | DEPENDS:append:class-target = " opencl-clang-native" |
17 | 17 | ||
18 | COMPATIBLE_HOST = '(x86_64).*-linux' | 18 | COMPATIBLE_HOST = '(x86_64).*-linux' |
19 | COMPATIBLE_HOST_libc-musl = "null" | 19 | COMPATIBLE_HOST:libc-musl = "null" |
20 | 20 | ||
21 | EXTRA_OECMAKE += "\ | 21 | EXTRA_OECMAKE += "\ |
22 | -DCMAKE_SKIP_RPATH=TRUE \ | 22 | -DCMAKE_SKIP_RPATH=TRUE \ |
23 | -DPREFERRED_LLVM_VERSION=${LLVMVERSION} \ | 23 | -DPREFERRED_LLVM_VERSION=${LLVMVERSION} \ |
24 | " | 24 | " |
25 | 25 | ||
26 | do_install_append_class-native() { | 26 | do_install:append:class-native() { |
27 | install -d ${D}${bindir} | 27 | install -d ${D}${bindir} |
28 | install -m 0755 ${B}/linux_linker/linux_resource_linker ${D}${bindir}/ | 28 | install -m 0755 ${B}/linux_linker/linux_resource_linker ${D}${bindir}/ |
29 | } | 29 | } |