Displaying 2 results from an estimated 2 matches for "add_polly_library".
2012 Jun 07
2
[LLVMdev] 32-bit in-tree Polly build with CMake
...rary, and LLVM_BUILD_32_BITS only makes
provisions for the EXE and SHARED linker flags.
Possible fixes (pick one):
1. Change cmake/modules/HandleLLVMOptions.cmake to append -m32 to
CMAKE_MODULE_LINKER_FLAGS as well if LLVM_BUILD_32_BITS is set.
2. Change $POLLY/CMakeLists.txt not to use MODULE in add_polly_library.
Should I make an entry in Bugzilla about this or is a post to the
mailing list sufficient? I confess I'm not very familiar with the
organizational aspects of the LLVM project.
Cheers,
~~ Ondra
2012 Jun 07
0
[LLVMdev] 32-bit in-tree Polly build with CMake
...d it does not report any problems. Do you
understand why.
> Possible fixes (pick one):
>
> 1. Change cmake/modules/HandleLLVMOptions.cmake to append -m32 to
> CMAKE_MODULE_LINKER_FLAGS as well if LLVM_BUILD_32_BITS is set.
> 2. Change $POLLY/CMakeLists.txt not to use MODULE in add_polly_library.
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?
Tobi
[1] http://lab.llvm.org:8011/builders/polly-intel32-linux/builds/1176