Skip to content

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