From cb17913004259b6e0908a477a67e5a6b621b5c1c Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Tue, 15 Oct 2024 21:32:38 -0700 Subject: [PATCH] limit sby to one thread each since it seems not to respect job count in parallel mode --- crates/fayalite/src/cli.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/fayalite/src/cli.rs b/crates/fayalite/src/cli.rs index a236c77..1030474 100644 --- a/crates/fayalite/src/cli.rs +++ b/crates/fayalite/src/cli.rs @@ -610,6 +610,7 @@ impl FormalArgs { }); std::fs::write(&sby_file, sby_contents)?; let mut cmd = process::Command::new(&self.sby); + cmd.arg("-j1"); // sby seems not to respect job count in parallel mode cmd.arg("-f"); cmd.arg(sby_file.file_name().unwrap()); cmd.args(&self.sby_extra_args);