[LLVMdev] compiling the full SPEC CPU2000 suite to LLVM bytecode
kenneth.hoste at ugent.be
Fri Sep 1 01:05:41 PDT 2006
On 31 Aug 2006, at 23:46, Chris Lattner wrote:
> On Thu, 31 Aug 2006, Kenneth Hoste wrote:
>> Bummer. I think I'll contact the NAG support for more info on
>> this. Can you
>> show me the content of your Makefile.nagfortran?
> It is identical to yours.
>> Also, it is possible to tell make only to compile benchmark X? How
>> can I
>> enforce this?
> Go into the directory for that benchmark, then run 'make' or whatever.
OK, I seem to be getting closer to the problem... When compiling a
single benchmark, I noticed the following...
/work/NAG_f95/bin/f95 -w -S -O2 /work/SPEC_CPU2000_1.3_src/benchspec/
CFP2000/168.wupwise/src/dcabs1.f -o dcabs1.c -dusty -dcfuns
Evaluation trial version of NAGWare Fortran 95 Release 5.1(216)
projects/llvm-test/include -I../../../../include -I/home/kehoste/work/
LLVM/1.8/llvm/include -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -I /work/
NAG_f95/lib -O3 -S dcabs1.c -o Output/dcabs1.ll -emit-llvm
In file included from /work/SPEC_CPU2000_1.3_src/benchspec/
/work/NAG_f95/lib/f95.h:109: error: syntax error before ‘Logical4’
/work/NAG_f95/lib/f95.h:109: warning: data definition has no type or
/work/NAG_f95/lib/f95.h:118: error: syntax error before ‘Integer4’
/work/NAG_f95/lib/f95.h:118: warning: data definition has no type or
This seems to suggest something is wrong with the f95.h file provided
by NAG. This would be very strange, since I can't imagine them
releasing something without thorough testing on a common platform
(Linux/x86). I've mailed the support, but their reply seems to be
Statistics are like a bikini. What they reveal is suggestive, but
what they conceal is vital (Aaron Levenstein)
ELIS - Ghent University
kenneth.hoste at elis.ugent.be
More information about the llvm-dev