[LLVMdev] compiling SPEC suite using f95

Kenneth Hoste Kenneth.Hoste at UGent.be
Wed Aug 9 04:51:25 PDT 2006


Hello,

I'm trying to compile to SPEC CPU2000 suite to LLVM bytecode, using  
the llvm-test harness.
I have tried this using:
-  both the 1.7 and 1.8 releases, without succes (and running into  
the same problems in both releases)
- both the gcc3 and gcc4 frontends
I'm working on Linux/x86.

LLVM is configured using:
./configure --prefix=/path/to/bin/dir

and compiled using

gmake; gmake install

Subsequently, llvm-test (which resides in llvm/TestSuite/llvm-test),  
is configured using:

./configure --with-spec2000=/work/SPEC_CPU2000_1.3_src --without-f2c  
--with-f95-bin=/work/NAG_f95/bin --with-f95-lib=/work/NAG_f95/lib -- 
with-f95-inc=/work/NAG_f95/lib

When running 'make VERBOSE=1' in llvm-test/External/SPEC, I get the  
following output:

if [ ! -f CFP2000/Makefile ]; \
then \
        /work/LLVM/1.7/llvm/autoconf/mkinstalldirs CFP2000; \
        cp /work/LLVM/1.7/llvm/TestSuite/llvm-test/External/SPEC/ 
CFP2000/Makefile CFP2000/Makefile; \
fi; \
make -C CFP2000 all
make[1]: Entering directory `/home/kehoste/work/LLVM/1.7/llvm/ 
TestSuite/llvm-test/External/SPEC/CFP2000'
if [ ! -f 177.mesa/Makefile ]; \
then \
        /work/LLVM/1.7/llvm/autoconf/mkinstalldirs 177.mesa; \
        cp /work/LLVM/1.7/llvm/TestSuite/llvm-test/External/SPEC/ 
CFP2000/177.mesa/Makefile 177.mesa/Makefile; \
fi; \
make -C 177.mesa all -w
cp: cannot stat `/work/LLVM/1.7/llvm/TestSuite/llvm-test/External/ 
SPEC/CFP2000/177.mesa/Makefile': No such file or directory
make[2]: Entering directory `/home/kehoste/work/LLVM/1.7/llvm/ 
TestSuite/llvm-test/External/SPEC/CFP2000/177.mesa'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/home/kehoste/work/LLVM/1.7/llvm/ 
TestSuite/llvm-test/External/SPEC/CFP2000/177.mesa'
make[1]: *** [177.mesa/.makeall] Error 2
make[1]: Leaving directory `/home/kehoste/work/LLVM/1.7/llvm/ 
TestSuite/llvm-test/External/SPEC/CFP2000'
make: *** [CFP2000/.makeall] Error 2

Any comments are welcome. I found a similar problem on the list  
(http://article.gmane.org/gmane.comp.compilers.llvm.devel/2731/ 
match=compiling+spec),
but the guidelines given there don't seem to solve my problem.

Hope someone can help me,

Kenneth

-- 

Statistics are like a bikini. What they reveal is suggestive, but  
what they conceal is vital (Aaron Levenstein)

Kenneth Hoste
ELIS - Ghent University
kenneth.hoste at elis.ugent.be
http://www.elis.ugent.be/~kehoste





More information about the llvm-dev mailing list