Skip to content

Conversation

@yamt
Copy link
Contributor

@yamt yamt commented Jul 18, 2024

Summary

wamr: add a few missing options to match the wamr repo counterpart

Impact

Testing

@yamt
Copy link
Contributor Author

yamt commented Jul 18, 2024

i have no idea about the CI failure.

/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
make: *** [tools/Unix.mk:689: olddefconfig] Error 1
  Disabling CONFIG_ARM_TOOLCHAIN_BUILDROOT
  Enabling CONFIG_ARM_TOOLCHAIN_CLANG
make: *** [tools/Unix.mk:689: olddefconfig] Error 1
  Building NuttX...
chip/stm32_gpio.c:41:11: note: '#pragma message: CONFIG_STM32_USE_LEGACY_PINMAP will be deprecated migrate board.h see tools/stm32_pinmap_tool.py'
   41 | #  pragma message "CONFIG_STM32_USE_LEGACY_PINMAP will be deprecated migrate board.h see tools/stm32_pinmap_tool.py"
      |           ^~~~~~~
  Normalize stm32f334-disco/nsh
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
make: *** [tools/Unix.mk:689: olddefconfig] Error 1
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
make: *** [tools/Unix.mk:712: savedefconfig] Error 1
make: *** [tools/Unix.mk:689: olddefconfig] Error 1

@acassis
Copy link
Contributor

acassis commented Jul 18, 2024

i have no idea about the CI failure.

/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
make: *** [tools/Unix.mk:689: olddefconfig] Error 1
  Disabling CONFIG_ARM_TOOLCHAIN_BUILDROOT
  Enabling CONFIG_ARM_TOOLCHAIN_CLANG
make: *** [tools/Unix.mk:689: olddefconfig] Error 1
  Building NuttX...
chip/stm32_gpio.c:41:11: note: '#pragma message: CONFIG_STM32_USE_LEGACY_PINMAP will be deprecated migrate board.h see tools/stm32_pinmap_tool.py'
   41 | #  pragma message "CONFIG_STM32_USE_LEGACY_PINMAP will be deprecated migrate board.h see tools/stm32_pinmap_tool.py"
      |           ^~~~~~~
  Normalize stm32f334-disco/nsh
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
make: *** [tools/Unix.mk:689: olddefconfig] Error 1
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
/usr/bin/bash: line 1: arm-nuttx-eabi-gcc: command not found
make: *** [tools/Unix.mk:712: savedefconfig] Error 1
make: *** [tools/Unix.mk:689: olddefconfig] Error 1

Just rebase to fix the issue! @simbit18 modified the config script.

Copy link
Contributor

@cederom cederom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change adds two new configuration parameters. CI build seems unrelated.

@simbit18
Copy link
Contributor

simbit18 commented Jul 18, 2024

is related to this

Configuration/Tool: stm32f334-disco/nsh,CONFIG_ARM_TOOLCHAIN_CLANG
2024-07-18 11:48:27

https://github.com/apache/nuttx-apps/actions/runs/9990672271/job/27611925490?pr=2448#step:7:814
Untracked files:
(use "git add ..." to include in what will be committed)
defconfig.tmp

UPDATE

My PR apache/nuttx#12721 basically enables/disables with -N the build with Cmake-Ninja.
of the CMake,<board name>:<board configuration> present in the tools/ci/testlist/ .dat files.

Currently this PR #2446 has not been merged

so everything is built with make

These configurations of the stm32f334-disk board
were previously built with cmake

https://github.com/apache/nuttx/blob/master/tools/ci/testlist/arm-10.dat
CMake,stm32f334-disco:buckboost
CMake,stm32f334-disco:nsh
CMake,stm32f334-disco:powerled

So if my PR #2446 is merged surely the job Linux (arm-10) does not generate error.

However, it remains to be understood what generates error this configuration stm32f334-disco:nsh built with make.

@acassis
Copy link
Contributor

acassis commented Jul 18, 2024

This change adds two new configuration parameters. CI build seems unrelated.

Please see simbit18 message for more details :-)

@xiaoxiang781216
Copy link
Contributor

let's merge this minor change to avoid wasting ci resource.

@xiaoxiang781216 xiaoxiang781216 merged commit 2ef3eb2 into apache:master Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants