Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ASR] add asr docker image #26531

Merged
merged 1 commit into from
May 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions integrations/docker/images/chip-build-asr/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
ARG VERSION=latest
FROM connectedhomeip/chip-build:${VERSION}

# Setup ASR
ARG ASR_DIR=/opt/asr
RUN set -x \
&& apt-get update \
&& apt-get install -y git git-lfs \
&& mkdir ${ASR_DIR} \
&& cd ${ASR_DIR} \
&& git clone --depth=1 https://github.com/asriot/Tools.git \
&& cd Tools \
&& git lfs pull \
&& cd toolchain \
&& tar -jxvf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2 \
&& mkdir -p asr_riscv_gnu_toolchain_10.2_ubuntu-16.04 \
&& tar -jxvf asr_riscv_gnu_toolchain_10.2_ubuntu-16.04.tar.bz2 -C asr_riscv_gnu_toolchain_10.2_ubuntu-16.04/ \
&& : # last line

ENV ASR_TOOLCHAIN_PATH=${ASR_DIR}/Tools/toolchain/gcc-arm-none-eabi-9-2019-q4-major/bin/
1 change: 1 addition & 0 deletions integrations/docker/images/chip-build-asr/build.sh
1 change: 1 addition & 0 deletions integrations/docker/images/chip-build-asr/run.sh
1 change: 1 addition & 0 deletions integrations/docker/images/chip-build-asr/version
4 changes: 4 additions & 0 deletions integrations/docker/images/chip-build-vscode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ FROM connectedhomeip/chip-build-imx:${VERSION} AS imx
FROM connectedhomeip/chip-build-ti:${VERSION} AS ti
FROM connectedhomeip/chip-build-openiotsdk:${VERSION} AS openiotsdk
FROM connectedhomeip/chip-build-bouffalolab:${VERSION} AS bouffalolab
FROM connectedhomeip/chip-build-asr:${VERSION} AS asr
FROM connectedhomeip/chip-build:${VERSION}

# qemu-src copied over because qemu directory contains symlinks to the src
Expand Down Expand Up @@ -54,6 +55,8 @@ COPY --from=openiotsdk /opt/FVP_Corstone_SSE-300/ /opt/FVP_Corstone_SSE-300/

COPY --from=bouffalolab /opt/bouffalolab_sdk /opt/bouffalolab_sdk

COPY --from=asr /opt/asr /opt/asr

# Android license file "acceping" is done by writing license hashes
# into the 'licenses' subfolder. This allows any user (in particular
# 'vscode' to accept licenses)
Expand Down Expand Up @@ -116,3 +119,4 @@ ENV TIZEN_SDK_SYSROOT $TIZEN_SDK_ROOT/platforms/tizen-$TIZEN_VERSION/mobile/root

ENV FVP_CORSTONE_300_PATH=/opt/FVP_Corstone_SSE-300
ENV BOUFFALOLAB_SDK_ROOT=/opt/bouffalolab_sdk
ENV ASR_TOOLCHAIN_PATH=/opt/asr/Tools/toolchain/gcc-arm-none-eabi-9-2019-q4-major/bin/
2 changes: 1 addition & 1 deletion integrations/docker/images/chip-build/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.5 Version bump reason: [OIS] Remove GCC toolchain
0.7.6 Version bump reason: [ASR] add ASR docker image