[llvm-commits] Fix cmake for Hexagon cross compilers

Sebastian Pop spop at codeaurora.org
Fri Aug 3 09:34:52 PDT 2012


Ping^3

Thanks,
Sebastian

On Wed, Aug 1, 2012 at 10:42 AM, Sebastian Pop <spop at codeaurora.org> wrote:
> Ping^2.
>
> Looks like nobody finds anything to say about this patch:
> could then somebody ok the patch?
>
> Thanks,
> Sebastian
>
> On Wed, Jul 18, 2012 at 10:54 PM, Sebastian Pop <spop at codeaurora.org> wrote:
>> On Tue, Jul 3, 2012 at 10:42 PM, Sebastian Pop <spop at codeaurora.org> wrote:
>>> Hi,
>>>
>>> here is a patch that allows us to use cmake to specify a cross
>>> compiler for Hexagon.
>>>
>>> In particular, the patch adds a missing case for the target Hexagon in
>>> cmake/config-ix.cmake, and it moves LLVM_DEFAULT_TARGET_TRIPLE and TARGET_TRIPLE
>>> variables from cmake/config-ix.cmake to the toplevel CMakeLists.txt to make them
>>> available at configure time. Here is the command line that I have used to test
>>> my patches:
>>>
>>> $ cmake -G Ninja -D BUILD_SHARED_LIBS:BOOL=ON -D
>>> LLVM_TARGETS_TO_BUILD:STRING=Hexagon -D
>>> TARGET_TRIPLE:STRING=hexagon-unknown-linux-gnu -D
>>> LLVM_DEFAULT_TARGET_TRIPLE:STRING=hexagon-unknown-linux-gnu -D
>>> LLVM_TARGET_ARCH:STRING=hexagon-unknown-linux-gnu -D
>>> LLVM_ENABLE_PIC:BOOL=OFF ..
>>> $ ninja check
>>>
>>> Ok to commit the attached patch?
>>>
>>
>> Ping patch.
>>
>> Thanks,
>> Sebastian
>>
>> --
>> Qualcomm Innovation Center, Inc is a member of Code Aurora Forum
>
>
>
> --
> Qualcomm Innovation Center, Inc is a member of Code Aurora Forum



-- 
Qualcomm Innovation Center, Inc is a member of Code Aurora Forum
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-enable-Hexagon-target-from-cmake.patch
Type: application/octet-stream
Size: 3096 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120803/cc7aae89/attachment.obj>


More information about the llvm-commits mailing list