1 |
On Mon, 2013-02-18 at 18:27 -0500, Rich Freeman wrote: |
2 |
> Gentoo's reason for being isn't so that we can compile stuff every |
3 |
> time we solve it. That is just a means to an end. The reason for |
4 |
> being is so that we have a much higher level of control over what ends |
5 |
> up getting installed. If users could get the same binary they would |
6 |
> have gotten by compiling things themselves without actually having to |
7 |
> compile it, I doubt anybody would miss the build time. |
8 |
|
9 |
That's what I meant but it wasn't well expressed, you're right. |
10 |
|
11 |
> My basic point is that if you manage to solve the problems that |
12 |
> prevent an ad-hoc distribute compiler infrastructure from working, |
13 |
> chances are that you could just build a library of binary packages |
14 |
> with just as many supported options/permutations. |
15 |
|
16 |
Tell me if I'm wrong but when I look at the gcc man I can see a huge set |
17 |
of options (even if you only take optimization and machine dependent |
18 |
options). Building one package with all combination already seems |
19 |
unthinkable to me. I just can't imagine building a whole repository that |
20 |
way. Moreover most of the built packages wouldn't be ever downloaded. |
21 |
Whereas ad-hoc compiling just need to be run on the same architecture. |
22 |
|
23 |
Yet I agree with you when you say "Why distribute all the |
24 |
compiling when you can just ask for what should be an identical final |
25 |
executable?". Maybe a combination of both could be good. The client just |
26 |
ask a server if package X with USE flags "a -b c" and gcc options |
27 |
"--foo=b -a -r" have already been compiled. If yes, the client just have |
28 |
to download the binary. If no, the server (which needs to be trusted) |
29 |
does the job and stores the result for the next requests. Which joins |
30 |
the single organization idea you stated in your first message. |
31 |
|
32 |
Regards, |
33 |
|
34 |
Antoine Pinsard |