For artifact builds package "rapl" as part of the common test package and make it available to "mach power"
Categories
(Firefox Build System :: Bootstrap Configuration, defect, P5)
Tracking
(Not tracked)
People
(Reporter: whimboo, Unassigned)
Details
I'm using an artifact build locally and would like to use the rapl binary for power measurement purposes. Sadly it's only build when you run a full build.
As such it would be great if the command would automatically fetch the binary if it's not present on disk.
Comment 1•5 years ago
|
||
I don't know if this is the right component but my quick look as I try to get things out of Core: General makes me think it might be ok :)
Comment 2•5 years ago
•
|
||
Huh, TIL that ./mach power exists, neat!
I think this make sense, but I'm not sure there's time on the build team to resolve this soon :(
| Reporter | ||
Comment 3•5 years ago
|
||
Mitchell, maybe you can link to some examples for other tools? Maybe I can find some time in the next weeks.
Comment 4•5 years ago
|
||
Hmm, good question.
I'd recommend taking a look at how ./mach bootstrap calls ./mach artifact to fetching things like clang.
I believe that there's "toolchain" builds in CI that create and host the packages that ./mach artifact will download, but I'm not entirely sure. Perhaps toolchains.yml is a good lead to follow?
| Reporter | ||
Comment 5•4 years ago
|
||
Mike, do you know if there is already an artifact for rapl as built in CI or uploaded to tooltool that we could download with a fetch task? Thanks.
Comment 6•4 years ago
|
||
It doesn't seem to be shipped anywhere, not even test packages. It's also currently not buildable independently of Firefox.
| Reporter | ||
Comment 7•4 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #6)
It doesn't seem to be shipped anywhere, not even test packages. It's also currently not buildable independently of Firefox.
Hm, is that binary something we could consider building separately? Or maybe just ship as artifact for a Firefox build? It would be kinda helpful.
Comment 8•4 years ago
|
||
It's too tiny to be worth building separately. Stick it in the common test package or something, and pull it from there like we take xpcshell and some other stuff from test packages.
| Reporter | ||
Updated•4 years ago
|
| Reporter | ||
Comment 9•4 years ago
|
||
Thanks Mike! That's a good idea. When I have the time I can have a look at it.
Updated•2 years ago
|
Description
•