[cmake-developers] slow regex implementation in RegularExpression

Bill Hoffman bill.hoffman at kitware.com
Tue Nov 29 15:05:29 EST 2011


On 11/29/2011 2:41 PM, Alexandru Ciobanu wrote:
> Hi,
>
> We found a workaround that does not require any source code
> modifications. I added the description to the bug report:
> http://public.kitware.com/Bug/view.php?id=12381#c27872
>
Good, glad you are up and running again.
...
> Since it is similar to the way that cmakexbuild.cxx filters out
> "setenv" lines, it would be possible to add this additional filter.
> The only drawback would be that the compiler invocation lines will
> not be in the logs anymore (since these are the longest lines that we
> eliminate).
>
> If wanted, I can submit the small patch with the modifications to
> cmakexbuild.cxx.

I am wondering if we might want to make this an option to cmakexbuild? 
cmakexbuild -skip-lines="/Developer/usr/bin" which could be something 
you would put in your build command:

   SET (CTEST_BUILD_COMMAND cmakexbuild -skip-lines="/Developer/usr/bin")

Then, if you are seeing significant performance issues, you could add this.


-Bill



More information about the cmake-developers mailing list