[llvm-commits] [Patch] Patch for llvm-config

Chris Lattner clattner at apple.com
Fri Jan 8 17:54:37 PST 2010


On Jan 5, 2010, at 4:13 AM, Michael Beck wrote:

> Hi all,
>
> the following patch removes the dependency of llvm-config from the  
> used shell.
> It least it did not fail anymore with a native win32 perl under  
> windows.

Applying this patch breaks llvm-config for me.  I don't know anything  
about it, but maybe this will help:

Bareword found where operator expected at /Users/sabre/llvm/Debug/bin/ 
llvm-config line 133, near "--src
"
         (Missing operator before src?)
String found where operator expected at /Users/sabre/llvm/Debug/bin/ 
llvm-config line 134, near "$has_op
t = 1; print abs_path($LLVM_SRC_ROOT/""
   (Might be a runaway multi-line "" string starting on line 133)
         (Missing semicolon on previous line?)
Can't modify string in postdecrement (--) at /Users/sabre/llvm/Debug/ 
bin/llvm-config line 133, near "}
elsif ($arg eq "--"
   (Might be a runaway multi-line "" string starting on line 132)
syntax error at /Users/sabre/llvm/Debug/bin/llvm-config line 133, near  
"--src"

-Chris



More information about the llvm-commits mailing list