Thread overview | ||||||
---|---|---|---|---|---|---|
|
November 21, 2019 [Issue 20405] pipelink.exe ignores LLVMInstallDir property when lld-link.exe is used. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20405 Rainer Schuetze <r.sagitario@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |r.sagitario@gmx.de --- Comment #1 from Rainer Schuetze <r.sagitario@gmx.de> --- I don't find LLVMInstallDir anywhere being used in the VS 2019 installation folders (it is defined in Microsoft.Cpp.Default.props, though). Does it need some special components to be installed? Where do you change/apply this setting? -- |
November 21, 2019 [Issue 20405] pipelink.exe ignores LLVMInstallDir property when lld-link.exe is used. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20405 --- Comment #2 from Richard Manthorpe <rmanth@gmail.com> --- Thanks for looking into this! It needs the Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset component (C++ Clang-cl for v142 build tools). There's no GUI setting for it, you just have to set it in a property group in a project file or a props file. It needs to be set after Microsoft.Cpp.Default.props is loaded. It's mentioned here: https://devblogs.microsoft.com/cppblog/clang-llvm-support-for-msbuild-projects/ -- |
November 22, 2019 [Issue 20405] pipelink.exe ignores LLVMInstallDir property when lld-link.exe is used. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20405 --- Comment #3 from Rainer Schuetze <r.sagitario@gmx.de> --- Works as expected here: - installed the clang components - renamed the VC\Tools\LLVM - switched test project to use clang toolchain (has both cpp and d sources) - added property to set LLVMInstallDir (before importing Microsoft.Cpp.props) - build project -> runs lld-link.exe through pipelink.exe successfully (can be seen in pipelink.read.1.tlog) What's different in your setup? -- |
November 22, 2019 [Issue 20405] pipelink.exe ignores LLVMInstallDir property when lld-link.exe is used. | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20405 Richard Manthorpe <rmanth@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #4 from Richard Manthorpe <rmanth@gmail.com> --- You're absolutely right, I'm not sure why I didn't manage to get that working before. Sorry to waste your time! -- |
Copyright © 1999-2021 by the D Language Foundation