Skip to content

Commit 771e933

Browse files
committed
Docker env for Arm® Ethos™-U55 Port
* Removes /opt/arm/cmake/bin from the path * Parameterizes Arm® Ethos™-U55 driver stack version number Change-Id: I2162b40f82241fd013643cbfa8847b60d7f4f5a1
1 parent 6c1f4b0 commit 771e933

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docker/Dockerfile.ci_cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@ COPY install/ubuntu_install_vela.sh /install/ubuntu_install_vela.sh
118118
RUN bash /install/ubuntu_install_vela.sh
119119

120120
# Update PATH
121-
ENV PATH /opt/arm/bin:/opt/arm/cmake/bin:/opt/arm/gcc-arm-none-eabi/bin:$PATH
121+
ENV PATH /opt/arm/bin:/opt/arm/gcc-arm-none-eabi/bin:$PATH

docker/install/ubuntu_install_ethosu_driver_stack.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ set -o pipefail
2323
fvp_dir="/opt/arm/FVP_Corstone_SSE-300_Ethos-U55"
2424
cmake_dir="/opt/arm/cmake"
2525
ethosu_dir="/opt/arm/ethosu"
26+
ethosu_driver_ver="21.05"
2627

2728
mkdir -p /opt/arm
2829

@@ -79,15 +80,15 @@ mkdir "${ethosu_dir}"
7980
cd "${ethosu_dir}"
8081
git clone "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-driver" core_driver
8182
cd core_driver
82-
git checkout tags/21.05
83+
git checkout tags/${ethosu_driver_ver}
8384

8485
cd "${ethosu_dir}"
8586
git clone "https://review.mlplatform.org/ml/ethos-u/ethos-u-core-platform" core_platform
8687
cd core_platform
87-
git checkout tags/21.05
88+
git checkout tags/${ethosu_driver_ver}
8889

8990
# Clone CMSIS
9091
cd "${ethosu_dir}"
9192
git clone "https://github.com/ARM-software/CMSIS_5.git" cmsis
9293
cd cmsis
93-
git checkout -f tags/5.7.0
94+
git checkout -f tags/5.7.0

0 commit comments

Comments
 (0)