[riot-notifications] [RIOT-OS/RIOT] build system: add machine-readable RIOT_VERSION_CODE macro (#16765)

Kaspar Schleiser notifications at github.com
Mon Sep 20 20:44:25 CEST 2021


@kaspar030 commented on this pull request.



> @@ -475,7 +475,7 @@ endif
 
 # set some settings useful for continuous integration builds
 ifeq ($(RIOT_CI_BUILD),1)
-    RIOT_VERSION ?= buildtest
+    RIOT_VERSION ?= $(shell git describe --abbrev=0)

(not sure if this was meant just for testing)

See the result on ccache, this PR's build took "an hour", vs <40min for the ones before. The effect on the test result cache would be even larger (it would practically disable the test result cache).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16765#discussion_r712424033
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210920/b2008127/attachment.htm>


More information about the notifications mailing list