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

Dennis Luehring dl.soluz at gmx.net
Mon Jun 1 21:00:58 PDT 2015


>I think builds using msbuild are different from what Edward reported and
>are probably explained by Reid's comment of clang-cl not implementing /MP
>yet (and also not implementing precompiled headers yet).

i fully disabled multi-thread compile, /MP and precompiled headers in VStudio (as stated before)
before the CL / cl_clang compare

Am 01.06.2015 um 22:11 schrieb Nico Weber:
> 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
> >
> > you need a VStudio Project with a least 1-2 minutes build-time - then
> > switch to
> > cl-clang and compare the build-time
>
>
> I think builds using msbuild are different from what Edward reported and
> are probably explained by Reid's comment of clang-cl not implementing /MP
> yet (and also not implementing precompiled headers yet).
>
>
> >
> >
> >
> > 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
> >
>




More information about the cfe-dev mailing list