Skip to content

Commit 0c500f7

Browse files
committed
Fix parallel build issue for OpenBLAS
See OpenMathLib/OpenBLAS#3983
1 parent ea58909 commit 0c500f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

openblas-build/src/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ impl Configure {
460460
.stdout(out)
461461
.stderr(err)
462462
.args(&self.make_args())
463-
.args(["libs", "netlib", "shared"])
463+
.args(["all"])
464464
.env_remove("TARGET")
465465
.check_call()
466466
{

openblas-src/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ fn build() {
202202

203203
let output = PathBuf::from(env::var("OUT_DIR").unwrap().replace(r"\", "/"));
204204
let mut make = Command::new("make");
205-
make.args(&["libs", "netlib", "shared"])
205+
make.args(&["all"])
206206
.arg(format!("BINARY={}", binary()))
207207
.arg(format!(
208208
"{}_CBLAS=1",

0 commit comments

Comments
 (0)