-
-
Notifications
You must be signed in to change notification settings - Fork 39.5k
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
Slow compilation speed on windows MSYS #13662
Comments
This is pretty normal, if you want faster compilation try QMK WSL. It's a little more complex to setup but works well. |
Expected and partially being tracked in qmk/qmk_distro_msys#23 |
Is WSL faster? And can you flash with WSL2 now or do I have to use QMK toolbox? |
WSL is much faster (it's essentially a Linux VM), as long as you keep the qmk_firmware repo inside the WSL filesystem: microsoft/WSL#4197 |
You can also use Docker to compile, and flash with teensy_loader_cli.exe (depending on your keyboard). I have example with that. It also includes a vscode .devcontainer environment, so if you use VSCode you can also use C++ environment with all the goodies. https://github.com/Ciantic/CianticQmkKeymap |
Decided to setup QMK in WSL and yeah it is basically as fast as my linux boot. Only annoyance is having to flash with toolbox. I got VIA working though I can use that to fiddle around. |
You should be able to flash most things using the QMK WSL distro I linked earlier. |
Also, make sure that you're using WSL version 2, if your system supports it. v1 is okay, as it is faster than MSYS. However, version 2 is a LOT faster. |
Since while ago, savvy users have started using command like this. @xsrvmy |
That's ... effectively what QMK WSL is doing. 😆 |
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity occurs. |
This issue has been automatically closed because it has not had activity in the last 30 days. If this issue is still valid, re-open the issue and let us know. |
I have recently switch back to using windows again and have downloaded the MSYS version of QMK. I have noticed that compilation is extremely slow. There is an extremely long delay between calling
qmk flash
and the message stating which layout is being compiled, and another shorter delay between that and the first file compilation message. Compilation itself also seemed to be slow. Is this expected because MSYS is slow, or is there a problem in the firmware?The text was updated successfully, but these errors were encountered: