<div dir="ltr">It does not use msys2. Those plans were dropped in favor of WSL.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 22, 2017 at 5:03 AM, 施賀傑 <span dir="ltr"><<a href="mailto:hshih@mozilla.com" target="_blank">hshih@mozilla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for the new version of mozbuild!<br>
<br>
Is it including msys2? Then, it will be easier to include the bash-completion.<br>
<br>
-Jerry<br>
<span class=""><br>
> On 22 Jul 2017, at 06:02, Ryan VanderMeulen <<a href="mailto:rvandermeulen@mozilla.com">rvandermeulen@mozilla.com</a>> wrote:<br>
><br>
> I am pleased to announce the final release of MozillaBuild 3.0! Sorry in<br>
> advance for the length of this message, but there's a lot of changes in<br>
> this release worth calling out.<br>
><br>
> <a href="https://ftp.mozilla.org/pub/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe" rel="noreferrer" target="_blank">https://ftp.mozilla.org/pub/<wbr>mozilla/libraries/win32/<wbr>MozillaBuildSetup-Latest.exe</a><br>
</span>> <<a href="http://ftp.mozilla.org/pub/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe" rel="noreferrer" target="_blank">http://ftp.mozilla.org/pub/<wbr>mozilla/libraries/win32/<wbr>MozillaBuildSetup-Latest.exe</a>><br>
<span class="">><br>
> Important changes since version 2.2.0:<br>
><br>
</span>> -<br>
<span class="">><br>
> MozillaBuild now requires Windows 7+ 64-bit to install.<br>
</span>> -<br>
<span class="">><br>
> Removed the start-shell-msvc*.bat files. See below for more information<br>
> on this change.<br>
</span>> -<br>
<span class="">><br>
> Updated Python to version 2.7.13 and switched to the 64-bit version.<br>
</span>> -<br>
><br>
> Added Python 3.6.2.<br>
> -<br>
<span class="">><br>
> Added nodejs 8.1.4 & npm 5.3.0.<br>
</span>> -<br>
<span class="">><br>
> ESLint is now a first-class citizen on Windows! Things should Just<br>
> Work when using the |./mach eslint| command.<br>
</span>> -<br>
<span class="">><br>
> Other updates to various included components.<br>
</span>> -<br>
<span class="">><br>
> Mercurial updated to version 4.2.2.<br>
</span>> -<br>
<span class="">><br>
> NSIS updated to version 3.01 (and older versions removed).<br>
</span>> -<br>
<span class="">><br>
> Some MSYS components were updated.<br>
</span>> -<br>
<span class="">><br>
> Behind the scenes, MozillaBuild packaging was completely overhauled so<br>
> that anyone can now generate an installer package simply by running the<br>
> packageit.py script from the source checkout. This should in turn make it<br>
> much easier for new contributors to test their work.<br>
><br>
><br>
> Full changelog:<br>
><br>
> <a href="https://hg.mozilla.org/mozilla-build/pushloghtml?fromchange=MOZILLABUILD_2_2_0_RELEASE&tochange=MOZILLABUILD_3_0_0_RELEASE" rel="noreferrer" target="_blank">https://hg.mozilla.org/<wbr>mozilla-build/pushloghtml?<wbr>fromchange=MOZILLABUILD_2_2_0_<wbr>RELEASE&tochange=MOZILLABUILD_<wbr>3_0_0_RELEASE</a><br>
</span>> <<a href="http://hg.mozilla.org/mozilla-build/pushloghtml?fromchange=MOZILLABUILD_2_2_0_RELEASE&tochange=MOZILLABUILD_3_0_0_RELEASE" rel="noreferrer" target="_blank">http://hg.mozilla.org/<wbr>mozilla-build/pushloghtml?<wbr>fromchange=MOZILLABUILD_2_2_0_<wbr>RELEASE&tochange=MOZILLABUILD_<wbr>3_0_0_RELEASE</a>><br>
<span class="">><br>
> It is strongly advised that you not install this over a previous<br>
> installation!<br>
><br>
> Upgrade instructions:<br>
><br>
</span>> 1.<br>
<span class="">><br>
> Pull down and update to a modern revision of any trunk repo<br>
> (mozilla-central, inbound, or autoland).<br>
</span>> 2.<br>
<span class="">><br>
> Run |./mach mercurial-setup --update-only| to ensure the<br>
> version-control-tools repository is current. Extension bustage after<br>
> upgrade is likely if you don’t do this.<br>
</span>> 3.<br>
<span class="">><br>
> Run |./mach clobber| to remove the object directory of any trees you<br>
> have. Build errors are pretty much guaranteed to occur otherwise.<br>
</span>> 4.<br>
<span class="">><br>
> Assuming you’ve previously installed Rust via |./mach bootstrap|, backup<br>
> msys/etc/profile.d/profile-<wbr>rustup.sh from your current MozillaBuild<br>
> installation.<br>
</span>> 5.<br>
<span class="">><br>
> Remove your current installation. If you can't remove the existing<br>
> installation, you probably have a terminal open or ssh-agent running.<br>
> Terminate it and try again.<br>
</span>> 6.<br>
><br>
> Install MozillaBuild 3.0.<br>
> 7.<br>
<span class="">><br>
> Copy profile-rustup.sh to your new msys/etc/profile.d directory. You can<br>
> also just re-run |./mach bootstrap| if you don’t want to deal with copying<br>
> files around.<br>
</span>> 8.<br>
<span class="">><br>
> If you previously enabled minTTY, you will need to do so again by<br>
> setting USE_MINTTY=1 at the top of start-shell.bat.<br>
><br>
><br>
> Please file any problems you come across in mozilla.org::MozillaBuild.<br>
><br>
> Where did start-shell-msvc*.bat go?<br>
><br>
> Since the release of MozillaBuild 2.2.0, much has changed with how we build<br>
> Firefox and in how Microsoft distributes their compiler and SDK toolchains.<br>
> In order to make things more flexible for both our build automation as well<br>
> as people building locally, MSVC and Platform SDK detection was moved into<br>
> the build system where it’s now detected when configure runs. Both MSVC<br>
> 2015 and 2017 detection is supported, as well as Windows SDK 8.1+.<br>
><br>
> If you have both MSVC 2015 and 2017 installed, 2017 will be chosen by<br>
> default. This can be overridden by adding the following line to your<br>
> mozconfig<br>
</span>> <<a href="https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Configuring_Build_Options" rel="noreferrer" target="_blank">https://developer.mozilla.<wbr>org/en-US/docs/Mozilla/<wbr>Developer_guide/Build_<wbr>Instructions/Configuring_<wbr>Build_Options</a>><br>
<span class="">> :<br>
><br>
> ac_add_options --with-visual-studio-version=<wbr>2015<br>
><br>
> Windows builds currently default to 32-bit. This can cause problems with a<br>
> mismatched Rust toolchain because it’ll try to use the 64-bit one by<br>
> default and then error out. To create a 64-bit build instead, add the<br>
> following two lines to your mozconfig:<br>
><br>
> ac_add_options --host=x86_64-pc-mingw32<br>
><br>
> ac_add_options --target=x86_64-pc-mingw32<br>
><br>
> Otherwise, you’ll need to manually install the i686 toolchain by running<br>
> the |rustup install stable-i686-pc-windows-msvc| command.<br>
><br>
> If you run into any problems with MSVC or Windows SDK detection, please<br>
> file a bug in Core::Build Config.<br>
><br>
> Thanks for reading and enjoy!<br>
><br>
> -Ryan<br>
</span>> ______________________________<wbr>_________________<br>
> dev-platform mailing list<br>
> <a href="mailto:dev-platform@lists.mozilla.org">dev-platform@lists.mozilla.org</a><br>
> <a href="https://lists.mozilla.org/listinfo/dev-platform" rel="noreferrer" target="_blank">https://lists.mozilla.org/<wbr>listinfo/dev-platform</a><br>
<br>
</blockquote></div><br></div>