-
-
Notifications
You must be signed in to change notification settings - Fork 795
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
pio update command uninstalls GCC needed by pio run #3770
Comments
Do you use 3rd party spy antivirus software? Please provide an output of
|
I am not using any 3rd party anti-malware or antivirus. pio system info:
|
Is your project located on the special drive? |
Sorry, what do you mean by special drive? |
OneDrive? Dropbox? Google Drive? Network Disk? |
Oh, gotcha. Nope it's just on the C:\ drive in the Windows Documents folder. |
I wonder if this is related? Was trying to build ESPEasy with the new toolchain package when already have these installed via Espurna builder: Only 2 differences I noticed:
The pio-run managed to delete my existing esp8266/Arduino.git tree with an active development branch and 2 existing toolchain packages :/ It feels like it is too eager to optimize out the outdated versions:
|
Plus, I also noticed the same issue with the
Since it purges everything that is not attached to platform as a dependency.
Which may explain the original issue b/c of the version requirements Another place that seems to manage uninstall comes from
Which filters out anything without owner="platformio" and... removes it? This does seem to need an actual project to be called, which I have not tried just yet. |
@ivankravets does this make sense then? but, since this is not closed, I think you will come up with a better solution :) |
Resolved in 92655c3 See also new command https://docs.platformio.org/en/latest/core/userguide/system/cmd_prune.html |
Configuration
Operating system: Windows
PlatformIO Version (
platformio --version
): PlatformIO, version 5.0.3Description of problem
Every time I run the
pio update
command it uninstalls GCC, so the next time I runpio run
it has to reinstall GCCIf problems with PlatformIO Build System:
The content of
platformio.ini
:Additional info
console output of
pio update
:output of
pio run
:The text was updated successfully, but these errors were encountered: