[Parrot-users] Optimized Builds WAS: Re: Compiling Parrot 1.4.0

Jonathan Leto jonathan at leto.net
Fri Nov 27 18:55:22 UTC 2009


Howdy,

End users should only use the plain --optimize flag, without actually
passing parameters to it, if they want to be sure that Parrot will
compile and function properly. Running Parrot's test suite on every
platform for every combination of OS/compiler and optimization flags
is just not feasible, but everyone is encouraged to set up a cron job
to submit smolder reports (by typing "make smoke", an alias for
smolder_test, after a compile) to the Parrot smolder instance [0]. I
can help with setting this up, just email me off-list.

People who want to live on the bleeding edge or developers interested
in improving the performance of Parrot are of course encouraged to
experiment and make sure to type "make smoke" to report all the pretty
colors of smoke that come out of the test suite ;)

Duke

[0] - http://parrot.org/smolder


On Fri, Nov 27, 2009 at 10:14 AM, Bob Wilkinson <bob at fourtheye.org> wrote:
> On Thu, Nov 26, 2009 at 10:12:24AM +0100, Alessio Giovanni Baroni wrote:
>> I have downloaded parrot 1.8.0. With --optimize='-O3' doesn't compile (as
>> with 1.4.0). If I pass --optimize or
>> --optimize='-O0' compile! But there is a curious thing: with --optimize I
>> obtain an executable's size of 77 KB and
>> library's size of 12 MB. With --optimize='-O0' I obtain 42 KB and 4 MB.....
>
> Hello Alessio
>
> AFAIUI --optimize defaults to -O2 (it used to anyway), which seems
> reasonable given the numbers you report?
>
>> Alessio.
>
> Bob
>
> P.S. I presume that it is acceptable to snip replies on this mailing
> list rather than sending megabytes of irrelevance :-)
> --
> "If you propose to speak, always ask yourself, is it true, is it necessary, is it kind?"
> -- Buddha
> _______________________________________________
> Parrot-users mailing list
> Parrot-users at lists.parrot.org
> http://lists.parrot.org/mailman/listinfo/parrot-users
>



-- 
Jonathan "Duke" Leto
jonathan at leto.net
http://leto.net


More information about the Parrot-users mailing list