[LLVMdev] 32-bit in-tree Polly build with CMake

Tobias Grosser tobias at grosser.es
Fri Jun 8 02:43:44 PDT 2012


On 06/07/2012 03:49 PM, Ondřej Hošek wrote:
> On Thu, Jun 7, 2012 at 3:26 PM, Tobias Grosser<tobias at grosser.es>  wrote:
>> First of all, is this problem platform specific?
>> We have a 32bit buildbot [1] and it does not report any problems. Do you
>> understand why.
>
> I think so. This is an i?86 build on a x86_64 machine, i.e. with -m32.
> (gcc specifically, but I am sure that clang would raise the same
> issue, since this is about passing (or not passing) the correct flags
> to the linker. The LLVM_BUILD_32_BITS option seems to be the canonical
> way to request an i?86 build on a x86_64 machine when using CMake to
> build LLVM.)
>
>> I would go for option 1 as Polly itself is used not as a shared library, but
>> as a module. Would you be able to provide a patch?
>
> Sure; I have attached it.

Thanks. Committed as 158195.

Cheers
Tobi



More information about the llvm-dev mailing list