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...
This commit is contained in:
Alex Crichton 2018-03-09 18:49:28 -08:00
parent 89115c098f
commit 30437237a8

View File

@ -596,7 +596,7 @@ fn run(self, builder: &Builder) {
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()));