summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-11-13 22:59:11 -0800
committerKhem Raj <raj.khem@gmail.com>2019-11-14 07:18:21 -0800
commit003dd05e4c168f7c3cccb9cbfad3fd8f38fe8741 (patch)
tree6eb597b2d29e7c924c07f36124a85e13908c2d17 /conf
parentdf21a7d3f29cb49783ff93a9f5ba947832a09e25 (diff)
downloadmeta-clang-003dd05e4c168f7c3cccb9cbfad3fd8f38fe8741.tar.gz
clang: Provide llvm/llvm-native
When using meta-clang, it makes sense to use llvm provided by clang recipe, this ensures that we do not build llvm from oe-core but instead offer the one from clang recipe enable rtti and eh for native/nativesdk clang, this is needed for mesa to build Let clang PROVIDE llvm Build AMDGNU and other targets, this is needed for llvm-config to work properly, since we use llvm-config from clang-native, so its better to build the targets that are built for clang-native atleast create version specific symlinks for tblgen anf llvm-config Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/layer.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf
index 2b92760..967f052 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -20,6 +20,9 @@ BBFILES_DYNAMIC += " \
20 20
21PREFERRED_PROVIDER_libgcc-initial = "libgcc-initial" 21PREFERRED_PROVIDER_libgcc-initial = "libgcc-initial"
22#PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs_forcevariable = "libcxx" 22#PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs_forcevariable = "libcxx"
23PREFERRED_PROVIDER_llvm = "clang"
24PREFERRED_PROVIDER_llvm-native = "clang-native"
25PREFERRED_PROVIDER_nativesdk-llvm = "nativesdk-clang"
23INHERIT += "clang" 26INHERIT += "clang"
24 27
25# include clang in SDK 28# include clang in SDK