[LLVMdev] llvm-config suggestion
sabre at nondot.org
Wed Apr 12 23:00:56 PDT 2006
On Wed, 12 Apr 2006, Reid Spencer wrote:
> Well, we had llvm-config in tools originally and moved it out because it
> isn't really a tool. Furthermore, it doesn't work 100% yet and probably
> won't until after 1.7. I can move it if that's where you want it.
Logically it builds and installs as a tool, unlike utils which aren't
installed. I'd prefer it to be in tools, but if there is a reason not to
put it there, that's fine too.
> On Wed, 2006-04-12 at 23:25 -0500, Chris Lattner wrote:
>> I recently tried out llvm-config:
>> % llvm-config --help
>> tcsh: ..../llvm/utils//llvm-config: Permission denied.
>> The issue is that I haven't installed my llvm-tree, I'm running it out of
>> my build directory. Further, llvm/utils is in my path, and apparently
>> the shell is trying to run the utils/llvm-config directory as a program,
>> which obviously doesn't work very well.
>> A simple suggestion to improve the situation:
>> 1. Move utils/llvm-config -> tools/llvm-config
>> 2. Make the *built* llvm-config get put into llvm/Debug/bin/ with the rest
>> of the tools.
>> This would make it work more naturally, without having to install the llvm
>> tree or add new dirs to our PATH's.
>> Reasonable, or no?
More information about the llvm-dev