LLVM Windows-Runner
Hi there,
I'm using setup-cpp in my CMake based project(Visual Studio 17 2022 Generator + ClangCL as Compiler) on Windows 22 in GitHub Actions.
The project compiles without errors, but I'm getting warnings about lld-link on LLVM compilers. I think the folder where the warning occurs is included with the llvm installed by setup-cpp. I don't have much knowledge about LLVM and the environment, what could possible solutions be? Could it be because of a mistake I made in my workflow or is it related to setup-cpp?
Thanks, have a nice day.
Repo: https://github.com/emrekovanci/Template-CPP/tree/develop (Develop Branch) Workflow: https://github.com/emrekovanci/Template-CPP/blob/develop/.github/workflows/ci.yml Example Windows-LLVM Job Logs: https://github.com/emrekovanci/Template-CPP/actions/runs/8766534768/job/24058791389
1>Checking Build System
Building Custom Rule D:/a/Template-CPP/Template-CPP/library/CMakeLists.txt
lld-link : warning : ignoring unknown argument '-L"C:\hostedtoolcache\windows\llvm\17.0.6\x64/lib"' [D:\a\Template-CPP\Template-CPP\build\windows_vs2022_clangcl\library\Core.vcxproj]
Core.vcxproj -> D:\a\Template-CPP\Template-CPP\build\windows_vs2022_clangcl\library\Debug\Core.dll
Building Custom Rule D:/a/Template-CPP/Template-CPP/app/CMakeLists.txt
lld-link : warning : ignoring unknown argument '-L"C:\hostedtoolcache\windows\llvm\17.0.6\x64/lib"' [D:\a\Template-CPP\Template-CPP\build\windows_vs2022_clangcl\app\Application.vcxproj]
Application.vcxproj -> D:\a\Template-CPP\Template-CPP\build\windows_vs2022_clangcl\app\Debug\Application.exe
Building Custom Rule D:/a/Template-CPP/Template-CPP/library/test/CMakeLists.txt
lld-link : warning : ignoring unknown argument '-L"C:\hostedtoolcache\windows\llvm\17.0.6\x64/lib"' [D:\a\Template-CPP\Template-CPP\build\windows_vs2022_clangcl\library\test\CoreTests.vcxproj]
CoreTests.vcxproj -> D:\a\Template-CPP\Template-CPP\build\windows_vs2022_clangcl\library\test\Debug\CoreTests.exe
Building Custom Rule D:/a/Template-CPP/Template-CPP/CMakeLists.txt
Upvote & Fund
@aminya is using Polar.sh so you can upvote and help fund this issue. The funding is received once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog!