IRC logs for #buildstream for Wednesday, 2017-03-01

*** xjuan has quit IRC00:32
*** tristan has joined #buildstream04:12
*** ChanServ sets mode: +o tristan04:12
*** tristan has quit IRC04:57
*** tristan has joined #buildstream05:14
*** ChanServ sets mode: +o tristan05:19
tristanjuergbi, interestingly I'm finding that, while the depth sort is still good for prefetching sources in a decent order, I need to change the scheduler so that elements are moved from one queue to the next differently09:10
tristanI have a situation where a clone of linux.git is blocking the scheduler, where there are buildable elements behind it09:11
tristan(which I could already be building)09:11
juergbitristan: at least in my wip branch the scheduler checked all fetched elements whether they can be moved to the build queue when the build queue is shorter than the number of available builders09:14
juergbii.e., there shouldn't be any blocking in that scenario, iirc09:14
tristanI might be wrong :-/09:17
tristannow I see there are failures (installs which do setcap)09:17
tristanjuergbi, I think you're right, everything that passes through the fetch queue ends up on the build queue09:18
tristanregardless of whether a fetch was needed (and the whole plan goes on to the fetch queue first at once)09:18
juergbiyes, that's how i remember it as well09:19
tristanI run `bst show` regularly during a long build, but the 'buildable' elements it shows are the ones which failed09:20
juergbihm, at the point when an element build is triggered, it is (or used to be) removed from the build queue09:21
juergbiwhich would mean that at the point of a build failure, it can't still be in the build queue09:21
tristanjuergbi, yeah but since it's a looong build, I run `bst show` on the same pipeline in a different terminal :)09:24
tristanSo I can see what remains to be built and what we've built09:24
tristanwhen there are ~500 elements, it's nice to check sometimes :)09:24
* tristan realizes this pipeline is breaking because of arch, it should be 32bit but I did not do it under linux3209:26
* tristan will still wait for the linux.git download to complete09:26
tristanwould be nice to automate that part in the sandbox09:27
tristanfor host compatible arches09:27
*** ssam2 has joined #buildstream10:12
ironfootis the arch of the host being used in the cache key calculation?10:41
tristanironfoot, Yes, unless you override it with `bst build --arch foo`10:49
tristanin which case, the argument will be used instead of detected uname arch10:49
tristanironfoot, my plans for this are a bit vague at the moment, but what I'm hoping for is for the BuildStream core to not care too much about arch, and not have any kind of specific list of supported arches10:50
tristanor what they mean10:50
tristanironfoot, for the baserock definitions conversion, it expects the arch names that baserock supports and is pretty much handled in the project.conf10:51
tristanfor flatpaks, it will need to support x86_64, i386, arm and aarch6410:52
tristanwhere i386 is actually i58610:52
tristanand arm is actually an armv7a on steroids10:52
ssam2yeah, if buildstream wants to be generic then it can't really hardcode a list of arches10:53
ssam2since every community uses the same names to mean different hings10:53
ssam2*things10:53
tristanright10:57
tristanso right now I'm "doing nothing" until something becomes necessary, and so far it's working :)10:58
jjardonFWIW. the list of arches is in DEFAULTS in definitions11:10
ssam2the mapping to GNU triples is somewhere else though11:11
tristanssam2, that was in ybd sandbox.py, but we have it with arch conditionals in the project.conf11:11
tristanAnd, while porting build-essential, I believe I have found that the lists are inaccurate11:12
tristanI think they are not consistently supported across chunks in build-essential11:12
ssam2not sure what you mean. I'm sure there's only enough support to work on the platforms we've tested on11:23
tristanssam2, I dont recall exactly either, and I might be thinking about a mix of what definitions says and what hard code in ybd says11:26
*** tristan has quit IRC13:11
*** tiagogomes has quit IRC14:49
*** tiagogomes has joined #buildstream14:50
*** mint has joined #buildstream15:03
*** mint has quit IRC15:26
*** tristan has joined #buildstream16:18
*** ssam2 has quit IRC18:02
*** tristan has quit IRC19:49
*** hergertme has joined #buildstream23:03

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!