Hi Jamie,
> I am having trouble getting the test suite set up with my download of
> SPEC2006. I downloaded and installed llvm-gcc, checked out a copy of
test-suite
> in llvm-2.8/projects, and then configured and made llvm:
>
> ./configure --enable-debug-runtime --disable-optimized
> --enable-spec2006=/home/jamiemmt/speccpu2006
--with-externals=/home/jamiemmt
> make
it looks like it failed to find llvm-gcc (or clang/dragonegg). When you run
the testsuite it converts the original code to bitcode then mulches on that.
To generate bitcode it needs clang, dragonegg or llvm-gcc. But it didn't
find
bitcode, it found target assembler. I'm a bit surprised that the compiler
that
was used didn't barf on being handed the -emit-llvm flag though, so maybe
there
is something else wrong.
Ciao, Duncan.
>
>
> The configure script found the SPEC source code. Then, within
> projects/test-suite/External/SPEC. I ran make and got:
>
>
> make[1]: Entering directory
> `/home/jamiemmt/llvm-2.8/projects/test-suite/SingleSource'
> make[2]: Entering directory
> `/home/jamiemmt/llvm-2.8/projects/test-suite/SingleSource/UnitTests'
> make[3]: Entering directory
>
`/home/jamiemmt/llvm-2.8/projects/test-suite/SingleSource/UnitTests/Vector'
> make[4]: Entering directory
>
`/home/jamiemmt/llvm-2.8/projects/test-suite/SingleSource/UnitTests/Vector/SSE'
> /home/jamiemmt/llvm-2.8/llvm-gcc4.2-2.8-x86_64-linux/bin//llvm-gcc
>
-I/home/jamiemmt/llvm-2.8/projects/test-suite/SingleSource/UnitTests/Vector/SSE
>
-I/home/jamiemmt/llvm-2.8/projects/test-suite/SingleSource/UnitTests/Vector/SSE
> -I/home/jamiemmt/llvm-2.8/projects/test-suite/include -I../../../../include
> -I/home/jamiemmt/llvm-2.8/include -I/home/jamiemmt/llvm-2.8/include
> -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -DNDEBUG -O3 -msse2 -m64
> -fomit-frame-pointer -S sse.expandfft.c -o Output/sse.expandfft.ll
> /home/jamiemmt/llvm-2.8/Debug/bin/llvm-as Output/sse.expandfft.ll -o
> Output/sse.expandfft.bc
> /home/jamiemmt/llvm-2.8/Debug/bin/llvm-as: Output/sse.expandfft.ll:1:2:
error:
> expected top-level entity
> .file "sse.expandfft.c"
> ^
> make[4]: *** [Output/sse.expandfft.bc] Error 1
> make[4]: Leaving directory
>
`/home/jamiemmt/llvm-2.8/projects/test-suite/SingleSource/UnitTests/Vector/SSE'
> make[3]: *** [all] Error 1
> make[3]: Leaving directory
>
`/home/jamiemmt/llvm-2.8/projects/test-suite/SingleSource/UnitTests/Vector'
> make[2]: *** [all] Error 1
> make[2]: Leaving directory
> `/home/jamiemmt/llvm-2.8/projects/test-suite/SingleSource/UnitTests'
> make[1]: *** [UnitTests/.makeall] Error 2
> make[1]: Leaving directory
> `/home/jamiemmt/llvm-2.8/projects/test-suite/SingleSource'
> make: *** [SingleSource/.makeall] Error 2
> jamiemmt at motherboard:~/llvm-2.8/projects/test-suite$ cd External/SPEC/
> jamiemmt at motherboard:~/llvm-2.8/projects/test-suite/External/SPEC$ make
> make[1]: Entering directory
> `/home/jamiemmt/llvm-2.8/projects/test-suite/External/SPEC/CFP2006'
> cp: cannot stat
>
`/home/jamiemmt/llvm-2.8/projects/test-suite/External/SPEC/CFP2006/433.milc/Makefile':
> No such file or directory
> make[2]: Entering directory
>
`/home/jamiemmt/llvm-2.8/projects/test-suite/External/SPEC/CFP2006/433.milc'
> make[2]: *** No rule to make target `all'. Stop.
> make[2]: Leaving directory
>
`/home/jamiemmt/llvm-2.8/projects/test-suite/External/SPEC/CFP2006/433.milc'
> make[1]: *** [433.milc/.makeall] Error 2
> make[1]: Leaving directory
> `/home/jamiemmt/llvm-2.8/projects/test-suite/External/SPEC/CFP2006'
> make: *** [CFP2006/.makeall] Error 2
>
>
> Any ideas as to what is wrong?
>
> Thanks!
>
> -Jamie
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev