@@ -141,16 +141,9 @@ def subrun(cmd, test_dir=False, silent=False, ignore_failure=False, color=False)
141
141
return (output , r .returncode )
142
142
143
143
144
- def sync ():
145
- # Ensure that e.g. config updates are sync'd before running make - have occasionally observed errors
146
- # that might have come from make not seeing the changes to the config that have just been written.
147
- subrun (["sync" , ROOT ], silent = True )
148
-
149
-
150
144
def clean ():
151
145
log ("make clean" )
152
146
subrun (["make" , "clean" ], silent = True )
153
- sync ()
154
147
155
148
156
149
def toolchain_exes (target ):
@@ -585,8 +578,6 @@ def configure_options(target):
585
578
backup_config_options (crypto_config_file )
586
579
log (f"cp { new_crypto_config } { crypto_config_file } " )
587
580
shutil .copy (new_crypto_config , crypto_config_file )
588
-
589
- sync ()
590
581
591
582
# apply bulk config.py settings to main config file
592
583
for config in config_py_groups :
@@ -618,8 +609,6 @@ def configure_options(target):
618
609
if crypto_config_file is None :
619
610
crypto_config_file = get_crypto_config_file ()
620
611
set_config_option (action , config , crypto_config_file , silent = False )
621
-
622
- sync ()
623
612
624
613
625
614
def flags_to_hr_str (flags ):
@@ -720,8 +709,6 @@ def build(target, tests):
720
709
log (f"{ make_log } -C { TEST_DIR } { ' ' .join (tests )} { flags_to_hr_str (flags )} " )
721
710
subrun (make_cmd + tests + flags , test_dir = True , silent = True , color = True )
722
711
723
- sync ()
724
-
725
712
if args .tests :
726
713
log (subrun (["file" , tests [0 ]], test_dir = True , silent = True )[0 ].strip ())
727
714
log ("ok" )
0 commit comments