Skip to contentSkip to conversation

hafnium: Exclude from world builds

PATCH Applied Khem Raj 3 participants 5 messages Sep 26, 2022 – Sep 29, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 hafnium: Exclude from world builds

This does not build with clang from meta-clang and also does not build with gcc either

---
 meta-arm/recipes-bsp/hafnium/hafnium_2.7.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-arm/recipes-bsp/hafnium/hafnium_2.7.bb +2 -0
index d90f747..0c4e294 100644
@@ -77,3 +77,5 @@ python() {
     if d.getVar("BUILD_ARCH") != "x86_64":
         raise bb.parse.SkipRecipe("Cannot be built on non-x86-64 hosts")
 }
+
+EXCLUDE_FROM_WORLD = "1"
Signature · 1 line
2.37.3
#1 lore raw

It brings its own compiler, so the host compiler shouldn’t be relevant.

What build configuration is making this break? We can be more specific with exclusions than this.

Ross

Quoted 32 lines · Khem Raj via lists.yoctoproject.org

This does not build with clang from meta-clang and also does not build with gcc either

---
meta-arm/recipes-bsp/hafnium/hafnium_2.7.bb | 2 ++

1 file changed, 2 insertions(+)
meta-arm/recipes-bsp/hafnium/hafnium_2.7.bb +2 -0
index d90f747..0c4e294 100644
@@ -77,3 +77,5 @@ python() {
    if d.getVar("BUILD_ARCH") != "x86_64":
        raise bb.parse.SkipRecipe("Cannot be built on non-x86-64 hosts")
 }
+
+EXCLUDE_FROM_WORLD = "1"
Signature · 10 lines
2.37.3


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#3842): https://lists.yoctoproject.org/g/meta-arm/message/3842
Mute This Topic: https://lists.yoctoproject.org/mt/93938627/6875888
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
author
#2 lore raw
Quoted 4 lines · Ross Burton

It brings its own compiler, so the host compiler shouldn’t be relevant.

What build configuration is making this break? We can be more specific with exclusions than this.

That’s fine it’s not building at all here so fixing that would be fine I just wanted it to be either building or put aside

Quoted 42 lines

Ross

Quoted 1 line

On 26 Sep 2022, at 23:26, Khem Raj via lists.yoctoproject.org <raj.khem=

Review

Quoted 10 lines · [email protected]> wrote:

This does not build with clang from meta-clang and also does not build with gcc either

---
meta-arm/recipes-bsp/hafnium/hafnium_2.7.bb | 2 ++

1 file changed, 2 insertions(+)
(quoted diff) +0 -0

b/meta-arm/recipes-bsp/hafnium/hafnium_2.7.bb

Quoted 13 lines

index d90f747..0c4e294 100644

meta-arm/recipes-bsp/hafnium/hafnium_2.7.bb +2 -1
@@ -77,3 +77,5 @@ python() {
    if d.getVar("BUILD_ARCH") != "x86_64":
        raise bb.parse.SkipRecipe("Cannot be built on non-x86-64 hosts")
 }
+
+EXCLUDE_FROM_WORLD = "1"
--

2.37.3

Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#3842):

https://lists.yoctoproject.org/g/meta-arm/message/3842

Quoted 3 lines

Mute This Topic: https://lists.yoctoproject.org/mt/93938627/6875888
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

Applied
#3 lore raw
In reply to Khem Raj
Quoted 2 lines · Khem Raj

This does not build with clang from meta-clang and also does not build with gcc either

Applied, thanks!

[1/1] hafnium: Exclude from world builds

      commit: 4cd8d73788a9d98ad367f61447de28c719ca5ec3

Best regards,

Signature · 1 line
Jon Mason <[email protected]>
Applied
#4 lore raw
In reply to Khem Raj
Quoted 2 lines · Khem Raj

This does not build with clang from meta-clang and also does not build with gcc either

Applied, thanks!

[1/1] hafnium: Exclude from world builds

      commit: 4cd8d73788a9d98ad367f61447de28c719ca5ec3

Best regards,

Signature · 1 line
Jon Mason <[email protected]>