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

Add an alternative method for keyboard discovery to speed up build #6073

Merged
merged 5 commits into from
Aug 15, 2019

Conversation

zvecr
Copy link
Member

@zvecr zvecr commented Jun 5, 2019

Description

Discussed within #6065.

The main take-away is that windows vagrant and macos docker can have poor filesystem performance. This PR attempts to work around that issue by providing a method of keyboard discovery that seems to be faster, up to a factor of 3x.

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.
  • 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).

@zvecr zvecr marked this pull request as ready for review June 5, 2019 00:58
@zvecr zvecr force-pushed the feature/get_keyboard_speed branch from f7dbb33 to fd8280a Compare June 25, 2019 17:58
@zvecr zvecr force-pushed the feature/get_keyboard_speed branch from fd8280a to a1793c7 Compare July 25, 2019 20:56
@drashna drashna requested review from a team and removed request for fredizzimo July 30, 2019 07:51
Copy link
Contributor

@yanfali yanfali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. If this works for the general case, maybe we just replace the old way.

@zvecr
Copy link
Member Author

zvecr commented Jul 31, 2019

I figured it would help get the PR in sooner, as I would have to test it on the platforms for portability.

Would people agree to a 2nd pass for updating the default behaviour, and then much testing?

@drashna
Copy link
Member

drashna commented Aug 8, 2019

Was this okay, as is?

@zvecr
Copy link
Member Author

zvecr commented Aug 8, 2019

@drashna Should be fine as is. We can get some confidence with the alt method, and maybe open up another PR to change the default at a later date.

@drashna
Copy link
Member

drashna commented Aug 10, 2019

Well, unless there is an objection, I think i"m going to merge this, then.

@zvecr zvecr merged commit 9813a6f into qmk:master Aug 15, 2019
Shinichi-Ohki added a commit to Shinichi-Ohki/qmk_firmware that referenced this pull request Aug 18, 2019
* 'master' of https://github.com/qmk/qmk_firmware: (53 commits)
  Add ATmega32U2 to mcu_selection.mk (qmk#6561)
  Reword a note about the MANUFACTURER and PRODUCT defines in hardware_avr.md (qmk#6558)
  Userspace kuchosauronad0 (qmk#6541)
  Illustrate the emoji layer (qmk#6555)
  Remove backslashes from template keymap (qmk#6548)
  [Keymap] add niu_mini custom keymaps (qmk#6552)
  [Keymap] add "ridingqwerty" user and keymap for atreus keyboard (qmk#6533)
  Add support for different encoder pinout for right half of split keyboard (qmk#6521)
  Fix Clueboard hotswap gen1 not compiling when LED Matrix is disabled (qmk#6427)
  Add an alternative method for keyboard discovery to speed up build (qmk#6073)
  Refactor of lets_split_eh to enable RGB split animations (qmk#6411)
  Remove duplicate test keyboards (qmk#6539)
  [Keymap] Fix include following Wilba refactor (qmk#6538)
  [Keymap] Cosmetic fix for default Wasdat keymaps (qmk#6531)
  [Keymap] Xd75 bulbizarre keymap (qmk#6525)
  [Keymap] Update gherkin to use gpio (qmk#6520)
  [Keyboard] Align xd84 and xd96 with moon (qmk#6465)
  Enable PWM Support for Planck EZ Indicator Lights  (qmk#6473)
  [Keyboard] Add: Initial steamvan firmware code (qmk#6501)
  [Keymap] Adding my userspace and keymaps (qmk#6496)
  ...
drashna pushed a commit to zsa/qmk_firmware that referenced this pull request Aug 27, 2019
…mk#6073)

* Add an alternative method for keyboard discovery to speed up build

* Chain MAKEFLAGS for docker_build.sh

* Slight improvement to number of items sent to sort

* Remove debug line

* Fix line escape
fdidron pushed a commit to zsa/qmk_firmware that referenced this pull request Aug 28, 2019
…mk#6073)

* Add an alternative method for keyboard discovery to speed up build

* Chain MAKEFLAGS for docker_build.sh

* Slight improvement to number of items sent to sort

* Remove debug line

* Fix line escape
doughsay pushed a commit to doughsay/qmk_firmware that referenced this pull request Aug 31, 2019
…mk#6073)

* Add an alternative method for keyboard discovery to speed up build

* Chain MAKEFLAGS for docker_build.sh

* Slight improvement to number of items sent to sort

* Remove debug line

* Fix line escape
swanmatch pushed a commit to swanmatch/qmk_firmware that referenced this pull request Sep 3, 2019
…mk#6073)

* Add an alternative method for keyboard discovery to speed up build

* Chain MAKEFLAGS for docker_build.sh

* Slight improvement to number of items sent to sort

* Remove debug line

* Fix line escape
fdidron pushed a commit to zsa/qmk_firmware that referenced this pull request Sep 5, 2019
…mk#6073)

* Add an alternative method for keyboard discovery to speed up build

* Chain MAKEFLAGS for docker_build.sh

* Slight improvement to number of items sent to sort

* Remove debug line

* Fix line escape
ripxorip pushed a commit to ripxorip/qmk_firmware that referenced this pull request Dec 3, 2019
…mk#6073)

* Add an alternative method for keyboard discovery to speed up build

* Chain MAKEFLAGS for docker_build.sh

* Slight improvement to number of items sent to sort

* Remove debug line

* Fix line escape
ridingqwerty pushed a commit to ridingqwerty/qmk_firmware that referenced this pull request Jan 10, 2020
…mk#6073)

* Add an alternative method for keyboard discovery to speed up build

* Chain MAKEFLAGS for docker_build.sh

* Slight improvement to number of items sent to sort

* Remove debug line

* Fix line escape
@zvecr zvecr deleted the feature/get_keyboard_speed branch April 28, 2020 00:35
BorisTestov pushed a commit to BorisTestov/qmk_firmware that referenced this pull request May 23, 2024
…mk#6073)

* Add an alternative method for keyboard discovery to speed up build

* Chain MAKEFLAGS for docker_build.sh

* Slight improvement to number of items sent to sort

* Remove debug line

* Fix line escape
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants