[Mesa-dev] [PATCH v2 2/4] meson: handle LLVM 'x.x.xgit-revision' versions
Dylan Baker
dylan at pnwbakers.com
Thu Jan 18 19:18:30 UTC 2018
Quoting Emil Velikov (2018-01-18 10:22:50)
> On 17 January 2018 at 20:54, Greg V <greg at unrelenting.technology> wrote:
> > When LLVM is built inside of a git repo (even way below, e.g. /usr/ports/.git
> > exists, and LLVM is built in /usr/ports/devel/llvm50/work), its version
> > becomes something like 5.0.0git-f8ab206b2176.
> >
> > New meson versions already handle this, but we support older versions too.
> >
> Crazy idea:
> Using a grep-like solution analogous to autotools [1]. That will work
> with old/new Meson, svn, git, plus any other suffix as LLVM devs
> decide to change it.
>
> -Emil
>
> [1] llvm-config --version | egrep -o '^[0-9]+'
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
That is a much nicer idea. I've submitted a meson patch to do this instead of
specifically stripping svn.* and git.*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180118/0fd24dae/attachment-0001.sig>
More information about the mesa-dev
mailing list