nuttx-apps icon indicating copy to clipboard operation
nuttx-apps copied to clipboard

[BUG] MSYS2/CMAKE/NINJA: Argument list too long Build Broken.

Open cederom opened this issue 1 year ago • 1 comments

Description / Steps to reproduce the issue

  • As found in https://github.com/apache/nuttx-apps/pull/2671 the msys2 / cmake / ninja build is broken due to 8192 chars limit on command line length.
  • Quick fix for the msys2 CI to use Makefile generator in place of Ninja is proposed here https://github.com/apache/nuttx-apps/pull/2671.

A solution is required to fix builds on MSYS2 + CMAKE + NINJA.

On which OS does this issue occur?

[OS: Windows]

What is the version of your OS?

MSYS2

NuttX Version

master

Issue Architecture

[Arch: all]

Issue Area

[Area: Build System]

Verification

  • [X] I have verified before submitting the report.

cederom avatar Oct 10 '24 02:10 cederom

https://github.com/apache/nuttx/pull/14014 I have some findings in this PR comments. How about we disable Ninja on Msys until we fix this problem? CC @simbit18

xuxin930 avatar Oct 11 '24 14:10 xuxin930