Skip to contentSkip to conversation

Update hexagon cross container to 22.1.0

PATCH In review Brian Cain 1 participant 3 messages Mar 4

lore
Share & tools
lore

Brian Cain

author
#0 lore raw

cover Update hexagon cross container to 22.1.0

Update hexagon cross container to 22.1.0

*** Note *** that this patch should not land without "tests/tcg/multiarch/linux-test: use portable alternative for dirent64", a newer musl present in this toolchain exposes this test issue.

Changes in v3:
* rebased, dropped debian changes (already landed on baseline)

Changes in v3:
* change debian from 12->13

Changes in v2:
* none -> v2 was unintentionally chosen for the first rev of this patch. :(

v3: https://lore.kernel.org/qemu-devel/[email protected]/
v2: https://lore.kernel.org/qemu-devel/[email protected]/
v1: <none>

Brian Cain (1):
tests/docker: Update hexagon cross toolchain to 22.1.0

 tests/docker/dockerfiles/debian-hexagon-cross.docker | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH 1/1 tests/docker: Update hexagon cross toolchain to 22.1.0

Update the hexagon cross-compiler Docker container to use toolchain version 22.1.0, replacing the previous 12.Dec.2023 release.

Changes to accommodate the new toolchain:

- Add libc++1, libc++abi1, libunwind-19 runtime deps for the new LLVM-based toolchain
- Add zstd for the new .tar.zst archive format
- Update artifact URL domain to artifacts.codelinaro.org

---
 tests/docker/dockerfiles/debian-hexagon-cross.docker | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
tests/docker/dockerfiles/debian-hexagon-cross.docker +7 -3
index 91d4b71ac9..636d0ca8a0 100644
@@ -19,7 +19,11 @@ RUN apt-get update && \
         curl \
         ccache \
         xz-utils \
+        zstd \
         ca-certificates \
+        libc++1 \
+        libc++abi1 \
+        libunwind-19 \
         bison \
         flex \
         git \
@@ -40,12 +44,12 @@ RUN apt-get update && \
     dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt
 
 ENV TOOLCHAIN_INSTALL /opt
-ENV TOOLCHAIN_RELEASE 12.Dec.2023
+ENV TOOLCHAIN_RELEASE 22.1.0
 ENV TOOLCHAIN_BASENAME "clang+llvm-${TOOLCHAIN_RELEASE}-cross-hexagon-unknown-linux-musl"
-ENV TOOLCHAIN_URL https://codelinaro.jfrog.io/artifactory/codelinaro-toolchain-for-hexagon/${TOOLCHAIN_RELEASE}/${TOOLCHAIN_BASENAME}.tar.xz
+ENV TOOLCHAIN_URL https://artifacts.codelinaro.org/artifactory/codelinaro-toolchain-for-hexagon/${TOOLCHAIN_RELEASE}_/${TOOLCHAIN_BASENAME}.tar.zst
 ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
 
-RUN curl -#SL "$TOOLCHAIN_URL" | tar -xJC "$TOOLCHAIN_INSTALL"
+RUN curl -#SL "$TOOLCHAIN_URL" | tar --zstd -xC "$TOOLCHAIN_INSTALL"
 ENV PATH $PATH:${TOOLCHAIN_INSTALL}/${TOOLCHAIN_BASENAME}/x86_64-linux-gnu/bin
 ENV MAKE /usr/bin/make
 # As a final step configure the user (if env is defined)
Signature · 1 line
2.34.1
author
#2 lore raw
In reply to Brian Cain
Quoted 9 lines · Brian Cain

Update hexagon cross container to 22.1.0

*** Note *** that this patch should not land without "tests/tcg/multiarch/linux-test: use portable alternative for dirent64", a newer musl present in this toolchain exposes this test issue.

Changes in v3:
* rebased, dropped debian changes (already landed on baseline)

Tsk - a bit careless here. Should have said "Changes in v4" and the series should have been labeled "PATCH v4".

Sorry!

Quoted 29 lines

Changes in v3:
* change debian from 12->13

Changes in v2:
* none -> v2 was unintentionally chosen for the first rev of this patch. :(

v3:
https://lore.kernel.org/qemu-devel/[email protected]/
v2
<https://lore.kernel.org/qemu-devel/[email protected]/v2>:

https://lore.kernel.org/qemu-devel/[email protected]/
v1
<https://lore.kernel.org/qemu-devel/[email protected]/v1>:
<none>

Brian Cain (1):
tests/docker: Update hexagon cross toolchain to 22.1.0

 tests/docker/dockerfiles/debian-hexagon-cross.docker | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

--
2.34.1