diff --git a/test_regress/driver.py b/test_regress/driver.py index 1c5d96c4b..56ec0604c 100755 --- a/test_regress/driver.py +++ b/test_regress/driver.py @@ -1687,8 +1687,9 @@ class VlTest: return VlTest._cached_aslr_off @property - def build_jobs(self) -> str: - return "--build-jobs " + str(Args.driver_build_jobs_n) + def build_jobs_groups(self) -> str: + return "--build-jobs " + str(Args.driver_build_jobs_n) + " --output-groups " + str( + max(6, Args.driver_build_jobs_n)) @property def driver_verilator_flags(self) -> list: diff --git a/test_regress/t/t_uvm_dpi_v2017_1_0.py b/test_regress/t/t_uvm_dpi_v2017_1_0.py index 42e81f4b6..d0e1795d2 100755 --- a/test_regress/t/t_uvm_dpi_v2017_1_0.py +++ b/test_regress/t/t_uvm_dpi_v2017_1_0.py @@ -17,7 +17,11 @@ if re.search(r'clang', test.cxx_version): test.skip("uvm_regex.cc from upstream has clang warnings") test.compile(verilator_flags2=[ - "--binary", test.build_jobs, "--vpi", "+define+T_V2017_1_0", "+incdir+t/uvm/v2017_1_0", + "--binary", + test.build_jobs_groups, + "--vpi", + "+define+T_V2017_1_0", + "+incdir+t/uvm/v2017_1_0", # test.pli_filename ]) diff --git a/test_regress/t/t_uvm_dpi_v2020_3_1.py b/test_regress/t/t_uvm_dpi_v2020_3_1.py index 288cde74e..7c3039b30 100755 --- a/test_regress/t/t_uvm_dpi_v2020_3_1.py +++ b/test_regress/t/t_uvm_dpi_v2020_3_1.py @@ -17,7 +17,11 @@ if re.search(r'clang', test.cxx_version): test.skip("uvm_regex.cc from upstream has clang warnings") test.compile(verilator_flags2=[ - "--binary", test.build_jobs, "--vpi", "+define+T_V2020_3_1", "+incdir+t/uvm/v2020_3_1", + "--binary", + test.build_jobs_groups, + "--vpi", + "+define+T_V2020_3_1", + "+incdir+t/uvm/v2020_3_1", # test.pli_filename ]) diff --git a/test_regress/t/t_uvm_hello_all_v2017_1_0_dpi.py b/test_regress/t/t_uvm_hello_all_v2017_1_0_dpi.py index c410f628b..300bc7c0a 100755 --- a/test_regress/t/t_uvm_hello_all_v2017_1_0_dpi.py +++ b/test_regress/t/t_uvm_hello_all_v2017_1_0_dpi.py @@ -19,7 +19,7 @@ if test.have_dev_gcov: test.compile(v_flags2=[ "--binary", - test.build_jobs, + test.build_jobs_groups, "--vpi", "--CFLAGS -O0", "-Wall", diff --git a/test_regress/t/t_uvm_hello_all_v2017_1_0_nodpi.py b/test_regress/t/t_uvm_hello_all_v2017_1_0_nodpi.py index 38987d1e9..359dc7ef8 100755 --- a/test_regress/t/t_uvm_hello_all_v2017_1_0_nodpi.py +++ b/test_regress/t/t_uvm_hello_all_v2017_1_0_nodpi.py @@ -18,7 +18,7 @@ if test.have_dev_gcov: test.compile(v_flags2=[ "--binary", - test.build_jobs, + test.build_jobs_groups, "--CFLAGS -O0", "-Wall", "+incdir+t/uvm", # diff --git a/test_regress/t/t_uvm_hello_all_v2020_3_1_dpi.py b/test_regress/t/t_uvm_hello_all_v2020_3_1_dpi.py index b6ffb1f15..4da9b7de7 100755 --- a/test_regress/t/t_uvm_hello_all_v2020_3_1_dpi.py +++ b/test_regress/t/t_uvm_hello_all_v2020_3_1_dpi.py @@ -19,7 +19,7 @@ if test.have_dev_gcov: test.compile(v_flags2=[ "--binary", - test.build_jobs, + test.build_jobs_groups, "--vpi", "--CFLAGS -O0", "-Wall", diff --git a/test_regress/t/t_uvm_hello_all_v2020_3_1_nodpi.py b/test_regress/t/t_uvm_hello_all_v2020_3_1_nodpi.py index 0eeea63df..c4b2139ce 100755 --- a/test_regress/t/t_uvm_hello_all_v2020_3_1_nodpi.py +++ b/test_regress/t/t_uvm_hello_all_v2020_3_1_nodpi.py @@ -18,7 +18,7 @@ if test.have_dev_gcov: test.compile(v_flags2=[ "--binary", - test.build_jobs, + test.build_jobs_groups, "--CFLAGS -O0", "-Wall", "+incdir+t/uvm", # diff --git a/test_regress/t/t_vpi_force.py b/test_regress/t/t_vpi_force.py index 11f04c31a..43b39cb62 100755 --- a/test_regress/t/t_vpi_force.py +++ b/test_regress/t/t_vpi_force.py @@ -11,14 +11,19 @@ import vltest_bootstrap test.scenarios('simulator') -test.compile(make_top_shell=False, - make_main=False, - make_pli=True, - verilator_flags2=[ - "+define+VERILATOR_COMMENTS --binary --vpi", test.build_jobs, "--CFLAGS -O0", - test.pli_filename - ], - v_flags2=["+define+USE_VPI_NOT_DPI"]) +test.compile( + make_top_shell=False, + make_main=False, + make_pli=True, + verilator_flags2=[ + "+define+VERILATOR_COMMENTS", # + "--binary", + "--vpi", + test.build_jobs_groups, + "--CFLAGS -O0", + test.pli_filename + ], + v_flags2=["+define+USE_VPI_NOT_DPI"]) test.execute(xrun_flags2=["+define+USE_VPI_NOT_DPI"], use_libvpi=True, check_finished=True)