[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160428132132.GB7880@naverao1-tp.in.ibm.com>
Date: Thu, 28 Apr 2016 18:51:33 +0530
From: "Naveen N. Rao" <naveen.n.rao@...ux.vnet.ibm.com>
To: Jesper Dangaard Brouer <brouer@...hat.com>
Cc: netdev@...r.kernel.org, linux-kbuild@...r.kernel.org,
bblanco@...mgrid.com, borkmann@...earbox.net,
alexei.starovoitov@...il.com
Subject: Re: [net-next PATCH V4 1/5] samples/bpf: add back functionality to
redefine LLC command
On 2016/04/28 02:20PM, Jesper Dangaard Brouer wrote:
> It is practical to be-able-to redefine the location of the LLVM
> command 'llc', because not all distros have a LLVM version with bpf
> target support. Thus, it is sometimes required to compile LLVM from
> source, and sometimes it is not desired to overwrite the distros
> default LLVM version.
>
> This feature was removed with 128d1514be35 ("samples/bpf: Use llc in
> PATH, rather than a hardcoded value").
>
> Add this features back. Note that it is possible to redefine the LLC
> on the make command like:
>
> make samples/bpf/ LLC=~/git/llvm/build/bin/llc
I don't have an objection to this patch, but you didn't explain why/how
this approach is better than just doing:
PATH=~/git/llvm/build/bin make samples/bpf/
- Naveen
Powered by blists - more mailing lists