Skip to content

make: COMPILE_COMMANDS_PATH adapt for external apps#19869

Merged
bors[bot] merged 1 commit intoRIOT-OS:masterfrom
kfessel:p-more-adative-compile_commands
Aug 9, 2023
Merged

make: COMPILE_COMMANDS_PATH adapt for external apps#19869
bors[bot] merged 1 commit intoRIOT-OS:masterfrom
kfessel:p-more-adative-compile_commands

Conversation

@kfessel
Copy link
Copy Markdown
Contributor

@kfessel kfessel commented Aug 9, 2023

Contribution description

COMPILE_COMMANDS_PATH currently defaults to RIOTBASE which may not be an parent path for external applications -> set to APPDIR in case

Testing procedure

  • current good will stay good
    test with riot examples and or testes $make compile-commands should create a compile_command.json in <RIOT>

  • test with external app Makefile including
    include $(RIOTBASE)/Makefile.include
    should create compile_command.json in APPDIR

Issues/PRs references

@github-actions github-actions bot added the Area: build system Area: Build system label Aug 9, 2023
@benpicco benpicco requested a review from maribu August 9, 2023 13:22
@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Aug 9, 2023
@riot-ci
Copy link
Copy Markdown

riot-ci commented Aug 9, 2023

Murdock results

✔️ PASSED

d4d9be5 make: COMPILE_COMMANDS_PATH adapt for external apps

Success Failures Total Runtime
7907 0 7907 12m:37s

Artifacts

@benpicco
Copy link
Copy Markdown
Contributor

benpicco commented Aug 9, 2023

bors merge

@bors
Copy link
Copy Markdown
Contributor

bors bot commented Aug 9, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 91441db into RIOT-OS:master Aug 9, 2023
@MrKevinWeiss MrKevinWeiss added this to the Release 2023.10 milestone Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants