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

Export UCRTVersion and UniversalCRTSdkDir #30

Merged
merged 1 commit into from
Mar 17, 2021
Merged

Conversation

triplef
Copy link
Contributor

@triplef triplef commented Mar 17, 2021

These are required to build some components from the Swift toolchain (see actions/runner-images#1652 (comment)). Would be great if they could be exported.

Copy link
Owner

@ilammy ilammy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uh... Sure, why not.

Thank you for noticing this, @triplef!

(I guess I should look into making a diff of the environment before and after running vcvarsall, then exporting everything that changed. That should make this explicit list of variables unnecessary.)

@ilammy ilammy merged commit 38903dd into ilammy:master Mar 17, 2021
@triplef
Copy link
Contributor Author

triplef commented Mar 17, 2021

Thanks for the merge!

I also found this overview of the VS variables helpful:
https://renenyffenegger.ch/notes/Windows/development/Visual-Studio/environment-variables/index

@ilammy
Copy link
Owner

ilammy commented Mar 17, 2021

Whoa, that's a nice analysis!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants