* Arnaldo Carvalho de Melo wrote:
> Em Tue, Oct 30, 2012 at 10:48:52AM +0100, Ingo Molnar escreveu:
> >
> > * Ingo Molnar wrote:
> >
> > > Does -l work?
> > >
> > > Alternatively, please replace:
> > >
> > > git tag --list "v[0-9].[0-9]*" | tail -1
> > >
> > > with:
> > >
> > > git
Em Tue, Oct 30, 2012 at 10:48:52AM +0100, Ingo Molnar escreveu:
>
> * Ingo Molnar wrote:
>
> > Does -l work?
> >
> > Alternatively, please replace:
> >
> > git tag --list "v[0-9].[0-9]*" | tail -1
> >
> > with:
> >
> > git tag | tail -1 | grep -E "v[0-9].[0-9]*"
> >
> > which is just
Em Tue, Oct 30, 2012 at 10:43:38AM +0100, Ingo Molnar escreveu:
>
> * Arnaldo Carvalho de Melo wrote:
>
> > Em Tue, Oct 30, 2012 at 09:46:00AM +0100, Ingo Molnar escreveu:
> > > +++ b/tools/perf/util/PERF-VERSION-GEN
> > > @@ -12,7 +12,7 @@ LF='
> > > # First check if there is a .git to get
* Ingo Molnar wrote:
> Does -l work?
>
> Alternatively, please replace:
>
> git tag --list "v[0-9].[0-9]*" | tail -1
>
> with:
>
> git tag | tail -1 | grep -E "v[0-9].[0-9]*"
>
> which is just as fast.
make that:
git tag 2>/dev/null | tail -1 | grep -E "v[0-9].[0-9]*"
this will
* Arnaldo Carvalho de Melo wrote:
> Em Tue, Oct 30, 2012 at 09:46:00AM +0100, Ingo Molnar escreveu:
> > +++ b/tools/perf/util/PERF-VERSION-GEN
> > @@ -12,7 +12,7 @@ LF='
> > # First check if there is a .git to get the version from git describe
> > # otherwise try to get the version from the
Em Tue, Oct 30, 2012 at 09:46:00AM +0100, Ingo Molnar escreveu:
> +++ b/tools/perf/util/PERF-VERSION-GEN
> @@ -12,7 +12,7 @@ LF='
> # First check if there is a .git to get the version from git describe
> # otherwise try to get the version from the kernel makefile
> if test -d ../../.git -o -f
* Ingo Molnar wrote:
> Btw., there's another thing that would be nice in addition to
> simplifying the PERF-VERSION-GEN script: [...]
Here's a stab at that.
->
Building perf is pretty slow on trees that have a lot of commits
relative to the nearest Git tag. This slowness
* Ingo Molnar mi...@kernel.org wrote:
Btw., there's another thing that would be nice in addition to
simplifying the PERF-VERSION-GEN script: [...]
Here's a stab at that.
-
Building perf is pretty slow on trees that have a lot of commits
relative to the nearest Git tag.
Em Tue, Oct 30, 2012 at 09:46:00AM +0100, Ingo Molnar escreveu:
+++ b/tools/perf/util/PERF-VERSION-GEN
@@ -12,7 +12,7 @@ LF='
# First check if there is a .git to get the version from git describe
# otherwise try to get the version from the kernel makefile
if test -d ../../.git -o -f
* Arnaldo Carvalho de Melo a...@infradead.org wrote:
Em Tue, Oct 30, 2012 at 09:46:00AM +0100, Ingo Molnar escreveu:
+++ b/tools/perf/util/PERF-VERSION-GEN
@@ -12,7 +12,7 @@ LF='
# First check if there is a .git to get the version from git describe
# otherwise try to get the version
* Ingo Molnar mi...@kernel.org wrote:
Does -l work?
Alternatively, please replace:
git tag --list v[0-9].[0-9]* | tail -1
with:
git tag | tail -1 | grep -E v[0-9].[0-9]*
which is just as fast.
make that:
git tag 2/dev/null | tail -1 | grep -E v[0-9].[0-9]*
this will
Em Tue, Oct 30, 2012 at 10:43:38AM +0100, Ingo Molnar escreveu:
* Arnaldo Carvalho de Melo a...@infradead.org wrote:
Em Tue, Oct 30, 2012 at 09:46:00AM +0100, Ingo Molnar escreveu:
+++ b/tools/perf/util/PERF-VERSION-GEN
@@ -12,7 +12,7 @@ LF='
# First check if there is a .git to
Em Tue, Oct 30, 2012 at 10:48:52AM +0100, Ingo Molnar escreveu:
* Ingo Molnar mi...@kernel.org wrote:
Does -l work?
Alternatively, please replace:
git tag --list v[0-9].[0-9]* | tail -1
with:
git tag | tail -1 | grep -E v[0-9].[0-9]*
which is just as fast.
* Arnaldo Carvalho de Melo a...@infradead.org wrote:
Em Tue, Oct 30, 2012 at 10:48:52AM +0100, Ingo Molnar escreveu:
* Ingo Molnar mi...@kernel.org wrote:
Does -l work?
Alternatively, please replace:
git tag --list v[0-9].[0-9]* | tail -1
with:
git tag
14 matches
Mail list logo