Alan W. Irwin wrote:

Thanks, Bill, for that hint. I uncommented values others had obviously used
before me near the top of that file.

#define YYMAXDEPTH 100000
#define YYINITDEPTH 10000

That's a factor of 10 increase in YYMAXDEPTH and factor of 50 increase in
YYINITDEPTH.

With those generous values everything worked like a charm (i.e. a small
tarball was generated) with no editing of the generated
CPackSourceConfig.cmake required.

Is there is some reason the above generous values don't work on all
platforms? If so, you should configure them to be used whenever possible.
Otherwise, others who are trying to use CPACK_SOURCE_IGNORE_FILES to beat
the dirty source tree problem when creating a source distribution will run into the same memory exhaustion problem that I did at an effective limit of
30 to 60 regex's.

Is this a no-brainer change that will be done immediately or should I file a
formal bug report about the values of YYMAXDEPTH and YYINITDEPTH that are
not generous enough in 2.4.7?
I will try the increased values tomorrow and see what happens on the dashboard. I think we are just using the defaults from bison, so I don't think there should be a
problem with increasing them.

-Bill

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to