We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a9ab15 commit b6e0bf7Copy full SHA for b6e0bf7
llama-cpp-sys-2/build.rs
@@ -54,11 +54,11 @@ fn main() {
54
.include("llama.cpp");
55
56
if ggml_cuda.get_compiler().is_like_msvc() {
57
- // someone with windows should check if this works @ cc++11
58
- // this case was added when we used c++17 (which was not what llama.cpp used)
59
ggml_cuda.std("c++14");
60
} else {
61
- ggml_cuda.std("c++11");
+ ggml_cuda
+ .flag("-std=c++11")
+ .std("c++11");
62
}
63
64
ggml.define("GGML_USE_CUBLAS", None);
0 commit comments