On 01/11/10 01:12 PM, Danek Duvall wrote:

What would you recommend?  I can do

     compile_args = None
     if osname in ("sunos", "linux", "darwin"):
         compile_args = [ "-O3" ]

I can do the compiler test, I suppose, but there's very little support in
distutils for doing any testing.  But if I do end up doing that, then what
flag should I pass to the AIX compiler to test that it is the AIX compiler?
Though it seems like -O3 is doing what you'd expect (optimization level 3),
only that either is more on AIX than for other compilers, or simply
produces the warning.  So some guidance would be helpful here.
What you have above will be fine. We aren't dealing with thousands of packages on these other systems, so the performance optimization gained by this is not as critical. If it is necessary in the future, we can put in the appropriate flag.

Thanks.
Tom

Thanks,
Danek

<<attachment: Tom_Mueller.vcf>>

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to