[llvmlinux] ARM-specific build dependencies required for other architectures

Toma Tabacu Toma.Tabacu at imgtec.com
Tue Dec 9 10:40:25 UTC 2014

Fixed in 58abbd and 684189 by Behan. Thanks.

Toma Tabacu

From: llvmlinux-bounces at lists.linuxfoundation.org [mailto:llvmlinux-bounces at lists.linuxfoundation.org] On Behalf Of Toma Tabacu
Sent: 01 December 2014 09:42
To: llvmlinux
Subject: [llvmlinux] ARM-specific build dependencies required for other architectures


I have noticed that a recent commit (9db3725) has made some ARM-specific build dependencies mandatory for other architectures as well.
This commit changed ARMCLANGDEBDEP to DEBDEP in toolchain/clang/clang-arm-from-source.mk, which causes the bleed-over of ARM build dependencies into other architectures.

I fixed this by making toolchain/clang/clang.mk only include clang-arm-from-source.mk if the target architecture is ARM.
I have attached a patch with my fix.

Having to install an ARM cross-compiler if you're only building for an x86 or MIPS target seems unnecessary to me, so I hope this fix will get picked up.

Any thoughts on this ?

Toma Tabacu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20141209/d23e40e6/attachment.html>

More information about the LLVMLinux mailing list