-
Notifications
You must be signed in to change notification settings - Fork 789
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
use proto build on mac and linux #6380
Conversation
Although this is green it is not yet working, the proto compiler is still not being used and #6325 is still failing. Working on it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above comments.
fcs/Directory.Build.props
Outdated
@@ -20,8 +20,4 @@ | |||
<DisableCompilerRedirection>true</DisableCompilerRedirection> | |||
</PropertyGroup> | |||
|
|||
<!-- SDK targets override --> | |||
<PropertyGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't believe this is needed because DisableCompilerRedirection
is true
@brettfo I've been having a hell of a time with this one. I think it's ok now, I just managed to complete a build. (I'm only working on it because it blocks my other work, and a lot of my F# vNext PRs are failing because we don't use the proto build on Linux/macOS and they require it.) |
Cool, well, things going better now, at least on Linux and macOS @brettfo the problem was MSBuild node reuse when different MSBuild executions load different FSharp.Build.dll. I disabled node reuse in |
@KevinRansom @brettfo OK, fixed another problem. I had a one character error I have to say, the .NET Core execution of tests under
I had to stare at After this experience I'm really tempted to suggest we junk all of the build infrastructure under |
@brettfo THis is finally ready. I reverted things to contain only the changes needed for bootstrapping |
@brettfo, is this still needed? |
I'm pretty certain this is still needed |
The one remaining question about how to get this "node_reuse" thing specified correctly. |
1 similar comment
@brettfo ping :) |
@dsyme I've been messing a bit with our build, can you either rebase or merge master in again just to make sure this has everything? Otherwise I'm satisfied. |
Error in
|
Dodgy test:
|
@brettfo I believe you still need to mark this as approved @KevinRansom I can't see how the CI failures are related to the PR, though I suppose they might be - is CI running clean for us reliably? |
@dsyme I get some issues with timeouts on downloading packages from time to time, but I don't have any reason to suspect CI not running cleanly as per my own recent PRs. |
@brettfo I don't understand the failure in
It's something to do with the order of loading properties etc. for the I can't work out why this would
|
OK this is green, I'll merge this now. @brettfo I resolved your review since the changes you wanted have been addressed |
The
build.sh
was not correctly using a proto build on macOS and Linux.This means PRs like #6325 were failing because the FSharp.Core.UnitTests must be built with an updated compiler.
The commit has been cherry picked into #6325 - if the mac and linux builds there start to pass then it shows that it's worked