fix: switch default running backend to openblas on x86 linux (#380)
parent
054aefaf15
commit
57baecb370
|
|
@ -5,5 +5,5 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$OSTYPE" == "linux"* ]]; then
|
if [[ "$OSTYPE" == "linux"* ]]; then
|
||||||
sudo apt-get -y install protobuf-compiler
|
sudo apt-get -y install protobuf-compiler libopenblas-dev
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ fn link_static() -> PathBuf {
|
||||||
config
|
config
|
||||||
.define("WITH_MKL", "OFF")
|
.define("WITH_MKL", "OFF")
|
||||||
.define("OPENMP_RUNTIME", "NONE")
|
.define("OPENMP_RUNTIME", "NONE")
|
||||||
.define("WITH_RUY", "ON")
|
.define("WITH_OPENBLAS", "ON")
|
||||||
.cxxflag("-msse4.1")
|
.cxxflag("-msse4.1")
|
||||||
} else if cfg!(target_os = "macos") {
|
} else if cfg!(target_os = "macos") {
|
||||||
config
|
config
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue