Skip to content

Conversation

@simbit18
Copy link
Contributor

@simbit18 simbit18 commented Sep 20, 2024

Summary

The simple improvement is designed to speed up compilation and reduce download errors on github and local.

.github\workflows\build.yml:
Added -S option. Enable storaged to the nxtmpdir folder for third-party packages.

For now I added in the folder this package

ESP_HAL_3RDPARTY_URL = https://github.com/espressif/esp-hal-3rdparty.git

ARCH
arch/xtensa/src/esp32/Make.defs
arch/xtensa/src/esp32s2/Make.defs
arch/xtensa/src/esp32s3/Make.defs
arch/risc-v/src/common/espressif/Make.defs
arch/risc-v/src/esp32c3-legacy/Make.defs

but other packages can also be added.

Impact

None
The simple improvement is designed to speed up compilation and reduce download errors on github and local.

Testing

CI GITHUB
see apache/nuttx#13301

The simple improvement is designed to speed up compilation and reduce download errors on github and local.

.github\workflows\build.yml:
Added -S option. Enable storaged to the nxtmpdir folder for third-party packages.

For now I added in the folder this package

ESP_HAL_3RDPARTY_URL = https://github.com/espressif/esp-hal-3rdparty.git

ARCH
arch/xtensa/src/esp32/Make.defs
arch/xtensa/src/esp32s2/Make.defs
arch/xtensa/src/esp32s3/Make.defs
arch/risc-v/src/common/espressif/Make.defs
arch/risc-v/src/esp32c3-legacy/Make.defs

but you can also add other packages.
@simbit18
Copy link
Contributor Author

simbit18 commented Sep 20, 2024

Configuration/Tool: stm32f4discovery/nsh,CONFIG_ARM_TOOLCHAIN_GNU_EABI
2024-09-20 09:35:04
------------------------------------------------------------------------------------
  Cleaning...
  Configuring...
make: *** [olddefconfig] Error 1
  Enabling CONFIG_ARM_TOOLCHAIN_GNU_EABI
make: *** [olddefconfig] Error 1
  Building NuttX...
make[1]: *** No rule to make target `context'.
make: *** [libs/libm/.context] Error 2
make: Target `all' not remade because of errors.
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/tools/testbuild.sh: line 385: /Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory
  Normalize stm32f4discovery/nsh
make: *** [olddefconfig] Error 1
make: *** [savedefconfig] Error 1
make: *** [olddefconfig] Error 1

@xiaoxiang781216 It does not depend on this PR.
I have seen this error repeated in other PR seems to depend on kconfig-frontends
maybe some Kconfig files that macOS doesn't like

https://github.com/apache/nuttx-apps/actions/runs/10953303955/job/30422859047?pr=2587
https://github.com/apache/nuttx-apps/actions/runs/10956857978/job/30423848836?pr=2575

I aligned the workflow with the nuttx repo let's see if the error still comes out. PR #2591

@cederom
Copy link
Contributor

cederom commented Sep 21, 2024

https://github.com/apache/nuttx-apps/pull/2591/files also fails at macOS :-(

Does this come from runners limit or problem with macOS runner?

As -S flag is used in the other PR shall we close this one or just testing?

@simbit18
Copy link
Contributor Author

As -S flag is used in the other PR shall we close this one or just testing?

@cederom yes it is right I close PR

@simbit18 simbit18 closed this Sep 23, 2024
@simbit18 simbit18 deleted the simbit18-storage branch September 23, 2024 12:20
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.

2 participants