Displaying 20 results from an estimated 119 matches for "llvm_src_root".
2005 Feb 14
2
[LLVMdev] Removing $(LLVM_SRC_ROOT)/autoconf dependensies in Stacker, llvm-java [PATCH]
...le.common.in
llvm-java/llvm-java/Makefile.common.in
have line:
include $(LLVM_OBJ_ROOT)/Makefile.common
that have line:
include $(LLVM_OBJ_ROOT)/Makefile.config
(also $(LLVM_OBJ_ROOT)/Makefile.config used in llvm-test/Makefile.config.in)
and
llvm/Makefile.config.in have lines:
INSTALL_SH := $(LLVM_SRC_ROOT)/autoconf/install-sh
MKDIR := $(LLVM_SRC_ROOT)/autoconf/mkinstalldirs
But all this projects (LLVM, Stacker, sample, llvm-java) have
autoconf/install-sh and autoconf/mkinstalldirs in own sources.
I think at building, for example, llvm-java use
llvm-java/autoconf/install-sh is more correct (sy...
2011 Jun 29
2
[LLVMdev] specint2000 as external tests
Hi All,
I am trying to configure llvm so with test-suite enabled. I have downloaded
the test-suite. Spec 2000 benchmarks sources are plugged in speccpu2000 at
$LLVM_SRC_ROOT/projects/test-suite-externals/speccpu2000/benchspec
e.g.: 164.gzip dir
is $LLVM_SRC_ROOT/projects/test-suite-externals/speccpu2000/benchspec/164.gzip
My configure command is:
../configure --disable-optimized --enable-assertions --enable-spec2000
--with-llvmgccdir=<GCC Install dir>
But wi...
2005 Feb 15
0
[LLVMdev] Removing $(LLVM_SRC_ROOT)/autoconf dependensies in Stacker, llvm-java [PATCH]
...gt; most cases these are just historical artifacts that have been with the
> > projects since long before the new Makefile.rules of last fall.
>
> I agree.
Okay, I'll make that happen :)
> >> llvm/Makefile.config.in have lines:
> >>
> >> INSTALL_SH := $(LLVM_SRC_ROOT)/autoconf/install-sh
> >> MKDIR := $(LLVM_SRC_ROOT)/autoconf/mkinstalldirs
> >>
> >> But all this projects (LLVM, Stacker, sample, llvm-java) have
> >> autoconf/install-sh and autoconf/mkinstalldirs in own sources.
> >
> > Which they probably sho...
2005 Feb 15
3
[LLVMdev] Removing $(LLVM_SRC_ROOT)/autoconf dependensies in Stacker, llvm-java [PATCH]
...ects rather than making the makefiles deal with them. I think in
> most cases these are just historical artifacts that have been with the
> projects since long before the new Makefile.rules of last fall.
I agree.
>> llvm/Makefile.config.in have lines:
>>
>> INSTALL_SH := $(LLVM_SRC_ROOT)/autoconf/install-sh
>> MKDIR := $(LLVM_SRC_ROOT)/autoconf/mkinstalldirs
>>
>> But all this projects (LLVM, Stacker, sample, llvm-java) have
>> autoconf/install-sh and autoconf/mkinstalldirs in own sources.
>
> Which they probably shouldn't have. I'd vote...
2005 Feb 15
0
[LLVMdev] Removing $(LLVM_SRC_ROOT)/autoconf dependensies in Stacker, llvm-java [PATCH]
...ROOT)/Makefile.config used in llvm-test/Makefile.config.in)
This is all quite normal. Note that llvm-test is a little bit weird
because it does not use $(LLVM_OBJ_ROOT)/Makefile.rules, it has its own
Makefile.rules
> and
>
> llvm/Makefile.config.in have lines:
>
> INSTALL_SH := $(LLVM_SRC_ROOT)/autoconf/install-sh
> MKDIR := $(LLVM_SRC_ROOT)/autoconf/mkinstalldirs
>
> But all this projects (LLVM, Stacker, sample, llvm-java) have
> autoconf/install-sh and autoconf/mkinstalldirs in own sources.
Which they probably shouldn't have. I'd vote for removing these files...
2005 Jun 18
0
[LLVMdev] The configure script seems to strip some / from path
...must be
local to your situation. Note that Makefile.common looks like this, with
lines 63 and 69 highlighted with ***:
ifndef LLVM_OBJ_ROOT
include $(LEVEL)/Makefile.config
else
include $(LLVM_OBJ_ROOT)/Makefile.config ***
endif
#
# Include all of the build rules used for making LLVM
#
include $(LLVM_SRC_ROOT)/Makefile.rules ***
The only way for this to produce these messages is if LLVM_OBJ_ROOT and
LLVM_SRC_ROOT are set before including Makefile.common. None of the
makefiles in LLVM do this. Perhaps you have these set in your
environment? If so, unset them. Or, perhaps you are including
Makefile.commo...
2010 Nov 05
0
[LLVMdev] llvm autoconf using LLVM_SRC_ROOT?
On Nov 4, 2010, at 7:35 PM, Shaun savage wrote:
> I am trying to create a new LLVM project that uses autoconf to configure it.
>
> the example requires me to define
>
> • LLVM_SRC_ROOT - The root of the LLVM source tree.
> • LLVM_OBJ_ROOT - The root of the LLVM object tree
> Is this required? Why? I just want to use the libraries that were installed using Ubuntu 10.04.
Not unless you want to build it as part of the llvm sources.
AC_CHECK_LIB is what you probably want....
2011 Jun 29
3
[LLVMdev] specint2000 as external tests
Hi Duncan,
Do you have sources also in
the $LLVM_SRC_ROOT/projects/test-suite/External/SPEC/CINT2000/164.gzip?
The following is content of above directory in my case. I have copied the
CINT2000 sources in this directory manually.
$ls -1 $LLVM_SRC_ROOT/projects/test-suite/External/SPEC/CINT2000/164.gzip
164.gzip.reference_output
164.gzip.reference_output...
2011 Jun 29
0
[LLVMdev] specint2000 as external tests
Hi Daya,
> checking for spec2000 benchmark sources... no, not found in
> $LLVM_SRC_ROOT/projects/test-suite-externals/speccpu2000/benchspec
I have 164.gzip at
$LLVM_SRC_ROOT/projects/test-suite/External/SPEC/CINT2000/164.gzip
and it seems to work.
Ciao, Duncan.
2005 Jun 18
2
[LLVMdev] The configure script seems to strip some / from path
Hi LLVMers,
The root of my SRC_DIR is: /home/hb/projects/src/llvm-1/llvm/
and the root of my OBJ_DIR is: /home/hb/projects/build/FC1/llvm-1-1.
However, the configure script seems to have stripped some of the / from the
paths:
Makefile.common:63: /home/hb/projects/buildFC1llvm-1-1/Makefile.config: No
such file or directory
Makefile.common:69: /home/hb/projects/srcllvm-1/Makefile.rules: No such
2010 Nov 05
2
[LLVMdev] llvm autoconf using LLVM_SRC_ROOT?
Hi
I am trying to create a new LLVM project that uses autoconf to configure it.
the example requires me to define
* LLVM_SRC_ROOT - The root of the LLVM source tree.
* LLVM_OBJ_ROOT - The root of the LLVM object tree
Is this required? Why? I just want to use the libraries that were installed using Ubuntu 10.04.
I can compile programs using llvmc
$ llvmc --version
Low Level Virtual Machine (http://llvm.org/):
llvm...
2008 Apr 12
2
[LLVMdev] Setting up new project
...ive it a try
> and let us know if it works.
>
> -- John T.
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=../..
Lane
2010 Jan 04
1
[LLVMdev] [PATCH] test-suite/bullet: fix build in case $LLVM_SRC_ROOT != $LLVM_OBJ_ROOT
Index: MultiSource/Benchmarks/Bullet/Makefile
===================================================================
--- MultiSource/Benchmarks/Bullet/Makefile (revision 92478)
+++ MultiSource/Benchmarks/Bullet/Makefile (working copy)
@@ -1,6 +1,6 @@
LEVEL = ../../../
PROG = bullet
-CPPFLAGS += -Iinclude -DNO_TIME
+CPPFLAGS += -I$(PROJ_SRC_DIR)/include -DNO_TIME
LDFLAGS = -lstdc++
include
2005 Feb 15
2
[LLVMdev] Removing $(LLVM_SRC_ROOT)/autoconf dependensies in Stacker, llvm-java [PATCH]
On Mon, 14 Feb 2005, Reid Spencer wrote:
> isn't necessarily tied to LLVM. Anyway, lets cross that bridge when we
> get there.
Sounds good.
-Chris
--
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/
2009 Jan 02
3
[LLVMdev] Private headers and testing
...d it works fine,
because make enters every directory and hence doesn't need a -I path to
include them.
However, unittests need to also #include these headers to be able to test
the internal implementations, so here are potential ways to do this:
1) Leave headers where they are now; pass in -I$(LLVM_SRC_ROOT) and #include
"lib/Transform/..." for the unittests
2) Same as above, except with -I$(LLVM_SRC_ROOT)/lib and #include
"Transform/..."
3) Create a new header directory for internal headers, e.g.
llvm/include/llvm/internal/ and put private headers there; no one needs any
new -I sw...
2010 Nov 05
1
[LLVMdev] llvm autoconf using LLVM_SRC_ROOT?
Hi
I am trying to create a new LLVM project that uses autoconf to configure it.
the example requires me to define
* LLVM_SRC_ROOT - The root of the LLVM source tree.
* LLVM_OBJ_ROOT - The root of the LLVM object tree
Is this required? Why? I just want to use the libraries that were installed using Ubuntu 10.04.
I can compile programs using llvmc
$ llvmc --version
Low Level Virtual Machine (http://llvm.org/):
llvm...
2008 Apr 12
3
[LLVMdev] Setting up new project
...a 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.sh,
$ ./AutoRegen.sh
Regenerating aclocal.m4 with aclocal
Regenerating configure with autoconf 2...
2005 Feb 03
3
[LLVMdev] question about compile path [patch adding .cc support]
...le, in Sources and FakeSources make vars setup code).
Is attached patch acceptable?
Also I have in Makefile.rules (but not include in patch) some modification
for simplify used common Makefile.rules in LLVM projects and non-LLVM
project (guarding some LLVM specific parts by ifdef
LLVM_OBJ_ROOT/LLVM_SRC_ROOT vars).
Vladimir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.rules.patch
Type: application/octet-stream
Size: 4330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050203/c317d8d4/attachment.obj>
2008 Apr 13
0
[LLVMdev] Setting up new project
...l 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=/opt/src-llvm
configure: creating ./c...
2008 Apr 12
0
[LLVMdev] Setting up new project
...a 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.sh,
$ ./AutoRegen.sh
Regenerating aclocal.m4 with aclocal
Regenerating configure with autoconf 2...