-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Fixes for Windows #2790
Fixes for Windows #2790
Conversation
foldl
commented
Feb 5, 2025
- MSVC default to utf-8 without BOM.
- Console output code page changed to utf-8.
* MSVC default to utf-8 without BOM. * Console output code page changed to utf-8.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why the CUDA build failed - restarted it just now.
add_compile_options("$<$<COMPILE_LANGUAGE:C>:/utf-8>") | ||
add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:/utf-8>") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw, which source files require this flag? I am wondering because in llama.cpp
we don't seem to need this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whisper.cpp
requires this flag:
Line 4849 in 46d07b9
"_", "`", "{", "|", "}", "~", "「", "」", "『", "』", "<<", ">>", "<<<", ">>>", "--", |
There are such flags in llama.cpp
:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Merge at will.