mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-27 13:20:34 +00:00
pkg/kernel: run distclean with -jNCPU
This commit is contained in:
parent
4fce9bf152
commit
1944eeb95d
@ -53,7 +53,8 @@ func Build(dir, compiler, config string) error {
|
||||
}
|
||||
|
||||
func Clean(dir string) error {
|
||||
cmd := osutil.Command("make", "distclean")
|
||||
cpu := strconv.Itoa(runtime.NumCPU())
|
||||
cmd := osutil.Command("make", "distclean", "-j", cpu)
|
||||
if err := osutil.Sandbox(cmd, true, true); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user