-
Notifications
You must be signed in to change notification settings - Fork 846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Windows support (continuation) #345
Comments
Out of curiosity, does the decision to move to Clang help this issue in any way? https://mspoweruser.com/googles-chrome-ditches-microsofts-compiler-clang-windows/ |
@mikerockett The current state is described here: #332 (comment). Basically, the Windows build almost works, except for some Windows-specific code that broke due to GN configuration (which I suspected in the linked comment to be caused by disabling Safe Browsing). The move to Clang actually slowed me down a bit, because I didn't want to have to setup yet another tool to build Chromium (for purists, this potentially means yet another tool to build from source). In the end, I gave in because some non-trivial problems occurred with the Microsoft compiler. If anyone's interested, BUILDING.md contains the steps and some notes I used to build Chromium up to the point of failure. I think all it takes to make a working build is to patch out some more obscure references to Safe Browsing-related components. But, there may also be something wrong with the changes I made to the GN files. Faster said than done for me at least. (A bit unrelated, but I found it interesting that the Chrome Cleaner (downloads and runs the Chrome Cleanup Tool) is implemented within Safe Browsing. Safe Browsing's been more than just a website blacklisting service for a while now, but this is pushing the boundaries even further.) |
I see. I’m quite unversed when it comes to much of this, but a bit of insight is always good, so thanks for that. 👍 |
@mercerius (This is a response to #235 (comment)) I forgot to mention that I disabled the 260 character limit for file paths. EDIT: I just realized you're using Windows 7. In that case, I'm not sure if Python 3 is the only tool affected by this problem, or if there's a way to use |
Status update for version 65: With #351, the Safe Browsing patch needs to be refreshed. |
@Eloston Which problem - the path limit thing? No, I never hit that one. I saw your build doc and took your suggestion of using official Python3.6 binaries and I had a fully updated Win10 system |
At that time, I was wondering what caused your build to fail. But you have solved that already, so yay! (Following quotes are from #359 (comment) )
Hmm, maybe
I believe MSYS2's git does not convert the newlines automatically to CRLF during cloning (the original files are already in LF). I don't know about the version of git you're using.
Noted in build.bat
That is strange, since invoking one of them in an interactive command prompt window sets the variables for me. Not sure what's happening here.
Are you doing this through the extra dependencies mechanism? I would rather extend that than use some hack in buildkit. EDIT: I'm wondering if it's possible to download gperf and bison this way from the SourceForge links through extra dependencies.
I was thinking about using
Noted in aa972bd |
I used a hack in buildkit. I have a PR in #360. You probably won't like it but we can discuss :)
Yes I think the linux_simple approach would be great here. I prefer Python (or really anything that's not Windows batch files). Maybe in this case the same script could be shared between the platforms. |
There'll be some performance penalty using Python's implementation (e.g. Python bottlenecks the Chromium source tree unpacking), but it shouldn't be too bad I suppose. I suppose I didn't make the most rational decision here. I can refactor that script to do this. Also, would you be able to test if |
I just checked and it's not available, nor is anything else that looks similar. A search indicates that as of VS2017 they no longer provide such a variable. It seems the newer way to do it is to use this tool: https://github.com/Microsoft/vswhere |
@squalus So does |
Yeah, it works.
produces:
|
For some reason, #215 causes GitHub's Desktop webpage to crash with Server Error 500, but not their Mobile version. Since this is a bit inconvenient for everyone, this issue is a continuation of the discussion in #215.
Just in case #215 breaks completely, an archive of the Mobile version is here: https://gist.github.com/Eloston/24dab695470deba4c20a0b5683e160b4
The text was updated successfully, but these errors were encountered: