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
[email protected]
www.imm.dtu.dk
8c8
< autoconf --version | egrep '2\.5[0-9]' > /dev/null
---
> autoconf --version | egrep '2\.[5-6][0-9]' > /dev/null
28c28
< read -p "Enter full path to LLVM source:"
---
> read -p "Enter full path to LLVM source:" REPLY
32c32
< read -p "Enter full path to LLVM objects (empty for same as source):"
---
> read -p "Enter full path to LLVM objects (empty for same as source):" REPLY
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs