Ticket #2106 (closed bug: fixed)
git_describe configuration value not correct
Reported by: | pmichaud | Owned by: | cotto |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | configure | Version: | 3.3.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description (last modified by pmichaud) (diff)
After performing "git pull" and receiving new commits and running "make", the value of "git_describe" reported by parrot_config and "parrot --version" is incorrect. A re-run of Configure.pl is needed to bring the values up to date.
Rakudo solves this problem by calculating the git-describe value at the time Rakudo is built. The larger source has a static .include "src/gen/version.pir" -- the Makefile then generates src/gen/version.pir to contain
.macro_const RAKUDO_VERSION "<git-describe-value>" .macro_const RAKUDO_BUILD_DATE "<rakudo-build-date>"
Hope this helps.
Pm
Change History
Note: See
TracTickets for help on using
tickets.