Skip to content

Handle LLVMInstallDir not being set for llvm tools integration #71385

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

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

akrieger
Copy link
Member

Summary

None

Purpose of change

Newer Visual Studio 2022 previews changed the build variables that are set when llvm tools are installed. There doesn't seem to be a guaranteed one for where one can find the preinstalled llvm tools anymore. This then breaks the thin archives integration.

Describe the solution

Use a fallback hardcoded path derived from $(VCInstallDir). There was at least one MSDN article that stated essentially the same.

Describe alternatives you've considered

Testing

Can build locally with thin archives again.

Additional context

@github-actions github-actions bot added the astyled astyled PR, label is assigned by github actions label Jan 31, 2024
@github-actions github-actions bot added json-styled JSON lint passed, label assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels Jan 31, 2024
@Maleclypse Maleclypse merged commit 30a7e9c into CleverRaven:master Feb 1, 2024
@akrieger akrieger deleted the macrosoft_whyyy branch February 2, 2024 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants