--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMGbLiFVg-HV2XWeRdwDruHG2PLGY0T9b-H5r6vtQ1ZJ9%2BGWVQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABc02_Li2arCfAqKqY8Ku86FW6S1N3c_e9Ynbk8VLHiDYPD4Lg%40mail.gmail.com.
Amazing milestone! Does this mean we can start removing COMPILER_MSVC #ifdefs after M62 (assuming we ship OK)?
On Fri, Jul 28, 2017 at 4:28 PM, PhistucK <phis...@gmail.com> wrote:Very cool! Congratulations.What are the plans for changing the linker?
istuc
On Fri, Jul 28, 2017 at 11:26 PM, Nico Weber <tha...@chromium.org> wrote:--Hi,As of #490494, chrome/win builds now use clang as compiler by default. We hope to ship M62 in this configuration.In general, the compiler switch should be mostly transparent for developers. You will now use clang locally if you build on Windows. You should still be able to use the Visual Studio IDE for debugging, you should still be able to use ETW.Compiles are a bit slower than with Visual Studio’s compiler if you do local builds. On the other hand, they work better with distributed build systems. If you work for Google and don’t yet use goma, you might want to give it a try (https://go/ma for setup instructions). It’s a bit easier to use if you use Bruce’s autoninja (already in depot_tools and your %PATH%). See https://chromium.googlesource.com/chromium/src/+/lkcr/docs/windows_build_instructions.md#Faster-builds for more options for getting faster builds.We will keep the Visual Studio build working for a release or two in case we need to switch back. All the “clang” bots now do Visual Studio builds to make sure the Visual Studio build does not bitrot, while the regular bots now do clang builds.If you run into any problems, please file a bug and cc hans@ and thakis@. You can set is_clang = false to switch back to Visual Studio for now if something’s really not working for you, but only do this after filing a bug.Nico,on behalf of the clang/win crew (rnk@ hans@ inglorion@ thakis@)p.s.: The linker is still link.exe, we’re only changing the compiler at this point.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMGbLiFVg-HV2XWeRdwDruHG2PLGY0T9b-H5r6vtQ1ZJ9%2BGWVQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
This is great! Do the same checks run on Windows clang as everywhere else, now? Initializer order, for instance.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAMGbLiFVg-HV2XWeRdwDruHG2PLGY0T9b-H5r6vtQ1ZJ9%2BGWVQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKj_HwNYod-rQgwNeUEEhBu09%2BHiPAvw8Z8mSMuNbbajhO46Ng%40mail.gmail.com.
As of #490494, chrome/win builds now use clang as compiler by default.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMGbLiEaSFevq-4n_tg-MWpQ_ZK6Gb9GSkDH-0ujZPy%3DHvRWJQ%40mail.gmail.com.
Awesome! I'm excited that we don't have to worry about DCHECK() not compiling on Windows anymore =)DanielP.S. dare I ask about cross-compilation?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMGbLiG-EXtxv-%2B4eA7ZSSt5ntDdNoS3t9rJDMOyY9G2OL%3DRJQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/377e8571-4ab5-4861-98a5-485e81de2b3c%40chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMGbLiFFbyEO2VTuqviAnvSpCzmFpNMBJO0aZHJgZ%3Dw5uHDJSA%40mail.gmail.com.
Yes, binary size on 32-bit goes up. On 64-bit it goes down in return. See https://crbug.com/457078 for many notes on binary size.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMGbLiFFbyEO2VTuqviAnvSpCzmFpNMBJO0aZHJgZ%3Dw5uHDJSA%40mail.gmail.com.
It makes local debug build about 100 times slower...This is my local debug gn args:is_component_build = trueenable_nacl = falseis_clang = falseis_win_fastlink = truetarget_cpu = "x86"is_debug = trueI tested with changing just inserts a empty line in a core/*.cpp,$ ninja content_shellWith is_clang=false, it just takes 7 seconds.With turning clang on, it takes 600 seconds!
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
On Mon, Jul 31, 2017 at 2:46 AM, Yoichi Osato <yoi...@chromium.org> wrote:It makes local debug build about 100 times slower...This is my local debug gn args:is_component_build = trueenable_nacl = falseis_clang = falseis_win_fastlink = truetarget_cpu = "x86"is_debug = trueI tested with changing just inserts a empty line in a core/*.cpp,$ ninja content_shellWith is_clang=false, it just takes 7 seconds.With turning clang on, it takes 600 seconds!Thanks for the report! MSVC's link.exe /incremental mode doesn't work well for blink_core because it contains so many inline methods. The good news is that this is fixed in MSVC 2017. Please try:export GYP_MSVS_VERSION=2017gclient runhooksand patch in https://chromium-review.googlesource.com/c/593773/ (which will hopefully land today). This seems to fix this locally for me.
We've investigated in some detail what exactly makes /incremental mode not work in https://crbug.com/560475 , and it looks like we might be able to make this work in 2015 as well (and reduce memory use of link.exe with both 2015 and 2017). But for now, I'd suggest opting in to 2017. Please let me know if this doesn't work for you.
Does this mean that LLVM is being used for code-generation of Chromium on Windows?
On Monday, July 31, 2017 at 7:45:45 PM UTC-7, Rong Jie wrote:FYI, I am getting clang version of Chrome Canary as expected now.Is Chromium planning to switch from VC++ standard C++ library to libc++ since other platforms already use libc++? Win10 SDK will still be needed though.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/4ac68a1f-b5aa-41dc-b336-9982860b4a97%40chromium.org.
Does this mean that LLVM is being used for code-generation of Chromium on Windows?
On Monday, July 31, 2017 at 7:45:45 PM UTC-7, Rong Jie wrote:FYI, I am getting clang version of Chrome Canary as expected now.Is Chromium planning to switch from VC++ standard C++ library to libc++ since other platforms already use libc++?
Win10 SDK will still be needed though.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/4ac68a1f-b5aa-41dc-b336-9982860b4a97%40chromium.org.
This is a monumental achievement. You guys should do a blog post or something.
What about all the debug information? Do you have full fidelity?
On Monday, July 31, 2017 at 9:31:18 PM UTC-7, Nico Weber wrote:On Aug 1, 2017 12:02 AM, "Hayden Livingston" <halivi...@gmail.com> wrote:Does this mean that LLVM is being used for code-generation of Chromium on Windows?Yes.On Monday, July 31, 2017 at 7:45:45 PM UTC-7, Rong Jie wrote:FYI, I am getting clang version of Chrome Canary as expected now.Is Chromium planning to switch from VC++ standard C++ library to libc++ since other platforms already use libc++?We haven't looked at this yet. MSVC's c++ stdlib is pretty good. We're currently looking at link.exe, since that allows us to do LTO.Win10 SDK will still be needed though.--To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/4ac68a1f-b5aa-41dc-b336-9982860b4a97%40chromium.org.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/b5e6a90c-f085-4fe6-959a-b955ec97b719%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/52462bdf-1754-4124-adf3-3d2c0d5065dc%40chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMGbLiG5X2Z-wWb_sJ_%2BXEhsLOoSViiOQ8RWeFXeM8aHQLNepw%40mail.gmail.com.
Thanks for the report, I'll look into it.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMGbLiG5X2Z-wWb_sJ_%2BXEhsLOoSViiOQ8RWeFXeM8aHQLNepw%40mail.gmail.com.
I have compile failure on clang=false(https://bugs.chromium.org/p/chromium/issues/detail?id=752837). PTAL.If we had clang=false bots, it could not be merged. Do we have it really?
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMGbLiG5X2Z-wWb_sJ_%2BXEhsLOoSViiOQ8RWeFXeM8aHQLNepw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAAEV3pmqh8bMjw7h10c93HeUaM-UZVe5Ka1Pdi2NLsi7-A7x9A%40mail.gmail.com.
On Mon, Jul 31, 2017 at 10:57 AM, Nico Weber <tha...@chromium.org> wrote:On Mon, Jul 31, 2017 at 2:46 AM, Yoichi Osato <yoi...@chromium.org> wrote:It makes local debug build about 100 times slower...This is my local debug gn args:is_component_build = trueenable_nacl = falseis_clang = falseis_win_fastlink = truetarget_cpu = "x86"is_debug = trueI tested with changing just inserts a empty line in a core/*.cpp,$ ninja content_shellWith is_clang=false, it just takes 7 seconds.With turning clang on, it takes 600 seconds!Thanks for the report! MSVC's link.exe /incremental mode doesn't work well for blink_core because it contains so many inline methods. The good news is that this is fixed in MSVC 2017. Please try:export GYP_MSVS_VERSION=2017gclient runhooksand patch in https://chromium-review.googlesource.com/c/593773/ (which will hopefully land today). This seems to fix this locally for me.
We've investigated in some detail what exactly makes /incremental mode not work in https://crbug.com/560475 , and it looks like we might be able to make this work in 2015 as well (and reduce memory use of link.exe with both 2015 and 2017). But for now, I'd suggest opting in to 2017. Please let me know if this doesn't work for you.As of #490810, it should just work with MSVC2015 too, in 32-bit builds. (In 64-bit builds, you need MSVC2017, but that's true with both clang-c and Visual Studio's compiler.)
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.