[RTEMS Project] #3516: sb-set-builder should report disk usage of build

RTEMS trac trac at rtems.org
Mon Sep 17 04:06:24 UTC 2018


#3516: sb-set-builder should report disk usage of build
---------------------------+--------------------------
 Reporter:  Joel Sherrill  |       Owner:  Chris Johns
     Type:  enhancement    |      Status:  assigned
 Priority:  normal         |   Milestone:  5.1
Component:  tool/rsb       |     Version:  5
 Severity:  normal         |  Resolution:
 Keywords:                 |  Blocked By:
 Blocking:                 |
---------------------------+--------------------------

Comment (by Chris Johns):

 Replying to [comment:6 Chris Johns]:
 > I have taken a look at implementing this and it is not easy and complex
 to do so I do not think I will adding this feature.
 >
 > The prep, build and clean are all part of a shell script that is
 generated and run and while I could add some `du` commands to the script
 to dump the sizes there is no way to capture the output in a way that can
 be reported.

 I have taken a further look and it looks like the `clean` phase of the
 script is not being used and the RSB is cleaning a build in Python. This
 makes implementing something possible. I still need to check all the
 `.cfg` files to see if this is true.

 The issue is any shell variables defined in one phase could be used in
 another phase and splitting the scripts means the variables or settings
 will not seen in subsequent phases.

--
Ticket URL: <http://devel.rtems.org/ticket/3516#comment:7>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list