Skip to content

Conversation

@simbit18
Copy link
Contributor

Summary

added option -N Use CMake with Ninja as the backend.

depends on this PR apache/nuttx#12721

Impact

There should be no impact.

Testing

CI

@acassis
Copy link
Contributor

acassis commented Jul 17, 2024

The CI is failing with a strange error:

+ /github/workspace/sources/nuttx/tools/testbuild.sh -A -N -R -j 4 -e '-Wno-cpp -Werror' testlist/arm-03.dat
ERROR: Garbage at the end of line

USAGE: /github/workspace/sources/nuttx/tools/testbuild.sh [-l|m|c|g|n] [-d] [-e <extraflags>] [-x] [-j <ncpus>] [-a <appsdir>] [-t <topdir>] [-p] [-G] [--codechecker] <testlist-file>
       /github/workspace/sources/nuttx/tools/testbuild.sh -h

Where:
  -l|m|c|g|n selects Linux (l), macOS (m), Cygwin (c),
     MSYS/MSYS2 (g) or Windows native (n). Default Linux
  -d enables script debug output
  -e pass extra c/c++ flags such as -Wno-cpp via make command line
  -x exit on build failures
  -j <ncpus> passed on to make.  Default:  No -j make option.
  -a <appsdir> provides the relative path to the apps/ directory.  Default ../apps
  -t <topdir> provides the absolute path to top nuttx/ directory.  Default ../nuttx
  -p only print the list of configs without running any builds
  -A store the build executable artifact in ARTIFACTDIR (defaults to ../buildartifacts
  -C Skip tree cleanness check.
  -G Use "git clean -xfdq" instead of "make distclean" to clean the tree.
     This option may speed up the builds. However, note that:
       * This assumes that your trees are git based.
       * This assumes that only nuttx and apps repos need to be cleaned.
       * If the tree has files not managed by git, they will be removed
         as well.
  -R execute "run" script in the config directories if exists.
  -h will show this help test and terminate
  --codechecker enables CodeChecker statically analyze the code.
  <testlist-file> selects the list of configurations to test.  No default

Your PATH variable must include the path to both the build tools and the
kconfig-frontends tools

added option -N Use CMake with Ninja as the backend.

depends on this PR apache/nuttx#12721
@simbit18
Copy link
Contributor Author

Hi @acassis the error is because the PR apache/nuttx#12721 was not merged
I will rebase to see if this can fix the CI error.

@xiaoxiang781216 xiaoxiang781216 merged commit c9ce47b into apache:master Jul 18, 2024
@simbit18 simbit18 deleted the simbit-testbuild branch July 19, 2024 11:09
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.

4 participants