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

Detect LLVM installation directory in visual studio on Windows #166

Closed
ikey4u opened this issue Jan 5, 2024 · 1 comment
Closed

Detect LLVM installation directory in visual studio on Windows #166

ikey4u opened this issue Jan 5, 2024 · 1 comment

Comments

@ikey4u
Copy link

ikey4u commented Jan 5, 2024

Hi! As @perqin mentioned here #121, visual studio does install Llvm into directory like

C:\Program Files*\Microsoft Visual Studio\*\VC\Tools\Llvm

And this path is mentioned in visual studio document here:

It links with the Microsoft implementation of the Standard Library. By default, clang-cl.exe is located in %VCINSTALLDIR%\Tools\Llvm\bin\ and %VCINSTALLDIR%\Tools\Llvm\x64\bin.

If you think it's alright, I would be happy to submit a patch and assist with related testing.

@KyleMayes
Copy link
Owner

I've released v1.8.1 which removed BuildTools from the search path for Visual Studio (see above referenced commit), so it should be better at detecting libclang in this case.

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

No branches or pull requests

2 participants