You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/09/28 06:08:20 UTC

[incubator-nuttx] branch master updated: tools/ci: add pyelftools and cxxfilt

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

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new d9065f29aa tools/ci: add pyelftools and cxxfilt
d9065f29aa is described below

commit d9065f29aac64632d3089535293e35ebbd8a727e
Author: yinshengkai <yi...@xiaomi.com>
AuthorDate: Tue Sep 27 16:46:41 2022 +0800

    tools/ci: add pyelftools and cxxfilt
---
 tools/ci/cibuild.sh              | 2 ++
 tools/ci/docker/linux/Dockerfile | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/tools/ci/cibuild.sh b/tools/ci/cibuild.sh
index 68001c65ba..73b1865890 100755
--- a/tools/ci/cibuild.sh
+++ b/tools/ci/cibuild.sh
@@ -68,6 +68,8 @@ function python-tools {
   pip3 install pytest-json==0.4.0
   pip3 install pytest-ordering==0.6
   pip3 install pyserial==3.5
+  pip3 install pyelftools
+  pip3 install cxxfilt
 
   # MCUboot's tool for image signing and key management
   if ! command -v imgtool &> /dev/null; then
diff --git a/tools/ci/docker/linux/Dockerfile b/tools/ci/docker/linux/Dockerfile
index 66850cb4f4..c74de6c7a3 100644
--- a/tools/ci/docker/linux/Dockerfile
+++ b/tools/ci/docker/linux/Dockerfile
@@ -271,6 +271,8 @@ RUN pip3 install pytest-repeat==0.9.1
 RUN pip3 install pytest-json==0.4.0
 RUN pip3 install pytest-ordering==0.6
 RUN pip3 install pyserial==3.5
+# Used to generate symbol table files
+RUN pip3 install pyelftools cxxfilt
 
 RUN mkdir /tools
 WORKDIR /tools