fix: switch default running backend to openblas on x86 linux (#380)
parent
054aefaf15
commit
57baecb370
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue