platformio / platformio/platformio-core

Feature Request: option to stop LDF from running at every build

Open
#4,455 5 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature LDF
Dominant language
Python
Stars
9.5k
Forks
905
Avg merge
2d 13h
Merged PRs (30d)
2

Description

Could an option be added to pio run to turn off LDF for a build?

If I know that dependencies haven’t changed, I’d like not to take the time to run LDF by default, and so get a faster edit/compile/flash cycle.

(It doesn’t take too long, true, but when doing hundreds of builds during a coding session it adds up!)

Tnx!
H

@maxgerhardt confirmed that it doesn't currently seem possible to do this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the pio run command and trace where Library Dependency Finder runs during a build. Review the existing build options and confirm that the requested option can skip LDF when dependencies are unchanged while preserving normal dependency discovery when enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.