You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by le...@apache.org on 2022/09/23 09:05:34 UTC

[tvm] 01/01: [CI] Add Zephyr-SDK binaries to PATH env. in ci_cortexm

This is an automated email from the ASF dual-hosted git repository.

leandron pushed a commit to branch ci-docker-staging
in repository https://gitbox.apache.org/repos/asf/tvm.git

commit 869a8f9591f6b4efaa308c39ad810b5043021b71
Author: Leandro Nunes <le...@arm.com>
AuthorDate: Fri Sep 23 09:12:02 2022 +0100

    [CI] Add Zephyr-SDK binaries to PATH env. in ci_cortexm
    
    In recent test rounds with updated images, it seems Zephyr-SDK
    binaries such as various QEMU related files are missing from
    $PATH, which makes Zephyr tests to fail with, e.g.
    "qemu-system-i386: command not found".
    
    This PR adds those missing binaries to $PATH.
    
    Co-Authored-By: Gustavo Romero <Gu...@linaro.org>
    Change-Id: I7edf927156182ad3a2b349ae78eeb1243127f0b2
---
 docker/Dockerfile.ci_cortexm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docker/Dockerfile.ci_cortexm b/docker/Dockerfile.ci_cortexm
index db02792efd..8e8d2c0a4f 100644
--- a/docker/Dockerfile.ci_cortexm
+++ b/docker/Dockerfile.ci_cortexm
@@ -79,6 +79,7 @@ COPY install/ubuntu_init_zephyr_project.sh /install/ubuntu_init_zephyr_project.s
 COPY install/ubuntu_install_zephyr_sdk.sh /install/ubuntu_install_zephyr_sdk.sh
 RUN bash /install/ubuntu_install_zephyr.sh
 ENV ZEPHYR_BASE=/opt/zephyrproject/zephyr
+ENV PATH /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin:$PATH
 
 # FreeRTOS deps
 COPY install/ubuntu_install_freertos.sh /install/ubuntu_install_freertos.sh