Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Creating an LLVM Project"
2009 Jan 12
0
[LLVMdev] Creating an LLVM Project
On Jan 3, 2009, at 10:20 AM, Martin Geisse wrote:
>
> 2. The line
>
> AutoRegen.sh
>
> ("Create a Project from the Sample Project", step 5) should be
> changed to
>
> ./AutoRegen.sh
>
> so it will work if . is not in the path.
Fixed.
>
>
> 3. In "Create a Project from the Sample Project", step 6 the
> arguments are used to
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 was the llvm part of my
project.
2006 Apr 19
0
[LLVMdev] creating a project from sample project
Hi Ryan,
The output from autoconf doesn't look familiar (but then, does it
ever?).
Note that it thinks that AC_CONFIG_MAKEFILE isn't defined which is
likely if you didn't get the LLVM_SRC_ROOT correct. Here's the only
things I can think of:
1. You also need to cvs update llvm/autoconf/m4 to get the new
definition of LLVM_CONFIG_PROJECT.
2. You typed in the LLVM source root
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.
2006 Apr 18
2
[LLVMdev] creating a project from sample project
Thank you for the response. 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
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
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
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
2008 Apr 12
2
[LLVMdev] Setting up new project
On Fri, Apr 11, 2008 at 3:24 PM, John Criswell <criswell at cs.uiuc.edu> wrote:
> Lane Schwartz wrote:
>
> > [snip]
> >
> > OK then. I didn't realize 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)
2008 Apr 12
3
[LLVMdev] Setting up new project
Try using the --with-llvmsrc and --with-llvmobj options to explicitly set the locations of your LLVM source tree and object tree, respectively. I faintly recall seeing this error and seem to recall using these options to work around it.
-- John T.
________________________________________
From: llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] On Behalf Of Lane Schwartz [dowobeha at
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=../../..
> <
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
2008 Apr 11
3
[LLVMdev] Setting up new project
On Fri, Apr 11, 2008 at 12:35 PM, Tanya M. Lattner <tonic at nondot.org> wrote:
>
> > 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 sources
> > are, and where I built those sources. My project is in
>
2006 Apr 19
3
[LLVMdev] 1.7 Pre-Release Ready for Testing
On 4/19/06, Patrick Meredith <pmeredit at uiuc.edu> wrote:
> I haven't seen anyone claim x86 linux objdir == srcdir, so I'll test it out.
> Missed the 18th,but I'll try to have it done asap.
>
>
> On Apr 18, 2006, at 2:51 PM, Robert L. Bocchino Jr. wrote:
> I'll test on Darwin/PPC, precompiled llvmgcc, objdir == srcdir.
>
> Rob
>
Sorry for being
2008 Apr 13
0
[LLVMdev] Setting up new project
On Sat, Apr 12, 2008 at 3:52 PM, Criswell, John T <criswell at ad.uiuc.edu> wrote:
> Try using the --with-llvmsrc and --with-llvmobj options to explicitly set the locations of your LLVM source tree and object tree, 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
2009 Jan 03
0
[LLVMdev] Creating an LLVM Project
On Jan 3, 2009, at 9:02 PM, me22 wrote:
> On Sat, Jan 3, 2009 at 13:20, Martin Geisse <mgeisse at gmx.net> wrote:
>>
>> Anyway, I cannot follow the "autoconf" way any more because I'm using
>> an outdated aclocal version and cannot exclude this as the reason for
>> the remaining problems I'm experiencing, so I will go on writing a
>> custom
2008 Apr 11
0
[LLVMdev] Setting up new project
On Fri, Apr 11, 2008 at 9:39 AM, Lane Schwartz <dowobeha at gmail.com> wrote:
> 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
2008 Apr 11
0
[LLVMdev] Setting up new project
Lane Schwartz wrote:
> [snip]
> OK then. I didn't realize 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
2006 Apr 18
3
[LLVMdev] 1.7 Pre-Release Ready for Testing
I'll test on Darwin/PPC, precompiled llvmgcc, objdir == srcdir.
Rob
On Apr 16, 2006, at 1:42 PM, Chris Lattner wrote:
> On Sun, 16 Apr 2006, Tanya Lattner wrote:
>> For testing, we would like a mix of people to do x86 and ppc.
>> Please send email to the list if you plan to test, what
>> architecture, and if you will use the llvm-gcc binary or compile
>> it
2009 Jan 09
0
[LLVMdev] Loop elimination with floating point counter.
I assume it checks that the end condition and the increment can both
be represented precisely with integer types.
--Owen
On Jan 8, 2009, at 9:49 AM, Martin Geisse wrote:
> Isn't "simplifying" the loop index to an integer also dependent on
> precision issues? The following loop is infinite:
>
> for (float i=0.0; i<...; i+=1.0) {}
>
> where ... is a large