Re: [LyX/master] Use a proper test for detecting usable std::regex

2016-07-26 Thread Jean-Marc Lasgouttes

Le 24/07/2016 à 00:14, Guillaume Munch a écrit :

Le 18/07/2016 à 10:55, Jean-Marc Lasgouttes a écrit :

Le 08/07/2016 à 22:18, Guillaume Munch a écrit :

It takes several seconds each time...


Is it better now?



Not sure. It went down from 6 seconds to 2 seconds after running
autogen. But I do not know whether that is because your changes came
into effect, or because of caching.


I think it is my change. Caching is not enabled by default. You could 
try to enable it, but I am not sure that all our tests are well written 
in this repsect.



What is you typical workflow? Why do you run configure often by hand?


Distinct build directories, one configuration script per directory. I do
not run configure often, only when I want to make sure.


Normally it runs by itself.

JMarc



Re: [LyX/master] Use a proper test for detecting usable std::regex

2016-07-23 Thread Guillaume Munch

Le 18/07/2016 à 10:55, Jean-Marc Lasgouttes a écrit :

Le 08/07/2016 à 22:18, Guillaume Munch a écrit :

It takes several seconds each time...


Is it better now?



Not sure. It went down from 6 seconds to 2 seconds after running
autogen. But I do not know whether that is because your changes came
into effect, or because of caching.

This is when std::regex is available. With gcc 4.6 it takes less than a
second.




(but maybe the real problem is that autotools often want to run configure
even after I have just ran it by hand.)


What is you typical workflow? Why do you run configure often by hand?


Distinct build directories, one configuration script per directory. I do
not run configure often, only when I want to make sure.

Guillaume



Re: [LyX/master] Use a proper test for detecting usable std::regex

2016-07-18 Thread Jean-Marc Lasgouttes

Le 08/07/2016 à 22:18, Guillaume Munch a écrit :

It takes several seconds each time...


Is it better now?

JMarc



Re: [LyX/master] Use a proper test for detecting usable std::regex

2016-07-17 Thread Jean-Marc Lasgouttes

Le 08/07/2016 22:18, Guillaume Munch a écrit :

Le 06/07/2016 14:14, Jean-Marc Lasgouttes a écrit :

commit 14a6a4723f527f5e7af0321635e7473bbb7da77b
Author: Jean-Marc Lasgouttes 
Date:   Wed Jul 6 14:49:18 2016 +0200

 Use a proper test for detecting usable std::regex


It takes several seconds each time...


Yes, I do not know how to make it faster. One issue is that we have to 
link. It might be that I should set optimization level later in configure.



(but maybe the real problem is that autotools often want to run configure

> even after I have just ran it by hand.)

What is you typical workflow? Why do you run configure often by hand?

JMarc


Re: [LyX/master] Use a proper test for detecting usable std::regex

2016-07-08 Thread Guillaume Munch

Le 06/07/2016 14:14, Jean-Marc Lasgouttes a écrit :

commit 14a6a4723f527f5e7af0321635e7473bbb7da77b
Author: Jean-Marc Lasgouttes 
Date:   Wed Jul 6 14:49:18 2016 +0200

 Use a proper test for detecting usable std::regex



It takes several seconds each time... (but maybe the real problem is
that autotools often want to run configure even after I have just ran it
by hand.)