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
Look at recommendation to run brew update, which can take multiple minutes depending on state of host computer #932
Comments
Hi @gingerbeardman — thank you for the report. I'm sorry to hear that this portion of the install process was misbehaving for you. It's curious (and unfortunate) that I will consider some alternatives here, including those that you've listed. Unfortunately, it is not possible, as far as I know, to scope the execution of MacPorts would be fine. Indeed, if you have MacPorts installed it would be just as good to do Brew and MacPorts are the two options suggested by Espressif in their ESP-IDF setup instructions, so I'm inclined to agree that we should include that option in our ESP32 guide as well. Perhaps it would suffice to go with the ESP-IDF language and explain how to do this with either |
I'll leave the final decision to you, no worries. Mentioning brew and macports would be a good start. It is indeed concerning and perhaps this is something I can take up with brew. My M1 laptop is only a couple of months old so brew is quite fresh, I don't use the package manager much, though I did install all my regulars when I migrated settings to the new computer. I wish I could turn back time and profile the commands a little more, issuing them one by one. On closer inspection I wonder if I pasted all the lines at once, and thus could it have been something other than the brew update taking a long time? I'll give it some thought. It would be great if before each set of commands expectations could be set as to the time taken. I wondered if it was normal for the ESP-IDF install to take 30+ minutes, or whether that was only with brew? So I did ps: I still use my Sony Reader PRS-650 that runs Kinoma! Small world. |
(Following on from twitter thread)
Describe
When doing setup/install, during the ESP32/ESP-IDF phase for my M5Paper, it is advised to run
brew update
.Depending on the state of the host computer (how many packages are installed using brew, when
brew update
was last run, network and cpu speeds, etc) thebrew update
process can take tens of minutes to complete - for me it took over 30 minutes on a 10-core M1 Pro MBP running macOS 12.5.1.See: Step 5 in documentation/devices/esp32.md (emphasis mine)
Note: be wary of the differences between
brew update
brew upgrade
Why do you think this feature would be useful?
and
brew update
truly needed?brew update
to add a speed bump of unknown severity to your install process?Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: