[cfe-dev] Clang on Windows targteing gcc compiles very slowly

Sean Silva chisophugis at gmail.com
Tue Jun 2 13:50:18 PDT 2015


On Mon, Jun 1, 2015 at 9:27 AM, Dennis Luehring <dl.soluz at gmx.net> wrote:

> i only compared Microsoft CL with cl-clang (from http://llvm.org/builds/)
> and cl-clang is ~2 Times slower in build
>
> there is no small example available - my project is closed and my open
> source dependecy Xerces 3.1.2
> is not compilable, other open souce projects mentioned (last posts) are
> not buildable with cl-clang
>

Can you maybe try compiling a couple files of the open source project in
isolation to see if you can narrow things down to a single representative
file?

-- Sean Silva


>
> you need a VStudio Project with a least 1-2 minutes build-time - then
> switch to
> cl-clang and compare the build-time
>
>
>
> Am 01.06.2015 um 18:15 schrieb Yaron Keren:
>
>> I wouldn't expect clang-cl (targeting VC) build time to be different than
>> clang (targeting mingw), so the difference is probably not clang on
>> WIndows
>> specifically but rather clang in general.
>> Could you send a small example outlining the difference?
>>
>>
>>
>> 2015-06-01 18:54 GMT+03:00 Dennis Luehring <dl.soluz at gmx.net>:
>>
>> > i've got the same compilation difference between cl and cl-clang using
>> the
>> > http://llvm.org/builds/
>> >
>> > is there an official cl/cl-clang testprojects collection or how is the
>> > testing done?
>> >
>> >
>> > Am 01.06.2015 um 17:47 schrieb Yaron Keren:
>> >
>> >> >How and with what ?
>> >>
>> >> Comparing the compilation time between snapshot binary and the version
>> you
>> >> built locally will pinpoint if the problem is in clang in general or
>> some
>> >> local configuration.
>> >>
>> >>
>> >>
>> >> 2015-06-01 18:06 GMT+03:00 Edward Diener <
>> eldlistmailingz at tropicsoft.com
>> >> >:
>> >>
>> >> > On 6/1/2015 12:24 AM, Yaron Keren wrote:
>> >> >
>> >> >> Edward, could you time the snapshot binaries from
>> >> >> http://llvm.org/builds/
>> >> >>
>> >> >
>> >> > How and with what ?
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > cfe-dev mailing list
>> >> > cfe-dev at cs.uiuc.edu
>> >> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>> >> >
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> cfe-dev mailing list
>> >> cfe-dev at cs.uiuc.edu
>> >> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>> >>
>> >
>> > _______________________________________________
>> > cfe-dev mailing list
>> > cfe-dev at cs.uiuc.edu
>> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>> >
>>
>>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150602/9b64bd89/attachment.html>


More information about the cfe-dev mailing list