unni_c at csa.iisc.ernet.in
2013-Jan-18 08:09 UTC
[LLVMdev] 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 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Hi Unnikrishnan C, On 18/01/13 09:09, unni_c at csa.iisc.ernet.in wrote:> 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 Cdo 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 On 2013-01-18, at 3:53 AM, Duncan Sands wrote:> Hi Unnikrishnan C, > > On 18/01/13 09:09, unni_c at csa.iisc.ernet.in wrote: >> 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. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev