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

LLVM Windows-Runner #244

Open
emrekovanci opened this issue Apr 20, 2024 · 0 comments
Open

LLVM Windows-Runner #244

emrekovanci opened this issue Apr 20, 2024 · 0 comments

Comments

@emrekovanci
Copy link

emrekovanci commented Apr 20, 2024

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!


Fund with Polar
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

1 participant