Skip to content

Export UCRTVersion and UniversalCRTSdkDir - #30

Merged
ilammy merged 1 commit into
ilammy:masterfrom
triplef:master
Mar 17, 2021
Merged

ilammy merged 1 commit into
ilammy:masterfrom
triplef:master

Conversation

@triplef

@triplef triplef commented Mar 17, 2021

Copy link
Copy Markdown
Contributor

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.

@ilammy ilammy left a comment

Copy link
Copy Markdown
Owner

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

triplef commented Mar 17, 2021

Copy link
Copy Markdown
Contributor Author

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

ilammy commented Mar 17, 2021

Copy link
Copy Markdown
Owner

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