[LLVMbugs] Problems with AutoRegen.sh under Ubuntu 8.10

Per Larsen pl at imm.dtu.dk
Thu Mar 19 05:57:37 PDT 2009


Hi,

I'm trying to set up a sample project outside the llvm folder hierarchy
which should be possible according to
http://llvm.org/docs/Projects.html 

Unfortunately, I've run into a few problems while following the guide. 

First of all, my systems version of autoconf is 2.61 but the version
check in AutoRegen.sh will only accept versions 2.5x even though 2.61 is
a later version.

Secondly, the code which prompts for the location of the llvm
distribution runs in an endless loop without collecting input - thus
making it impossible for the user to enter a directory name.

I'm attaching a patch with the changes I've made to
llvm/projects/sample/AutoRegen.sh to make it work as expected.

Regards
  
Per Larsen 
Ph.D. student 
DTU Informatics 

Technical University of Denmark 
                                 dtu
Department of Informatics and
Mathematical Modeling 
Richard Petersens Plads 
Building 322 
2800  kgs. Lyngby 
Direct +45 45253745 
pl at imm.dtu.dk 
www.imm.dtu.dk 

 



-------------- next part --------------
A non-text attachment was scrubbed...
Name: AutoRegen.patch
Type: text/x-patch
Size: 414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20090319/f16d7b63/attachment.bin>


More information about the llvm-bugs mailing list