@@ -76,7 +76,7 @@ subroutine output_status_compiling(progress, queue_index)
76
76
77
77
character (:), allocatable :: target_name
78
78
character (100 ) :: output_string
79
- character (100 ) :: overall_progress
79
+ character (7 ) :: overall_progress
80
80
81
81
associate(target = >progress% target_queue(queue_index)% ptr)
82
82
@@ -86,12 +86,12 @@ subroutine output_status_compiling(progress, queue_index)
86
86
target_name = basename(target % output_file)
87
87
end if
88
88
89
- write (overall_progress,' (A,I4 ,A)' ) ' [' ,100 * progress% n_complete/ progress% n_target,' %]'
89
+ write (overall_progress,' (A,I3 ,A)' ) ' [' ,100 * progress% n_complete/ progress% n_target,' %] '
90
90
91
91
if (progress% plain_mode) then ! Plain output
92
92
93
93
! $omp critical
94
- write (* ,' (A8 ,A30)' ) trim ( overall_progress) ,target_name
94
+ write (* ,' (A7 ,A30)' ) overall_progress,target_name
95
95
! $omp end critical
96
96
97
97
else ! Pretty output
@@ -100,7 +100,7 @@ subroutine output_status_compiling(progress, queue_index)
100
100
101
101
call progress% console% write_line(trim (output_string),progress% output_lines(queue_index))
102
102
103
- call progress% console% write_line(trim ( overall_progress) // ' Compiling...' ,advance= .false. )
103
+ call progress% console% write_line(overall_progress// ' Compiling...' ,advance= .false. )
104
104
105
105
end if
106
106
@@ -119,7 +119,7 @@ subroutine output_status_complete(progress, queue_index, build_stat)
119
119
120
120
character (:), allocatable :: target_name
121
121
character (100 ) :: output_string
122
- character (100 ) :: overall_progress
122
+ character (7 ) :: overall_progress
123
123
124
124
! $omp critical
125
125
progress% n_complete = progress% n_complete + 1
@@ -139,19 +139,19 @@ subroutine output_status_complete(progress, queue_index, build_stat)
139
139
write (output_string,' (A,T40,A,A)' ) target_name,COLOR_RED// ' failed.' // COLOR_RESET
140
140
end if
141
141
142
- write (overall_progress,' (A,I4 ,A)' ) ' [' ,100 * progress% n_complete/ progress% n_target,' %] '
142
+ write (overall_progress,' (A,I3 ,A)' ) ' [' ,100 * progress% n_complete/ progress% n_target,' %] '
143
143
144
144
if (progress% plain_mode) then ! Plain output
145
145
146
146
! $omp critical
147
- write (* ,' (A8 ,A30,A7)' ) trim ( overall_progress) ,target_name, ' done.'
147
+ write (* ,' (A7 ,A30,A7)' ) overall_progress,target_name, ' done.'
148
148
! $omp end critical
149
149
150
150
else ! Pretty output
151
151
152
152
call progress% console% update_line(progress% output_lines(queue_index),trim (output_string))
153
153
154
- call progress% console% write_line(trim ( overall_progress) // ' Compiling...' ,advance= .false. )
154
+ call progress% console% write_line(overall_progress// ' Compiling...' ,advance= .false. )
155
155
156
156
end if
157
157
0 commit comments