Skip to content
Snippets Groups Projects
Commit 22f00e39 authored by Elias Pipping's avatar Elias Pipping
Browse files

MKCL: Increase granularity of reported version

Rather than "1.1.10" for the current HEAD, which is 155 commits head
of 1.1.9 and will probably eventually be called 1.1.10, the output
will now be "1.1.9.155-fc50d00"; the same git-described-inspired
format that is used by SBCL.

The function mkcl:git-describe-this-mkcl is only available in very
recent versions of MKCL; in particular, not in vanilla 1.1.9
parent 80da2354
No related branches found
No related tags found
No related merge requests found
......@@ -229,6 +229,7 @@ then returning the non-empty string value of the variable"
(multiple-value-bind (major minor) (sct:get-system-version "System")
(format nil "~D.~D" major minor))
#+mcl (subseq s 8) ; strip the leading "Version "
#+mkcl (or (mkcl:git-describe-this-mkcl) s)
s))))
(defun implementation-identifier ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment