View previous topic :: View next topic |
Author |
Message |
lomi n00b
Joined: 09 Jan 2003 Posts: 73
|
Posted: Mon Jul 07, 2003 12:00 am Post subject: emerge suggestion |
|
|
i dont know if this has been suggested before, but some sort of progress indicator for the compilation process of emerging ebuilds would be nice, would be alot less guessing as to how long you have to wait for things to compile for ya . |
|
Back to top |
|
|
dberkholz Retired Dev
Joined: 18 Mar 2003 Posts: 1008 Location: Minneapolis, MN, USA
|
|
Back to top |
|
|
kleppari n00b
Joined: 08 Jun 2003 Posts: 2 Location: Akranes, Iceland
|
Posted: Mon Jul 07, 2003 4:31 am Post subject: |
|
|
How's emerge supposed to *know* how much time is remaining? _________________ Regards, kleppari.
The way humans perceive beauty is intimately related to our ability to process and understand complexity. |
|
Back to top |
|
|
pygoscelis Guru
Joined: 07 Jun 2003 Posts: 402
|
Posted: Mon Jul 07, 2003 5:59 am Post subject: |
|
|
kleppari wrote: | How's emerge supposed to *know* how much time is remaining? |
For instance, by measuring the length of the logfile (preferably in lines, not bytes) and comparing it to a known reference value. Ebuild authors may provide that. This is crude, but hyopefully will be in the right ballpark.
Of course it depends on your USE flags and probably other variables. One may simplify things and assume that each USE flag is responsible for its own section of the build which is independent from all other flags, so ebuild authors only need to measure each flag separately. I don't know what to do with other variables |
|
Back to top |
|
|
lomi n00b
Joined: 09 Jan 2003 Posts: 73
|
Posted: Mon Jul 07, 2003 6:53 am Post subject: |
|
|
ahh ok, how about an approximate compilation time note when you do an emerge -s packagename? |
|
Back to top |
|
|
pygoscelis Guru
Joined: 07 Jun 2003 Posts: 402
|
Posted: Mon Jul 07, 2003 7:04 am Post subject: |
|
|
lomi wrote: | ahh ok, how about an approximate compilation time note when you do an emerge -s packagename? |
This depends on your CPU, mobo, memory, disk, CFLAGS and whatnot. What takes 3 minutes on your machine could well take 30 on mine. |
|
Back to top |
|
|
|