Skip to content

[backport 2020.04] makefiles/info-global: Remove dependency resolution cache#14136

Merged
kaspar030 merged 1 commit intoRIOT-OS:2020.04-branchfrom
leandrolanzieri:backport/pr_14132
May 25, 2020
Merged

[backport 2020.04] makefiles/info-global: Remove dependency resolution cache#14136
kaspar030 merged 1 commit intoRIOT-OS:2020.04-branchfrom
leandrolanzieri:backport/pr_14132

Conversation

@leandrolanzieri
Copy link
Contributor

Backport of #14132

Contribution description

This removes a preliminar dependency resolution that is performed without including features, to skip a full dependency resolution when boards can be proven to be unsupported on an earlier stage.

This was introducing issues on some boards since the blacklisting of some features depends on board information which is not available at the time of performing this resolution.

Some time measurements

Running make info-boards-supported 50 times on my computer results in:

Application Time with cache Time without cache
hello_world 873.0 ms ± 20.5 ms 851.7 ms ± 26.3 ms
tests/driver_ws281x (proposed here) 266.4 ms ± 11.6 ms 263.0 ms ± 18.6 ms

Testing procedure

  • make info-boards-supported should work properly now (it was pointed out in the mailing list that the sodaq boards are not showing up in the list in current master, for instance)

Issues/PRs references

Spotted by @fjmolinas here

This removes a preliminar dependency resolution that is performed
without including features, to skip a full dependency resolution when
boards can be proven to be unsupported on an earlier stage.

This was introducing issues on some boards since the blacklisting of
some features depends on board information which is not available at the
time of performing this resolution.
@leandrolanzieri leandrolanzieri added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Process: release backport Integration Process: The PR is a release backport of a change previously provided to master labels May 25, 2020
@leandrolanzieri leandrolanzieri added this to the Release 2020.04 milestone May 25, 2020
Copy link
Member

@maribu maribu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK. Tested the backport with same result as the original PR.

@leandrolanzieri leandrolanzieri changed the title makefiles/info-global: Remove dependency resolution cache [backport 2020.04] makefiles/info-global: Remove dependency resolution cache May 25, 2020
@leandrolanzieri leandrolanzieri added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels May 25, 2020
@leandrolanzieri
Copy link
Contributor Author

All green!

@kaspar030 kaspar030 merged commit eff860f into RIOT-OS:2020.04-branch May 25, 2020
@leandrolanzieri leandrolanzieri deleted the backport/pr_14132 branch July 8, 2020 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Process: release backport Integration Process: The PR is a release backport of a change previously provided to master Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants