Skip to content

Commit

Permalink
fix: switch default running backend to openblas on x86 linux (TabbyML…
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys authored Aug 30, 2023
1 parent 054aefa commit 57baecb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/prepare_build_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
fi

if [[ "$OSTYPE" == "linux"* ]]; then
sudo apt-get -y install protobuf-compiler
sudo apt-get -y install protobuf-compiler libopenblas-dev
fi
2 changes: 1 addition & 1 deletion crates/ctranslate2-bindings/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fn link_static() -> PathBuf {
config
.define("WITH_MKL", "OFF")
.define("OPENMP_RUNTIME", "NONE")
.define("WITH_RUY", "ON")
.define("WITH_OPENBLAS", "ON")
.cxxflag("-msse4.1")
} else if cfg!(target_os = "macos") {
config
Expand Down

0 comments on commit 57baecb

Please sign in to comment.