Skip to content

Commit

Permalink
potential fix for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuk committed Mar 14, 2024
1 parent ac0099f commit 3c616fb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/llm-chain-gemma-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ fn main() {
let code = std::process::Command::new("cmake")
.arg("--build")
.arg(".")
.arg("--config Release")
.arg("--")
.arg("--config")
.arg("Release")
.arg("--target")
.arg("libgemma")
.status()
.expect("Failed to build lib");
Expand Down Expand Up @@ -125,7 +126,7 @@ fn main() {
cc::Build::new()
.cpp(true)
.file("src/bindings.cc")
.flag("--std=c++17")
.std("c++17")
.include("./gemma.cpp")
.include("./gemma.cpp/build/_deps/highway-src")
.include("./gemma.cpp/build/_deps/sentencepiece-src")
Expand Down

0 comments on commit 3c616fb

Please sign in to comment.