-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Makefile.include: remove RIOT_VERSION_OVERRIDE #11771
Makefile.include: remove RIOT_VERSION_OVERRIDE #11771
Conversation
Not sure if the value is accurate, but compared to #11478, that also did not change any source code: The build time went down 4 hours
|
EDIT: The whole case is now optimized by being based on #11881
|
I'm about to ACK. Should we add some kind of deprecation warning? I know my finger muscles will type RIOT_VERSION_OVERRIDE for a long time... |
👍 for warning when |
I thought it was not needed for configuration changes, I will add it. |
I handled it with a It will still evaluate Testing procedure for the deprecation handling:
|
6fe0d21
to
3b7cef7
Compare
Rebased on #11881 to provide the speed boost also when not using |
Indeed, I thought about rebasing this one after writing the other PR description so ended up being not consistent with the introduction sentence. The speed improvement is now not provided by this PR anymore and it just replaces |
3b7cef7
to
e4d34ee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. please squash
RIOT_VERSION is not used for building a specific RIOT version anymore since RIOT-OS#10543. The variable can now be used directly. Add deprecation warning.
2fe4b83
to
e04850b
Compare
Squashed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok.
Thank you for the review. |
Contribution description
RIOT_VERSION is not used for building a specific RIOT version anymore
since #10543. The variable can now be used directly.
This now depends on #11881 which prevents calling
git describe
Testing procedure
No more usage in RIOT reported by
git grep RIOT_VERSION_OVERRIDE
The
buildtest
version is correctly used forCI
buildsThe version is used when given in the environment
Speed update given by #11881 directly
Doing nothing is way faster for me, let's see the difference in CI, as in the
RIOT_CI_BUILD=1
context, the value fromgit describe
is completely unnecessary.Issues/PRs references
Tracking: remove harmful use ofexport
in make and immediate evaluation #10850Depends on #11881Makefile.include: remove functionality to build with another version. #10543