osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/docker-playground/+/29739 )
Change subject: debian-buster-jenkins: add LLVMEmbeddedToolchainForArm
......................................................................
debian-buster-jenkins: add LLVMEmbeddedToolchainForArm
This is needed for simtrace2. As the bootloader goes beyond partition
size in modern gcc, we'll use clang instead.
Related: OS#5260
Related: simtrace2 I2aa2e20e75e334560dbe1f6db9fd1491873ff91f
Change-Id: I4f3fd7f7a40e5fa00bbfc713c1365f573febfe41
---
M debian-buster-jenkins/Dockerfile
1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/39/29739/1
diff --git a/debian-buster-jenkins/Dockerfile b/debian-buster-jenkins/Dockerfile
index 269aa83..1439065 100644
--- a/debian-buster-jenkins/Dockerfile
+++ b/debian-buster-jenkins/Dockerfile
@@ -12,6 +12,9 @@
#
https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-fr…
ARG DEBIAN_VERSION
+# LLVM-embedded-toolchain-for-Arm version
+ARG LLVM_VERSION="14.0.0"
+
# Install apt dependencies (keep in alphabetic order)
RUN \
[ "$(arch)" = "x86_64" ] && dpkg --add-architecture i386; \
@@ -83,6 +86,7 @@
libsqlite3-dev \
libssl-dev \
libtalloc-dev \
+ libtinfo5 \
libtool \
libusb-1.0-0-dev \
libusb-dev \
@@ -123,6 +127,14 @@
wget \
xsltproc
+RUN set -x && \
+ wget -q
https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/releases/do…
&& \
+ tar -xf LLVMEmbeddedToolchainForArm-${LLVM_VERSION}-linux.tar.gz && \
+ rm LLVMEmbeddedToolchainForArm-${LLVM_VERSION}-linux.tar.gz && \
+ mv LLVMEmbeddedToolchainForArm-${LLVM_VERSION} /opt/llvm-arm && \
+ /opt/llvm-arm/bin/clang --version && \
+ /opt/llvm-arm/bin/clang --print-targets
+
# Install pip dependencies (keep in alphabetic order)
RUN pip3 install \
git+https://github.com/podshumok/python-smpplib.git \
--
To view, visit
https://gerrit.osmocom.org/c/docker-playground/+/29739
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I4f3fd7f7a40e5fa00bbfc713c1365f573febfe41
Gerrit-Change-Number: 29739
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange