[oe-commits] [openembedded-core] branch master-next updated: llvm: Enable AMDGPU backend for native/native-sdk builds too

git at git.openembedded.org git at git.openembedded.org
Mon Aug 20 22:43:43 UTC 2018


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

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

The following commit(s) were added to refs/heads/master-next by this push:
     new 995213d  llvm: Enable AMDGPU backend for native/native-sdk builds too
995213d is described below

commit 995213d8764ac2bfb3187055871722eafc1147cd
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