All of lore.kernel.org
 help / color / mirror / Atom feed
* #yocto llvm support
@ 2021-04-20 12:59 Monsees, Steven C (US)
  2021-04-20 13:51 ` Anton Antonov
  0 siblings, 1 reply; 5+ messages in thread
From: Monsees, Steven C (US) @ 2021-04-20 12:59 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 447 bytes --]


Under ../poky/meta/recipes-devtools the is "llvm"...

Devtool search <component>
Devtool sdk-install <component>

Will add this component to my EXT SDK...

Is this a fully functional llvm drop ?,
(i.e. is it compatible with meta-clang?, and can I use them together to build 3rd party extensions for my platform ?)

Is it better to add supported components this way rather than building them in directly to EXT SDK ?

Thanks,
Steve

[-- Attachment #2: Type: text/html, Size: 2681 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: #yocto llvm support
  2021-04-20 12:59 #yocto llvm support Monsees, Steven C (US)
@ 2021-04-20 13:51 ` Anton Antonov
  2021-04-20 14:00   ` [yocto] " Monsees, Steven C (US)
  0 siblings, 1 reply; 5+ messages in thread
From: Anton Antonov @ 2021-04-20 13:51 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 429 bytes --]

Hi Steven,

I used meta-clang in my recipes and I noticed that:
1. The current release of poky uses LLVM v11.1.0 by default (poky/meta/recipes-devtools/llvm/llvm_git.bb)
2. Meta-clang requires LLVM v12.0.0 (meta-clang/conf/layer.conf defines LLVMVERSION = "12.0.0")

As a result just including meta-clang into bblayers.conf will require bitbake to build a new version of LLVM and rebuild everything which uses it

Anton

[-- Attachment #2: Type: text/html, Size: 502 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto] #yocto llvm support
  2021-04-20 13:51 ` Anton Antonov
@ 2021-04-20 14:00   ` Monsees, Steven C (US)
  2021-04-20 16:01     ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Monsees, Steven C (US) @ 2021-04-20 14:00 UTC (permalink / raw)
  To: Anton Antonov, yocto

[-- Attachment #1: Type: text/plain, Size: 1294 bytes --]


I noticed similar behavior...

I am running zeus 3.0.4, "devtool sdk-install llvm" will get llvm 8.0.1...

When I build meta-clang, and I set TOOLCHAIN?="clang" in local.conf it appears to grab llvm-project-source-9.0.1-9.0.1...

From: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org> On Behalf Of Anton Antonov
Sent: Tuesday, April 20, 2021 9:51 AM
To: yocto@lists.yoctoproject.org
Subject: Re: [yocto] #yocto llvm support

External Email Alert

This email has been sent from an account outside of the BAE Systems network.
Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros.  For further information on how to spot phishing, access "Cybersecurity OneSpace Page" and report phishing by clicking the button "Report Phishing" on the Outlook toolbar.


Hi Steven,

  I used meta-clang in my recipes and I noticed that:
1. The current release of poky uses LLVM v11.1.0 by default (poky/meta/recipes-devtools/llvm/llvm_git.bb)
2. Meta-clang requires LLVM v12.0.0 (meta-clang/conf/layer.conf defines LLVMVERSION = "12.0.0")

As a result just including meta-clang into bblayers.conf will require bitbake to build a new version of LLVM and rebuild everything which uses it

Anton

[-- Attachment #2: Type: text/html, Size: 5758 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto] #yocto llvm support
  2021-04-20 14:00   ` [yocto] " Monsees, Steven C (US)
@ 2021-04-20 16:01     ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2021-04-20 16:01 UTC (permalink / raw)
  To: steven.monsees, Anton Antonov, yocto



On 4/20/21 7:00 AM, Monsees, Steven C (US) via lists.yoctoproject.org wrote:
> I noticed similar behavior…
> 
> I am running zeus 3.0.4, “devtool sdk-install llvm” will get llvm 8.0.1…
> 
> When I build meta-clang, and I set TOOLCHAIN?=”clang” in local.conf it 
> appears to grab llvm-project-source-9.0.1-9.0.1…
> 

this is intentional, when you use meta-clang, then llvm is preferred 
from LLVM since them we have consistent version of llvm for clang and 
others.

> *From:*yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org> *On 
> Behalf Of *Anton Antonov
> *Sent:* Tuesday, April 20, 2021 9:51 AM
> *To:* yocto@lists.yoctoproject.org
> *Subject:* Re: [yocto] #yocto llvm support
> 
> *_External Email Alert_*
> 
> *This email has been sent from an account outside of the BAE Systems 
> network.*
> 
> Please treat the email with caution, especially if you are requested to 
> click on a link, decrypt/open an attachment, or enable macros.  For 
> further information on how to spot phishing, access “Cybersecurity 
> OneSpace Page” and report phishing by clicking the button “Report 
> Phishing” on the Outlook toolbar.
> 
> 
> Hi Steven,
> 
>    I used meta-clang in my recipes and I noticed that:
> 1. The current release of poky uses LLVM v11.1.0 by default 
> (poky/meta/recipes-devtools/llvm/llvm_git.bb)
> 2. Meta-clang requires LLVM v12.0.0 (meta-clang/conf/layer.conf defines 
> LLVMVERSION = "12.0.0")
> 
> As a result just including meta-clang into bblayers.conf will require 
> bitbake to build a new version of LLVM and rebuild everything which uses it
> 
> Anton
> 
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto] #yocto llvm support
@ 2021-04-20 14:09 Monsees, Steven C (US)
  0 siblings, 0 replies; 5+ messages in thread
From: Monsees, Steven C (US) @ 2021-04-20 14:09 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 2014 bytes --]


So, does anyone know proper usage here?

Is this a fully functional llvm drop under ../poky/meta/recipes-devtools ?
Is it compatible with meta-clang?, and can they be used together to build 3rd party extensions for my platform ?

Is it better to add supported components this way rather than building them in directly to EXT SDK ?

Also, any known issues with meta-clang under zeus 3.0.4 ?

Thanks,
Steve

From: Monsees, Steven C (US)
Sent: Tuesday, April 20, 2021 10:01 AM
To: 'Anton Antonov' <anton.antonov@arm.com>; yocto@lists.yoctoproject.org
Subject: RE: [yocto] #yocto llvm support


I noticed similar behavior...

I am running zeus 3.0.4, "devtool sdk-install llvm" will get llvm 8.0.1...

When I build meta-clang, and I set TOOLCHAIN?="clang" in local.conf it appears to grab llvm-project-source-9.0.1-9.0.1...

From: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org> <yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org>> On Behalf Of Anton Antonov
Sent: Tuesday, April 20, 2021 9:51 AM
To: yocto@lists.yoctoproject.org<mailto:yocto@lists.yoctoproject.org>
Subject: Re: [yocto] #yocto llvm support

External Email Alert

This email has been sent from an account outside of the BAE Systems network.
Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros.  For further information on how to spot phishing, access "Cybersecurity OneSpace Page" and report phishing by clicking the button "Report Phishing" on the Outlook toolbar.


Hi Steven,

  I used meta-clang in my recipes and I noticed that:
1. The current release of poky uses LLVM v11.1.0 by default (poky/meta/recipes-devtools/llvm/llvm_git.bb)
2. Meta-clang requires LLVM v12.0.0 (meta-clang/conf/layer.conf defines LLVMVERSION = "12.0.0")

As a result just including meta-clang into bblayers.conf will require bitbake to build a new version of LLVM and rebuild everything which uses it

Anton

[-- Attachment #2: Type: text/html, Size: 8568 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-20 16:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-20 12:59 #yocto llvm support Monsees, Steven C (US)
2021-04-20 13:51 ` Anton Antonov
2021-04-20 14:00   ` [yocto] " Monsees, Steven C (US)
2021-04-20 16:01     ` Khem Raj
2021-04-20 14:09 Monsees, Steven C (US)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.