[Xorg-driver-geode] [PATCH v2] config: only build on i*86 host cpu.

Martin-Éric Racine q-funk at iki.fi
Tue Jun 22 10:50:27 PDT 2010


On Tue, Jun 22, 2010 at 7:46 PM, Otavio Salvador
<otavio at ossystems.com.br> wrote:
> On Tue, Jun 22, 2010 at 12:13 PM, Gaetan Nadon <memsize at videotron.ca> wrote:
>> I want to skip building the driver on as many platforms as we can, where we
>> know it will fail to compile,
>> for the reasons I explained in the other post.
>>
>> I think the patch those that, perhaps a better message is required.
>
> I think that a message saying that it is know to work only at i386 is
> fine but completely skiping it looks wrong to me. It would be better
> to fix Xorg docs/scripts to handle it properly.

What would be the proper way to handle it, then?

Gaetan's idea would be to print a warning and skip, so that all
modules could be batch-built, whenever someone makes world on the
whole X.org tree, rather than seeing the automated build process
interrupted with an error.

Btw, on a somewhat related idea, I'm wondering if it would be a good
idea to set -mgeode via the auto* scripts, if the installed compiler
is GCC version 4.3 or higher, so as to always generate Geode-optimized
binaries?

My idea is that, in contrast to skipping the build on non-x86
platforms, we would always generate -mgeode optimized code on x86_32
or x86_64 build hosts.

Martin-Éric


More information about the Xorg-driver-geode mailing list