diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-08-20 15:25:29 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-21 14:49:42 +0100 |
commit | e2170f22ed50a94d9969d4c29a2f9a92c3a9d67e (patch) | |
tree | 21a47febefef7f95b2ec13570c3309334629012f /meta/recipes-devtools/llvm/llvm_git.bb | |
parent | 959fcc81295cc7077824266d1af9e90aaff803bc (diff) | |
download | poky-e2170f22ed50a94d9969d4c29a2f9a92c3a9d67e.tar.gz |
llvm: Enable AMDGPU backend for native/native-sdk builds too
(From OE-Core rev: 0053740c01f3ae49292a03686f2a6bad298d3af9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/llvm/llvm_git.bb')
-rw-r--r-- | meta/recipes-devtools/llvm/llvm_git.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index df7c1dddd3..727876303d 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb | |||
@@ -50,9 +50,7 @@ def get_llvm_host_arch(bb, d): | |||
50 | # | 50 | # |
51 | # Default to build all OE-Core supported target arches (user overridable). | 51 | # Default to build all OE-Core supported target arches (user overridable). |
52 | # | 52 | # |
53 | LLVM_TARGETS ?= "${@get_llvm_host_arch(bb, d)}" | 53 | LLVM_TARGETS ?= "AMDGPU;${@get_llvm_host_arch(bb, d)}" |
54 | LLVM_TARGETS_prepend_class-target_x86 = "AMDGPU;" | ||
55 | LLVM_TARGETS_prepend_class-target_x86-64 = "AMDGPU;" | ||
56 | 54 | ||
57 | ARM_INSTRUCTION_SET_armv5 = "arm" | 55 | ARM_INSTRUCTION_SET_armv5 = "arm" |
58 | ARM_INSTRUCTION_SET_armv4t = "arm" | 56 | ARM_INSTRUCTION_SET_armv4t = "arm" |