[meta-intel] [PATCH v2 1/3] opencl-clang: use default TOOLCHAIN

Naveen Saini naveen.kumar.saini at intel.com
Wed Oct 9 22:26:12 PDT 2019


LLD linker is no longer the default for clang-native, so
we can build binaries linking to clang-native using GNU ld.

Signed-off-by: Naveen Saini <naveen.kumar.saini at intel.com>
---
 .../clang-layer/recipes-opencl/opencl-clang/opencl-clang_9.0.0.bb      | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_9.0.0.bb b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_9.0.0.bb
index e420923..32af900 100644
--- a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_9.0.0.bb
+++ b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_9.0.0.bb
@@ -17,7 +17,6 @@ inherit cmake
 DEPENDS += "clang"
 
 DEPENDS_append_class-target = " opencl-clang-native"
-LDFLAGS_append_class-native = " -fuse-ld=lld"
 
 COMPATIBLE_HOST = '(x86_64).*-linux'
 COMPATIBLE_HOST_libc-musl = "null"
@@ -33,5 +32,3 @@ do_install_append_class-native() {
 }
 
 BBCLASSEXTEND = "native nativesdk"
-
-TOOLCHAIN_class-native = "clang"
-- 
2.7.4



More information about the meta-intel mailing list