Re: [cmake-developers] speed up package with mingw on Windows host

2016-06-21 Thread Brad King
On 06/20/2016 05:05 PM, laurent wrote: > Could you make the correction by yourself or do I need to re-send my > patch with correct full name ? Applied, thanks: GetPrerequisites: Optimize on Windows by filtering `objdump` output https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=867b73e2 -Brad

Re: [cmake-developers] speed up package with mingw on Windows host

2016-06-20 Thread laurent
I’m looking at platforms which need rpath rewrite. Maybe I’m wrong but I imagine that the patch will be more complicated (and my knowledge of cpack architecture is limited). Why not activate this optimisation only for mingw32, cause the main problem is cpack with mingw32 is unusable for the mom

Re: [cmake-developers] speed up package with mingw on Windows host

2016-06-20 Thread Ben Boeckel
On Mon, Jun 20, 2016 at 23:05:11 +0200, laurent wrote: > I mean dependencies will be marked as *analysed* at global scope. > > Is cpack able to pack 2 binaries at the same time ? Concurrently, no. In a single invokation, yes (though it is still just one package). > Maybe i could suffix GET_PRERE

Re: [cmake-developers] speed up package with mingw on Windows host

2016-06-20 Thread laurent
I prefer : Laurent Tarrisse Could you make the correction by yourself or do I need to re-send my patch with correct full name ? I wonder if my next patch will not break packing with multi package ? I mean dependencies will be marked as *analysed* at global scope. Is cpack able to pack 2 binari

Re: [cmake-developers] speed up package with mingw on Windows host

2016-06-20 Thread Brad King
On 06/20/2016 02:49 PM, laurent wrote: > Let’s make a demonstration by example : Thanks. > Attached a git patch against current cmake master branch. Thanks. Actually I was saying that we would like to record a Full Name as your authorship. Are you: Tarrisse Laurent TARRISSE Laurent Tarriss

Re: [cmake-developers] speed up package with mingw on Windows host

2016-06-20 Thread laurent
Let’s make a demonstration by example : // With grep $ objdump -p /c/msys32/mingw32.exe | grep "^[[:blank:]]*DLL Name: " DLL Name: KERNEL32.dll DLL Name: msvcrt.dll DLL Name: USER32.dll // With findstr $ objdump -p /c/msys32/mingw32.exe | findstr "^[[:blank:]]*DLL Name: "

Re: [cmake-developers] speed up package with mingw on Windows host

2016-06-20 Thread Brad King
On 06/18/2016 12:10 PM, laurent wrote: > I would like to share my experience about speed up package with > BundleUtilities > on Windows host using mingw32 env. Thanks. Please provide a Full Name format name for the commit authorship record. > -find_program(gp_grep_cmd grep) > +if(W

[cmake-developers] speed up package with mingw on Windows host

2016-06-18 Thread laurent
Hello, I would like to share my experience about speed up package with BundleUtilities on Windows host using mingw32 env. My test setup : - Windows 7 - cmake 3.4.1 - msys2 i686-20160205 Currently my project take about 40 min to package. This is not acceptable. The