Skip to content

Commit 3043723

Browse files
committed
rustbuild: Pass -j1 to OpenSSL make install
We explicitly do this when compiling OpenSSL itself due to weird racy issues in its build system, and now we've started seeing issues in the `make install` step so let's try and see what ratcheting down the parallelism does here...
1 parent 89115c0 commit 3043723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/native.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ impl Step for Openssl {
596596
println!("Building openssl for {}", target);
597597
build.run_quiet(Command::new("make").arg("-j1").current_dir(&obj));
598598
println!("Installing openssl for {}", target);
599-
build.run_quiet(Command::new("make").arg("install").current_dir(&obj));
599+
build.run_quiet(Command::new("make").arg("install").arg("-j1").current_dir(&obj));
600600

601601
let mut f = t!(File::create(&stamp));
602602
t!(f.write_all(OPENSSL_VERS.as_bytes()));

0 commit comments

Comments
 (0)