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

pio ci always recompiling everything #2109

Closed
mtfurlan opened this Issue Feb 9, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@mtfurlan
Copy link

mtfurlan commented Feb 9, 2019

Configuration

Operating system: Debian testing, Linux moranix 4.19.0-1-amd64 # 1 SMP Debian 4.19.12-1 (2018-12-22) x86_64 GNU/Linux

PlatformIO Version: PlatformIO, version 3.6.2

Description of problem

If I run

pio ci examples/mqtt_pub/ -l . -C platformio.ini --build-dir /tmp/piobuild --keep-build-dir

/tmp/piobuild/platformio.ini is updated every time that is run, and everything is rebuilt every time.

Steps to Reproduce

  1. platfomrio.ini:
[env:d1_mini]
platform = espressif8266
framework = arduino
board = d1_mini
pio ci examples/mqtt_pub/ -l . -C platformio.ini --build-dir /tmp/piobuild --keep-build-dir

Actual Results

Rebuilds everything

Expected Results

Cache anything from the last bui.d

Additional info

Previous discussion:
https://community.platformio.org/t/compiling-library-examples-without-recompiling-unchanged-files/5685

@ivankravets ivankravets added the bug label Feb 23, 2019

@ivankravets ivankravets added this to the 4.0 milestone Feb 23, 2019

@ivankravets

This comment has been minimized.

Copy link
Member

ivankravets commented Feb 23, 2019

Thanks! Please re-test with $ pio upgrade --dev.

ivankravets added a commit that referenced this issue Feb 23, 2019

@ivankravets ivankravets modified the milestones: 4.0, 3.6.5 Mar 7, 2019

@ivankravets ivankravets referenced this issue Mar 7, 2019

Closed

platformio 3.6.5 #37693

5 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.