Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiledb: query include paths from gcc directly. #14462

Merged
merged 4 commits into from
Sep 20, 2021

Conversation

tzarc
Copy link
Member

@tzarc tzarc commented Sep 16, 2021

Description

Modifies the logic of the compiledb generator to actually request from gcc the list of include directories it's going to use.
The original logic was injecting mingw32 directories for me -- this correctly handles the generation based on the toolchain in question.

Tested on both AVR and ARM.

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@tzarc tzarc requested review from skullydazed and a team September 16, 2021 05:34
@github-actions github-actions bot added cli qmk cli command python labels Sep 16, 2021
@tzarc tzarc merged commit 28b8b57 into qmk:develop Sep 20, 2021
@tzarc tzarc deleted the compiledb-search-paths branch September 20, 2021 04:16
cadusk pushed a commit to cadusk/qmk_firmware that referenced this pull request Sep 20, 2021
* qmk/develop:
  Remove backlight pin references in rules.mk (qmk#14513)
  compiledb: query include paths from gcc directly. (qmk#14462)
  [Keymap] blipson corne keymap (qmk#14469)
  Doc Fixes & Custom Matrix Fix (qmk#14526)
  [Keyboard] Add LeFishe Keyboard (qmk#14498)
  [Keymap] Added my own keymap for MIT Planck (qmk#14481)
  [Docs] fix wrong directory for RGB Matrix animations (qmk#14494)
  cKeys theDora Refactor (qmk#14495)
  [Keymap] Adding my Mun keymap. (qmk#14501)
  [Keymap] Updates to existing keymaps and userspace (qmk#14503)
  [Keyboard] Enabled Mousekeys by default on Boston (qmk#14507)
  [Keyboard] Change printf to dprintf (qmk#14510)
  [Keyboard] Enables I2C for OLKB rev*_drop boards (qmk#14514)
  [Keyboard] Quick fixes for the Mun to unblock customers (qmk#14505)
  [Keyboard] Fix Compiler issues for quick17 (qmk#14500)
  [Keyboard] Use old custom matrix for Drop Planck+Preonic (qmk#14488)
ptrxyz pushed a commit to ptrxyz/qmk_firmware that referenced this pull request Apr 9, 2022
* Query include paths from gcc directly.

* Change to -isystem

* qmk format-python

* tests
BorisTestov pushed a commit to BorisTestov/qmk_firmware that referenced this pull request May 23, 2024
* Query include paths from gcc directly.

* Change to -isystem

* qmk format-python

* tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli qmk cli command python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants