Skip to content
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

Fix build break in coreclr where -os is not supported in Windows #34358

Merged
merged 1 commit into from
Apr 1, 2020

Conversation

safern
Copy link
Member

@safern safern commented Apr 1, 2020

Windows doesn't support -os argument since it is always Windows and in PR #34000, this two arguments were introduced with a failing build on Windows.

@am11
Copy link
Member

am11 commented Apr 1, 2020

I was thinking since a special variable is declared

set __TargetOS=Windows_NT
, maybe we could just -os option? which seems to be rather missing from the script, if the intention of having separate variable was to support different values in future.

@safern
Copy link
Member Author

safern commented Apr 1, 2020

, maybe we could just -os option? which seems to be rather missing from the script, if the intention of having separate variable was to support different values in future.

Do you see any value in the .cmd file? We can't cross target in windows, except for the linux and alpine dac, which have separate arguments, which is why the __TargetOS variable exists for?

Let's unblock CI and we can keep the discussion about this.

@jkotas jkotas merged commit a4fa31e into dotnet:master Apr 1, 2020
@safern safern deleted the FixOsBuildBreak branch April 1, 2020 17:16
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants