Skip to contentSkip to conversation

buildman: Add gcc-11.1.0 to the directory list

PATCH In review Tom Rini 2 participants 6 messages Oct 5, 2021 – Oct 21, 2021

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 buildman: Add gcc-11.1.0 to the directory list

While CI has been using gcc-11.1.0 for a long time, we have not updated buildman to match. Correct this omission.

---
 tools/buildman/toolchain.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/buildman/toolchain.py +1 -1
index fd137f7300e7..4e2471f3e370 100644
@@ -498,7 +498,7 @@ class Toolchains:
         if arch == 'aarch64':
             arch = 'arm64'
         base = 'https://www.kernel.org/pub/tools/crosstool/files/bin'
-        versions = ['9.2.0', '7.3.0', '6.4.0', '4.9.4']
+        versions = ['11.1.0', '9.2.0', '7.3.0', '6.4.0', '4.9.4']
         links = []
         for version in versions:
             url = '%s/%s/%s/' % (base, arch, version)
Signature · 1 line
2.17.1
#1 lore raw

Hi Tom,

Quoted 23 lines · Tom Rini

While CI has been using gcc-11.1.0 for a long time, we have not updated buildman to match. Correct this omission.

---
 tools/buildman/toolchain.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/buildman/toolchain.py +1 -2
index fd137f7300e7..4e2471f3e370 100644
@@ -498,7 +498,7 @@ class Toolchains:
         if arch == 'aarch64':
             arch = 'arm64'
         base = 'https://www.kernel.org/pub/tools/crosstool/files/bin'
-        versions = ['9.2.0', '7.3.0', '6.4.0', '4.9.4']
+        versions = ['11.1.0', '9.2.0', '7.3.0', '6.4.0', '4.9.4']
         links = []
         for version in versions:
             url = '%s/%s/%s/' % (base, arch, version)
--
Quoted 2 lines

2.17.1

This seems to break that n900 build:

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/336316

Regards,
Simon

author
#2 lore raw
Quoted 31 lines · Simon Glass

Hi Tom,

Quoted 23 lines · Tom Rini

While CI has been using gcc-11.1.0 for a long time, we have not updated buildman to match. Correct this omission.

---
 tools/buildman/toolchain.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/buildman/toolchain.py +1 -2
index fd137f7300e7..4e2471f3e370 100644
@@ -498,7 +498,7 @@ class Toolchains:
         if arch == 'aarch64':
             arch = 'arm64'
         base = 'https://www.kernel.org/pub/tools/crosstool/files/bin'
-        versions = ['9.2.0', '7.3.0', '6.4.0', '4.9.4']
+        versions = ['11.1.0', '9.2.0', '7.3.0', '6.4.0', '4.9.4']
         links = []
         for version in versions:
             url = '%s/%s/%s/' % (base, arch, version)
--
Quoted 2 lines

2.17.1

This seems to break that n900 build:

Quoted 1 line

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/336316

*headdesk* the test hard-codes the toolchain version to add to PATH.

Signature · 1 line
Tom
#3 lore raw

Hi Tom,

Quoted 33 lines · Tom Rini
Quoted 31 lines · Simon Glass

Hi Tom,

Quoted 23 lines · Tom Rini

While CI has been using gcc-11.1.0 for a long time, we have not updated buildman to match. Correct this omission.

---
 tools/buildman/toolchain.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/buildman/toolchain.py +1 -2
index fd137f7300e7..4e2471f3e370 100644
@@ -498,7 +498,7 @@ class Toolchains:
         if arch == 'aarch64':
             arch = 'arm64'
         base = 'https://www.kernel.org/pub/tools/crosstool/files/bin'
-        versions = ['9.2.0', '7.3.0', '6.4.0', '4.9.4']
+        versions = ['11.1.0', '9.2.0', '7.3.0', '6.4.0', '4.9.4']
         links = []
         for version in versions:
             url = '%s/%s/%s/' % (base, arch, version)
--
Quoted 2 lines

2.17.1

This seems to break that n900 build:

Quoted 3 lines
Quoted 1 line

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/336316

*headdesk* the test hard-codes the toolchain version to add to PATH.

It might be a good oppty to put some of its downloads into the docker image?

Regards,
Simon

author
#4 lore raw
Quoted 36 lines · Simon Glass

Hi Tom,

Quoted 33 lines · Tom Rini
Quoted 31 lines · Simon Glass

Hi Tom,

Quoted 23 lines · Tom Rini

While CI has been using gcc-11.1.0 for a long time, we have not updated buildman to match. Correct this omission.

---
 tools/buildman/toolchain.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/buildman/toolchain.py +1 -2
index fd137f7300e7..4e2471f3e370 100644
@@ -498,7 +498,7 @@ class Toolchains:
         if arch == 'aarch64':
             arch = 'arm64'
         base = 'https://www.kernel.org/pub/tools/crosstool/files/bin'
-        versions = ['9.2.0', '7.3.0', '6.4.0', '4.9.4']
+        versions = ['11.1.0', '9.2.0', '7.3.0', '6.4.0', '4.9.4']
         links = []
         for version in versions:
             url = '%s/%s/%s/' % (base, arch, version)
--
Quoted 2 lines

2.17.1

This seems to break that n900 build:

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/336316

*headdesk* the test hard-codes the toolchain version to add to PATH.

It might be a good oppty to put some of its downloads into the docker image?

Well, it's the CI files that had been hard-coding the path (I was a bit quick before), and should instead be using the one that's already in the image, yes. So let me fire off something to fix that, and it just needs to be in your tree before the other patch, to preserve bisectability.

Signature · 1 line
Tom
#5 lore raw
Quoted 17 lines · Simon Glass

Hi Tom,

Quoted 14 lines · Tom Rini
Quoted 12 lines · Simon Glass

Hi Tom,

Quoted 9 lines · Tom Rini

While CI has been using gcc-11.1.0 for a long time, we have not updated buildman to match. Correct this omission.

---
 tools/buildman/toolchain.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-dm, thanks!