<p dir="ltr"></p>
<p dir="ltr">El 31 oct. 2016 6:25 PM, "Kyle Fazzari" <<a href="mailto:kyle.fazzari@canonical.com">kyle.fazzari@canonical.com</a>> escribió:<br>
><br>
><br>
><br>
> On 10/29/2016 08:14 AM, Joseph Rushton Wakeling wrote:<br>
> > On 27/10/16 10:27, Didier Roche wrote:<br>
> >> Just a note: after a quick double checking , the snapcraft go plugin<br>
> >> relies on ubuntu packages (I think it should rather download latest<br>
> >> stable go and use GOROOT to use it). This isn't the case for other<br>
> >> plugins like nodejs which was the one I had in mind and I still think<br>
> >> you should prefer that road.<br>
> ><br>
> > In principle that should be possible, as there are precompiled downloads<br>
> > of dub available here: <a href="https://code.dlang.org/download">https://code.dlang.org/download</a> Using these<br>
> > could have some advantages, including allowing the user of the plugin to<br>
> > specify the exact version of dub they want to build with.<br>
> ><br>
> > Since there are different Linux downloads for x86, x86-64 and ARM, is<br>
> > there any way for the snapcract plugin to detect what the host system is<br>
> > and download accordingly ... ?<br>
><br>
> Indeed, you can utilize the `self.project.arch_triplet` property for that.</p>
<p dir="ltr">The nodejs plugin actually used this construct if you need a reference.</p>