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: detect VS installation directory #1198

Merged
merged 1 commit into from
Aug 10, 2016
Merged

fix: detect VS installation directory #1198

merged 1 commit into from
Aug 10, 2016

Conversation

ivan-kalev
Copy link
Contributor

Really fix #560.

Allow build_vcvarsall_vs_path(v) to be invoked with VS version strings in Major.Minor format. Currently this function assumes that its argument is in MajorMinor format, which is not always the case. This causes VS installation path detection to fail.

@msarahan
Copy link
Contributor

Thanks. This is a good consistency improvement. As far as I can tell, the environment variable stuff was working, but the manual fallback would have been broken. This makes everything work. Is that right?

@ivan-kalev
Copy link
Contributor Author

It's actually the other way around -- version is passed in x.0 format (contrary to what the docstring used to say), which resulted in building an incorrect environment variable name: VSx.00COMNTOOLS instead of VSx0COMNTOOLS. So the environment variable stuff was broken.

@msarahan
Copy link
Contributor

Ah, yes. Thanks for clarifying. Merging.

@msarahan msarahan merged commit 2e948ca into conda:1.21.x Aug 10, 2016
@ivan-kalev ivan-kalev deleted the 1.21.x branch August 10, 2016 14:04
@github-actions github-actions bot added the locked [bot] locked due to inactivity label May 13, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants