1 |
Hi, |
2 |
|
3 |
At Sat, 1 Nov 2003 22:41:27 +0000 (UTC), |
4 |
Ferris McCormick wrote: |
5 |
|
6 |
> However, on one note, yesterday I mentioned that it would be |
7 |
> nice if I could pass in a redefinition of the gc heap space size. |
8 |
> With the ruby-1.8 build, at least, this time around something |
9 |
> like |
10 |
> CFLAGS='-DGC_MALLOC_LIMIT=32000000 -O3 -mcpu=ultrassparc -pipe' \ |
11 |
> emerge .... |
12 |
> does this for me. |
13 |
|
14 |
I modified ruby-1.8.0-r1 and ruby-1.8.1_pre2 to pass |
15 |
RUBY_GC_MALLOC_LIMIT as GC_MALLOC_LIMIT. You can write |
16 |
"RUBY_GC_MALLOC_LIMIT=32000000" to /etc/make.conf or set |
17 |
RUBY_GC_MALLOC_LIMIT environment variable to 32000000 and emerge ruby |
18 |
again. |
19 |
|
20 |
At Sun, 2 Nov 2003 16:08:41 +0000 (UTC), |
21 |
Ferris McCormick wrote: |
22 |
|
23 |
> If I may make a couple suggestions: |
24 |
> |
25 |
> 1. Something like 'ruby-config' would be nice for switching between |
26 |
> the two and for quickly reminding you which is currently default |
27 |
> (I think all it has to do is adjust three soft links and env-update?) |
28 |
|
29 |
Sounds nice. Thanks for the suggestions. I'll write one shortly. Just |
30 |
FYI, currently ruby ebuilds use alternatives.eclass to choose default |
31 |
version (so there is no handy way to change default version after merge). |
32 |
|
33 |
> 2. It would be nice if when you have "USE=-ruby18" if |
34 |
> USE="-ruby18" CFLAGS="..." emerge ruby-1.8.0-r1.ebuild |
35 |
> forcing ruby-1.8.0-r1 install didn't adjust the links to make ruby-1.8 |
36 |
> the default, because |
37 |
> a. User extensions (like GSL) are version dependent; |
38 |
> b. Some applications --- vim comes to mind --- need to be |
39 |
> built for a specific ruby version; |
40 |
> c. If I have USE="ruby -ruby18" I think I am saying that I |
41 |
> want applications built for ruby support assuming ruby16, |
42 |
> and the emerge process ought to honor that request (by leaving |
43 |
> ruby16 as default.) |
44 |
|
45 |
Sorry, this is rathar a bug. I forgot to add ruby18 USE flag to |
46 |
ruby-1.8 ebuilds and it shouldn't set ruby-1.8 default if ruby-1.6 is |
47 |
installed. I added ruby18 USE flag to them, so if you want ruby-1.8 as |
48 |
default ruby, please set ruby18 USE flag (this will be changed after |
49 |
ruby-1.8 become stable). |
50 |
|
51 |
-- |
52 |
Mamoru KOMACHI <usata@g.o> |
53 |
http://www.gentoo.org/~usata/ |
54 |
|
55 |
-- |
56 |
gentoo-dev@g.o mailing list |