Skip to contentSkip to conversation

buildman: Enable buildman on aarch64 hosts

PATCH New matthias.bgg at kernel.org 4 participants 4 messages Jan 17, 2020 – Feb 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 buildman: Enable buildman on aarch64 hosts

From: Matthias Brugger <[email protected]>

At kernel.org aarch64 toolchains are published in folder arm64. Fix the URL for that case, so that we can fetch toolchains on aarch64 machines.

---

 tools/buildman/toolchain.py | 2 ++
 1 file changed, 2 insertions(+)
tools/buildman/toolchain.py +2 -0
index 4f39bfd0ce..89c54d688a 100644
@@ -487,6 +487,8 @@ class Toolchains:
                 URL containing this toolchain, if avaialble, else None
         """
         arch = command.OutputOneLine('uname', '-m')
+        if arch == 'aarch64':
+            arch = 'arm64'
         base = 'https://www.kernel.org/pub/tools/crosstool/files/bin'
         versions = ['7.3.0', '6.4.0', '4.9.4']
         links = []
Signature · 1 line
2.24.0
#1 lore raw

PATCH 1/1 buildman: Enable buildman on aarch64 hosts

Quoted 8 lines · matthias.bgg at kernel.org

From: Matthias Brugger <[email protected]>

At kernel.org aarch64 toolchains are published in folder arm64. Fix the URL for that case, so that we can fetch toolchains on aarch64 machines.

Friendly ping. :)

Quoted 19 lines

---

 tools/buildman/toolchain.py | 2 ++
 1 file changed, 2 insertions(+)
tools/buildman/toolchain.py +2 -0
index 4f39bfd0ce..89c54d688a 100644
@@ -487,6 +487,8 @@ class Toolchains:
                 URL containing this toolchain, if avaialble, else None
         """
         arch = command.OutputOneLine('uname', '-m')
+        if arch == 'aarch64':
+            arch = 'arm64'
         base = 'https://www.kernel.org/pub/tools/crosstool/files/bin'
         versions = ['7.3.0', '6.4.0', '4.9.4']
         links = []
#2 lore raw

PATCH 1/1 buildman: Enable buildman on aarch64 hosts

In reply to matthias.bgg at kernel.org
Quoted 7 lines · On Fri, 17 Jan 2020 at 02:53, <[email protected]> wrote:

From: Matthias Brugger <[email protected]>

At kernel.org aarch64 toolchains are published in folder arm64. Fix the URL for that case, so that we can fetch toolchains on aarch64 machines.

Quoted 6 lines

---

 tools/buildman/toolchain.py | 2 ++
 1 file changed, 2 insertions(+)
#3 lore raw

PATCH 1/1 buildman: Enable buildman on aarch64 hosts

Quoted 7 lines · On Fri, 17 Jan 2020 at 02:53, <[email protected]> wrote:

From: Matthias Brugger <[email protected]>

At kernel.org aarch64 toolchains are published in folder arm64. Fix the URL for that case, so that we can fetch toolchains on aarch64 machines.

Quoted 6 lines

---

 tools/buildman/toolchain.py | 2 ++
 1 file changed, 2 insertions(+)

Applied to u-boot-dm, thanks!