-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Bug: Ccache causing SYCL backend failed to build on Windows #9954
Comments
@shou692199 |
After ccache removed, I can successfully build it. |
OK, looks like the CCache can't support SYCL well. or need some setting. |
Now I know what is the root cause of the problem. After manually passing |
Since the build command is set by |
@ggerganov Can you check this PR out? |
I don't think you have opened a PR. The change in shou692199@8c7c04e seems OK, but it would require testing to make sure it does not break anything. You can open a PR and request feedback. |
@ggerganov Oh sorry. I mentioned you in the wrong place. In fact, a PR has already opened there #9976 |
What happened?
With ccache installed in Windows, trying to build with SYCL by following instructions in https://github.com/ggerganov/llama.cpp/blob/master/docs/backend/SYCL.md#windows.
I found that *.cpp.obj files were unable to be placed in right location but in having them with .o extension in /build folder. This behavior causing linker failed to do the job.
Here is the screenshot:
Name and Version
llama.cpp repository cda0e4b
Windows 11 23H2 10.0.22631.4317
VS2022 Community 17.11.5
Intel oneAPI 2024.2.1
MSVC v143
Ccache 4.10.2
What operating system are you seeing the problem on?
Windows
Relevant log output
The text was updated successfully, but these errors were encountered: