[oe-commits] [openembedded-core] 16/20: llvm: Enable AMDGPU backend for native/native-sdk builds too

git at git.openembedded.org git at git.openembedded.org
Tue Aug 21 13:53:35 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 0053740c01f3ae49292a03686f2a6bad298d3af9
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Mon Aug 20 15:25:29 2018 -0700

    llvm: Enable AMDGPU backend for native/native-sdk builds too
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/llvm/llvm_git.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
index df7c1dd..7278763 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):
 #
 # Default to build all OE-Core supported target arches (user overridable).
 #
-LLVM_TARGETS ?= "${@get_llvm_host_arch(bb, d)}"
-LLVM_TARGETS_prepend_class-target_x86 = "AMDGPU;"
-LLVM_TARGETS_prepend_class-target_x86-64 = "AMDGPU;"
+LLVM_TARGETS ?= "AMDGPU;${@get_llvm_host_arch(bb, d)}"
 
 ARM_INSTRUCTION_SET_armv5 = "arm"
 ARM_INSTRUCTION_SET_armv4t = "arm"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list