How to run SPEC200 benhmark in LLVM

Hello,

I want to run SPEC2000 benchmark in LLVM to check correctness of a llvm
module which I wrote. How to run SPEC2000 benchmark in LLVM?

Unnikrishnan C

Hi Unnikrishnan C,

Hello,

I want to run SPEC2000 benchmark in LLVM to check correctness of a llvm
module which I wrote. How to run SPEC2000 benchmark in LLVM?

Unnikrishnan C

do you know how to run LLVM's nightly testsuite? It has support for SPEC.
When you configure LLVM you need to use --with-externals to specify a
directory that holds external testsuites like SPEC. For example:
--with-externals=$HOME/externals/

In $HOME/externals/ you should put the SPEC testsuite directories, eg
speccpu2000.

Note that this will only work if you got the nightly testsuite working
first, since it is the nightly testsuite that picks up SPEC. You will
see in the nightly testsuite configure output if it found and understood
your SPEC suites.

Ciao, Duncan.

Hi Duncan,

I have a few related questions:

1. Do you know if spec (or externals in general) works with the --remote lnt option?
2. If I understand correctly runspec is not used to build and run? The test-suite Makefiles replace it?
3. The directory structure of cpu2006 that I have doesn't match the structure of External/SPEC. I assume I just manually copy stuff into external/SPEC/*?

thanks,
Paul