[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: What to do with package that wants to use sse?



On Fri, 2009-10-30 at 23:07 -0500, Bruno Wolff III wrote:
> I am working on packaging pagedgeometry and I noticed that when building
> on gcc it passes -msse which I am guessing says to use sse instructions.
> I think that even in F12 we can't assume these instructions are available.
> The package may gain a lot of benefit from using those instructions.
> (I haven't tested that yet as I am still pretty early in the process.)
> Is there some relatively standard way to handle something like this?

You should always adjust any build process which wants to use custom
compiler flags to use the standard Fedora flags. Well-written build
systems allow you to set compiler flags trivially with a parameter or
environment variable. Badly-written ones hard-code their preferred flags
and require you to patch before you can pass in the Fedora flags. In the
latter case, patch the build system and send the patch upstream.

-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]