Menu

#167 Ask git for the version number in the lisp-only build, too

open
nobody
None
5
2022-09-26
2022-03-20
No

The git describe that asks git for the exact version number is done by configure.ac - which is fine. But as maxima knows how to execute external programs and to read their output via a pipe we can additionally tell our lisp-only build system to do that, too, so that the ones who use the lisp-only build automatically get a complete version number.

Source: [Maxima-discuss] correctly display maxima version from 20220319

Discussion

  • Raymond Toy

    Raymond Toy - 2022-09-25

    I'm thinking if you're doing a lisp-only build, you don't want to have all the other tools around. And that might include git. (You could have obtained maxima sources as a tarball instead of a git checkout.)

    I never do lisp-only builds. I need the online help to remind me what things do.

     
  • Robert Dodier

    Robert Dodier - 2022-09-26

    Although it's true that Git is not necessarily in the picture, we can look for a Git tag on a best-effort basis. If git describe succeeds, great, construct a label from it, otherwise fall back on whatever is already being used.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.