search for: autoregen

Displaying 20 results from an estimated 80 matches for "autoregen".

Did you mean: autogen
2006 Apr 19
2
[LLVMdev] creating a project from sample project
Reid, Thanks for the help. I am trying out the fixes you checked into CVS. I seem to be getting some errors running AutoRegen.sh. I am a bit inexperienced with autoconf and m4. The errors I'm getting are below. Do you know what the problem is? I am using machines running FC3. The autoconf version is 2.59, the aclocal version is 1.9.2, and the m4 version is 1.4.1. /usr/share/aclocal/gob2.m4:7: warning: underqu...
2006 Apr 20
1
[LLVMdev] creating a project from sample project
Reid, Thank you for all your help. I think that I have AutoRegen.sh working now. (I still get the warning about GOB2_HOOK, but I'm assuming that's not a problem.) I'll explain the scenario that led to the problem. I copied the sample project to ~/work/myproject/src/sample. Then I renamed it to ~/work/myproject/src/llvm, indicating that this w...
2006 Apr 18
2
[LLVMdev] creating a project from sample project
...se. I guess the only thing that is confusing is that the LLVM documentation, at http://llvm.org/docs/Projects.html under the "Create a Project from the Sample Project" heading, indicates that (1) you can place your project *anywhere* you want, and (2) that you are supposed to use the AutoRegen.sh script as is. However, that seems not to be the case. The reason my project is not in the LLVM projects directory is because it is in a CVS directory as part of a different project I am working on. Again thanks for the help. Ryan Reid Spencer wrote: > It's complaining about the LLV...
2006 Apr 19
0
[LLVMdev] creating a project from sample project
...lso need to cvs update llvm/autoconf/m4 to get the new definition of LLVM_CONFIG_PROJECT. 2. You typed in the LLVM source root incorrectly when prompted. for it. Hopefully one of those two things is the case because it is easily rectified. If not, please send the entire transcript of running with AutoRegen.sh, the AutoRegen.sh script you're using, and the paths you're attempting to set up (i.e. where is LLVM and where is your project?) Thanks, Reid. On Wed, 2006-04-19 at 16:35 -0500, Ryan M. Lefever wrote: > Reid, > > Thanks for the help. I am trying out the fixes you checked in...
2006 Apr 14
2
[LLVMdev] creating a project from sample project
I am trying to create a project in my home directory based off the instructions in http://llvm.org/docs/Projects.html. I have completed step 4 requiring me to set the values in autoconf/configure.ac In step 5, when I run AutoRegen.sh, I get the following error: Can't find the LLVM autoconf/m4 directory. The project should be checked out to projects directory So, I assumed that I set AC_CONFIG_AUX_DIR incorrectly in configure.ac. I tried setting it to an absolute path and a relative path but had no luck. Then I lo...
2008 Apr 11
4
[LLVMdev] Setting up new project
Hi, I am attempting to set up a new frontend project based on the sample project (I'm following the instructions at http://llvm.org/docs/Projects.html). In doing so, I hit a problem with AutoRegen.sh which I worked around, and hit a problem with configure that I don't know how to work around. Below is what happens when I attempt to autoconf and configure the sample project that ships with LLVM. This is on Mac OS X 10.5 with autoconf 2.6.0. For reference, /opt/src-llvm is where my llvm s...
2010 Dec 26
2
[LLVMdev] Question of executing AutoRegen.sh to regen configure file
Hello all, I download the src of llvm 2.8 and run ./autoconf/AutoRegen.sh However there is a little difference between origin configure file and the generated one $diff configure configure.bak 1394c1394 < --enable-optimized Compile with optimizations enabled (default is YES) --- > --enable-optimized Compile with optimizations enabled (default is...
2008 Apr 12
2
[LLVMdev] Setting up new project
...ize that having a newer version would be a problem. > > > > I compiled and installed autoconf 2.59. I still get the same problem: > > > > $ autoconf --version > > autoconf (GNU Autoconf) 2.59 > > > > $ cd /opt/src-llvm/projects/sample/autoconf > > $ ./AutoRegen.sh > > $ cd .. > > > > $ ./configure --with-llvmsrc=/opt/src-llvm --with-llvmobj=/opt/src-llvm > > configure: error: cannot find install-sh or install.sh in > > ../../../autoconf ./../../../autoconf > > > > Any other tips? I should mention that I'm work...
2008 May 07
4
[LLVMdev] Path to AutoRegen.sh
...s an college end course project, and I'm more focused on theoretical issues than on the implementation). I'm using Ubuntu Linux and had a lot of trouble starting the project by copping the "sample project". Finally, I've figured out the problem and made a small patch to "AutoRegen.sh" in samples directory, to address two issues: * I'm using Autoconf 2.61, and it is compatible with the syntax used by LLVM, but AutoRegen.sh insists I need 2.5x. * There is a bug in the AutoRegen.sh that appears when you try to regenerate configure scripts for your project outside...
2006 Apr 18
0
[LLVMdev] creating a project from sample project
Ryan, Rather than fix the documentation to match reality, I decided to fix reality to match the documentation. I have just committed (CVS head) changes to the sample project's AutoRegen.sh script that will prompt the user for the path to the LLVM source root and the LLVM object root, if it can't automatically determine the location (because your project is not located in the llvm/projects directory). Once entered, the value is retained and used throughout so you never need to...
2006 Apr 15
0
[LLVMdev] creating a project from sample project
It's complaining about the LLVM autoconf/m4 directory which contains the m4 macros that are used in your project's configure.ac. By convention, your project should be in the llvm/projects directory so that you have: 1. llvm/autoconf 2. llvm/projects/yourProj/autoconf The AutoRegen.sh in #2 is looking for #1. By convention that should be located at ../../../autoconf/m4. AC_CONFIG_AUX_DIR has nothing to do with it, as that comes into play only when autoconf is run, not when AutoRegen.sh is running. Probably the only thing you're doing "wrong" is not placing yo...
2008 Apr 12
3
[LLVMdev] Setting up new project
...[LLVMdev] Setting up new project On Sat, Apr 12, 2008 at 1:26 PM, Lane Schwartz <dowobeha at gmail.com> wrote: > John, > > Thanks for the advice. The script you sent gives me the same problem. > I am now able to work around the issue by making the following change > to the AutoRegen.sh script that comes with the sample project: > > 16,17c16,17 > < llvm_src_root=../../.. > < llvm_obj_root=../../.. > --- > > llvm_src_root=../.. > > llvm_obj_root=../.. Hmm... I may have spoken too soon... After making the above change to AutoRegen.s...
2011 Jan 03
0
[LLVMdev] Question of executing AutoRegen.sh to regen configure file
On Dec 26, 2010, at 8:38 AM, Lu Mitnick wrote: > Hello all, > > I download the src of llvm 2.8 and run ./autoconf/AutoRegen.sh > > However there is a little difference between origin configure file and the generated one > > $diff configure configure.bak > > 1394c1394 > < --enable-optimized Compile with optimizations enabled (default is YES) > --- > > --enable-optimized C...
2008 Apr 11
3
[LLVMdev] Setting up new project
...h > > autoconf 2.6.0. For reference, /opt/src-llvm is where my llvm sources > > are, and where I built those sources. My project is in > > /opt/src-llvm/projects/sample. > > > > $ cd /opt/src-llvm/projects/sample > > > > $ cd autoconf/ > > $ ./AutoRegen.sh > > Your autoconf was not detected as being 2.5x > > > > I have autoconf 2.6. To keep going I edited AutoRegen.sh and made the > > following change: > > This probably isn't going to work. If you want to upgrade the tools, you > need to read this: >...
2008 Apr 12
0
[LLVMdev] Setting up new project
On Sat, Apr 12, 2008 at 1:26 PM, Lane Schwartz <dowobeha at gmail.com> wrote: > John, > > Thanks for the advice. The script you sent gives me the same problem. > I am now able to work around the issue by making the following change > to the AutoRegen.sh script that comes with the sample project: > > 16,17c16,17 > < llvm_src_root=../../.. > < llvm_obj_root=../../.. > --- > > llvm_src_root=../.. > > llvm_obj_root=../.. Hmm... I may have spoken too soon... After making the above change to AutoRegen.s...
2011 Jan 03
2
[LLVMdev] Question of executing AutoRegen.sh to regen configure file
...gt;> 1394c1394 >> <   --enable-optimized      Compile with optimizations enabled (default is YES) >> --- >> >   --enable-optimized      Compile with optimizations enabled (default is NO) >> >> I am wondering to know whether I miss some parameter with executing AutoRegen.sh?? > > Probably not. The configure file for the release branch was probably edited instead of configure.ac and so a regen will overwrite the last edit to that file. This isn't going to be fixed on the release branch so if you do regen configure it will probably have some differences (we...
2012 Nov 24
0
[LLVMdev] [PATCH] AutoRegen.sh in poolalloc branch
Hi, I'm not sure where I should post this small patch to. The `AutoRegen.sh' script in poolalloc branch (under autoconf directory) is unusable (and seems for a long time) to regenerate `configure'. Probably few use it. But before it's purged, please consider the attached patch. Regards, Ryan -------------- next part -------------- An HTML attachment was scr...
2008 May 07
0
[LLVMdev] Path to AutoRegen.sh
Hi, I think I have quite an identical patch lying around somewhere here, but I thought that the AutoRegen.sh was something someone wrote here in-house, so I never bothered to send it somewhere. I do remember someone saying (on this list) one should really not use another version of autoconf, but in my experience 2.6 works just as fine for building an addon project (but perhaps not for rebuilding the e...
2008 May 07
0
[LLVMdev] Path to AutoRegen.sh
> * I'm using Autoconf 2.61, and it is compatible with the syntax used > by LLVM, but AutoRegen.sh insists I need 2.5x. > > * There is a bug in the AutoRegen.sh that appears when you try to > regenerate configure scripts for your project outside the LLVM > source tree: an shell "read" command missing a parameter. > > The patch was tested on 2.2, but I think it wi...
2008 Apr 13
0
[LLVMdev] Setting up new project
...ee, respectively. I faintly recall seeing this error and seem to recall using these options to work around it. OK. Here are the complete steps required to successfully build the sample project: $ cd llvm/projects $ cp -r sample/ myproject $ cd myproject $ cd autoconf Make the following edit to AutoRegen.sh: 16,17c16,17 < llvm_src_root=../../.. < llvm_obj_root=../../.. --- > llvm_src_root=../.. > llvm_obj_root=../.. $ ./AutoRegen.sh Regenerating aclocal.m4 with aclocal Regenerating configure with autoconf 2.5x $ cd .. $ ./configure --with-llvmsrc=/opt/src-llvm --with-llvmobj...