[LLVMdev] About test suits Cont1

Qingan Li ww345ww at gmail.com
Mon Jan 17 19:38:22 PST 2011


*1. I have searched the access/setting of LLVMCC_EMITIR_FLAG in the build
directory, recursively, and all the output is what I pasted in last email
(just the same to the that in source directory). Maybe the configure failed
to do it. My command list for building the test suit is as followings:*
*(1) cd ~/SRC_DIR/llvm/projects*
*(2) svn co http://llvm.org/svn/llvm-project/test-suite/trunk test-suite*
*(3) cd LLVMGCC_DIR;       *
***(4) gunzip --stdout llvm-gcc-4.2-version-platform.tar.gz | tar -xvf -*
*(5) cd ~/OBJ_DIR/llvm; *
*(6) SRC_DIR/configure --prefix=INS_DIR --enable-debug-runtime
 --disable-optimized --enable-debug-symbols --enable-assertions *
  --with-llvmgccdir=LLVMGCC_DIR
(7) search LLVMCC_EMITIR_FLAG or "cd projects/test-suite" (both failed)

*2. Another question*
*In the steps above, I omitted the re-configure process in
http://llvm.org/docs/TestingGuide.html#testsuiterun **, since I thought I
have configured the $LLVM_GCC_DIR before building llvm.*

*As it failed, I did the following to reconfigure, but it failed again:*
(8) cd OBJ_DIR/llvm/
(9) *SRC_DIR/configure --prefix=INS_DIR --enable-debug-runtime
 --disable-optimized --enable-debug-symbols --enable-assertions *
  --with-llvmgccdir=LLVMGCC_DIR

I need your help, and thanks very much for your time.

2011/1/18 Eric Christopher <echristo at apple.com>

>
> On Jan 15, 2011, at 8:06 PM, Qingan Li wrote:
>
> [qali at qali llvm-2.8-rev]$ find . -exec grep -n "LLVMCC_EMITIR_FLAG" ./ {}
> \;
> ./projects/test-suite/Makefile.tests:47: -$(LCC) $(CPPFLAGS) $(CFLAGS)
> $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)
> ./projects/test-suite/Makefile.tests:51: -$(LCXX) $(CPPFLAGS) $(CXXFLAGS)
> $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)
> ./projects/test-suite/Makefile.tests:55: -$(LCXX) $(CPPFLAGS) $(CXXFLAGS)
> $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)
> ./projects/test-suite/Makefile.tests:59: -$(LCXX) $(CPPFLAGS) $(CXXFLAGS)
> $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)
> ./projects/test-suite/Makefile.tests:63: -$(LCC) $(CPPFLAGS) $(CFLAGS)
> $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)
> ./projects/test-suite/Makefile.tests:67: -$(LCXX) $(CPPFLAGS) $(CXXFLAGS)
> $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)
>
>
> I know this. The question I asked was to grep in your top level build
> directory. You a) searched all subdirectories, and b) in the source, not
> build directory.
>
> There are errors in config.log, but I need your help for clarifying them (I
> selected the first four errors below):
>
>
> These errors aren't even important. In order to figure out what your system
> has configure will attempt to compile a bunch of different programs.
>
> You'll need to look for what is setting LLVMCC_EMITIR_FLAG and then debug
> from there.
>
> -eric
>
>
>


-- 
Best regards,

Li Qingan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110118/9937acc3/attachment.html>


More information about the llvm-dev mailing list