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? -Chris -- http://nondot.org/sabre/ http://llvm.org/
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. Reid. 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? > > -Chris >-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060412/fca30b21/attachment.sig>
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. -Chris> 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? >> >> -Chris >> >-Chris -- http://nondot.org/sabre/ http://llvm.org/