From 30437237a877cefe5a7287d16263f6c98adb4792 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 9 Mar 2018 18:49:28 -0800 Subject: [PATCH] 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... --- src/bootstrap/native.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index 52bf1feaa6c..f923ad46bcb 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -596,7 +596,7 @@ impl Step for Openssl { println!("Building openssl for {}", target); build.run_quiet(Command::new("make").arg("-j1").current_dir(&obj)); println!("Installing openssl for {}", target); - build.run_quiet(Command::new("make").arg("install").current_dir(&obj)); + build.run_quiet(Command::new("make").arg("install").arg("-j1").current_dir(&obj)); let mut f = t!(File::create(&stamp)); t!(f.write_all(OPENSSL_VERS.as_bytes()));