Stream: t-compiler/help

Topic: gccfarm


dlrobertson (Jan 29 2019 at 15:04, on Zulip):

Has anyone used gccfarm for compiling rust? If so, any tips/tricks? I got an account and I'd like to start trying it out

dlrobertson (Jan 29 2019 at 15:04, on Zulip):

Also if this is the wrong channel, just let me know and I'll ask elsewhere

nagisa (Jan 29 2019 at 15:04, on Zulip):

I’ve used it for compiling a rust project. The only observation is that for some architectures prebuilt compiler simply does not exist

nagisa (Jan 29 2019 at 15:05, on Zulip):

so you’ll have to bootstrap one for yourself through crosscompilation

dlrobertson (Jan 29 2019 at 15:05, on Zulip):

Good point

dlrobertson (Jan 29 2019 at 15:08, on Zulip):

Did you do your development on the gccfarm box or find a workflow that worked well? I was thinking of just using git extensively so that I'm only compiling on the farm.

Santiago Pastorino (Jan 29 2019 at 15:09, on Zulip):

I’ve used it for compiling a rust project. The only observation is that for some architectures prebuilt compiler simply does not exist

This is interesting, have you used for compiling the compiler itself?

Santiago Pastorino (Jan 29 2019 at 15:09, on Zulip):

does it work fast more or less?

Santiago Pastorino (Jan 29 2019 at 15:10, on Zulip):

I ended with a dedicated server and I know others too

nagisa (Jan 29 2019 at 15:10, on Zulip):

IIRC for those architectures I simply did my tests forgoing rust at the time (since I was debugging assembly code)

nagisa (Jan 29 2019 at 15:10, on Zulip):

gccfarm servers are all native, so yeah, they’re native-fast.

nagisa (Jan 29 2019 at 15:11, on Zulip):

you can expect good performance from powerpc boxes, for example

nagisa (Jan 29 2019 at 15:11, on Zulip):

I generally do my devt. on a buildbox I have at home. Its a ryzen-based thing.

dlrobertson (Jan 29 2019 at 15:12, on Zulip):

Nice!

nagisa (Jan 29 2019 at 15:12, on Zulip):

gccfarm I use for when qemu emulation is insufficient for running stuff well.

nagisa (Jan 29 2019 at 15:12, on Zulip):

this most notably includes sparc targets.

dlrobertson (Jan 29 2019 at 15:13, on Zulip):

Yeah super cool that they have so many architectures. I'd really like to test out VaList on some of them

nagisa (Jan 29 2019 at 15:13, on Zulip):

(oh and ARM targets, because I have never figured out how to get linux run on any of the boards it supports...)

Santiago Pastorino (Jan 29 2019 at 15:14, on Zulip):

does the project need to be approved or they just approve accounts?

dlrobertson (Jan 29 2019 at 15:14, on Zulip):

I think rust is already an approved project

Santiago Pastorino (Jan 29 2019 at 15:14, on Zulip):

if I remember correctly I think I've read something about project approval, but I might be wrong

nagisa (Jan 29 2019 at 15:14, on Zulip):

they approve accounts, but to get one you must provide an opensource project you’re a contributor of.

Santiago Pastorino (Jan 29 2019 at 15:14, on Zulip):

ok, great

Santiago Pastorino (Jan 29 2019 at 15:14, on Zulip):

worth to try out

Santiago Pastorino (Jan 29 2019 at 15:15, on Zulip):

@dlrobertson please do comment about your experience :)

dlrobertson (Jan 29 2019 at 15:15, on Zulip):

https://cfarm.tetaneutral.net/users/new/

dlrobertson (Jan 29 2019 at 15:15, on Zulip):

^ filled that out and listed my GitHub account and the projects I contribute to

dlrobertson (Jan 29 2019 at 15:15, on Zulip):

which is mostly servo and rust these days

dlrobertson (Jan 29 2019 at 15:16, on Zulip):

and I got a response pretty quickly

dlrobertson (Jan 29 2019 at 15:17, on Zulip):

After they approve you, just upload your SSH keys and wait for them to sync to the nodes in the farm

dlrobertson (Jan 29 2019 at 15:18, on Zulip):

@Santiago Pastorino does that help?

Santiago Pastorino (Jan 29 2019 at 15:19, on Zulip):

yeah, I was mainly asking for information about rustc compilation times and all that :)

Santiago Pastorino (Jan 29 2019 at 15:19, on Zulip):

what's the experience on working on those servers

dlrobertson (Jan 29 2019 at 15:19, on Zulip):

oh, haven't compiled one yet

Santiago Pastorino (Jan 29 2019 at 15:19, on Zulip):

unsure how much memory do you have available and how many cores and all that

dlrobertson (Jan 29 2019 at 15:20, on Zulip):

:+1: I'll let you know how it goes

Santiago Pastorino (Jan 29 2019 at 15:20, on Zulip):

oh, haven't compiled one yet

yeah, just asking you if you can provide info after you get a feeling :)

nagisa (Jan 29 2019 at 15:24, on Zulip):

List of machines has the information: https://cfarm.tetaneutral.net/machines/list/

nagisa (Jan 29 2019 at 15:25, on Zulip):

You can find machines with as many as 120 threads and 256GB or RAM :slight_smile:

Santiago Pastorino (Jan 29 2019 at 15:30, on Zulip):

:)

Last update: Nov 11 2019 at 22:00UTC