diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-11-13 22:59:11 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-11-14 07:18:21 -0800 |
commit | 003dd05e4c168f7c3cccb9cbfad3fd8f38fe8741 (patch) | |
tree | 6eb597b2d29e7c924c07f36124a85e13908c2d17 /conf | |
parent | df21a7d3f29cb49783ff93a9f5ba947832a09e25 (diff) | |
download | meta-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.conf | 3 |
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 | ||
21 | PREFERRED_PROVIDER_libgcc-initial = "libgcc-initial" | 21 | PREFERRED_PROVIDER_libgcc-initial = "libgcc-initial" |
22 | #PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs_forcevariable = "libcxx" | 22 | #PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs_forcevariable = "libcxx" |
23 | PREFERRED_PROVIDER_llvm = "clang" | ||
24 | PREFERRED_PROVIDER_llvm-native = "clang-native" | ||
25 | PREFERRED_PROVIDER_nativesdk-llvm = "nativesdk-clang" | ||
23 | INHERIT += "clang" | 26 | INHERIT += "clang" |
24 | 27 | ||
25 | # include clang in SDK | 28 | # include clang in SDK |