Fix performance degradation when --threads is used with --hierarchical (Issue #2562) #2581

This commit is contained in:
Yutetsu TAKATSUKASA
2020-10-05 08:20:49 +09:00
committed by GitHub
parent efbcb094ca
commit c5da072ff6
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -504,7 +504,7 @@ string V3Options::filePathCheckOneDir(const string& modname, const string& dirna
int V3Options::stripOptionsForChildRun(const string& opt, bool forTop) const {
if (opt == "Mdir" || opt == "clk" || opt == "f" || opt == "j" || opt == "l2-name"
|| opt == "mod-prefix" || opt == "prefix" || opt == "protect-lib" || opt == "protect-key"
|| opt == "top-module" || opt == "v") {
|| opt == "threads" || opt == "top-module" || opt == "v") {
return 2;
}
if (opt == "build" || (!forTop && (opt == "cc" || opt == "exe" || opt == "sc"))