Cleanup of old progress bar code
This commit is contained in:
parent
a91dbb39b2
commit
6599432c75
|
@ -83,9 +83,6 @@ def install_lib(lib, src_dir, work_dir, inst_dir, comp_cc, comp_cxx, comp_fc, bu
|
||||||
finished = False
|
finished = False
|
||||||
while build_task.poll() is None:
|
while build_task.poll() is None:
|
||||||
if not finished:
|
if not finished:
|
||||||
# bar_width = num_objects
|
|
||||||
# while (bar_width > 100):
|
|
||||||
# bar_width = int(bar_width/10)
|
|
||||||
bar_width = 50
|
bar_width = 50
|
||||||
for i in progressbar(range(num_objects), "Building library: ", bar_width):
|
for i in progressbar(range(num_objects), "Building library: ", bar_width):
|
||||||
while len(glob.glob('**/*.o', recursive=True)) < i:
|
while len(glob.glob('**/*.o', recursive=True)) < i:
|
||||||
|
|
Loading…
Reference in New Issue