Skip to content

Commit

Permalink
Merge pull request #11 from utilityai/specify-cpp17
Browse files Browse the repository at this point in the history
specify cpp17 (fixed build on my mac with clang)
  • Loading branch information
MarcusDunn authored Jan 12, 2024
2 parents d3852af + a9c321c commit 355fcde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions llama-cpp-sys-2/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ fn main() {

llama_build
.cpp(true)
.flag_if_supported("--std=c++17")
.include("llama.cpp");

if cublas_enabled {
Expand Down

0 comments on commit 355fcde

Please sign in to comment.