Skip to content

Commit

Permalink
specify cpp17 (fixed build on my mac with clang)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusDunn committed Jan 12, 2024
1 parent d3852af commit a9c321c
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 a9c321c

Please sign in to comment.