sachin arora via llvm-dev
2015-Nov-12 20:56 UTC
[llvm-dev] Building SPEC CPU2006 Fortran benchmarks with llvm
Hello, I have built llvm with some added Machine Function Passes and I am trying to use it to build the SPEC CPU2006 benchmarks. I am using llvm test-suite to build the benchmarks. I configured the test-suite with "--with-f2c" but still none of the fortran benchmarks are built or compiled. I tried running simple and nightly tests. Kindly let me know if I am missing some steps and if not then what might be the problem. Thank you. -- Regards, Sachin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151112/34a884e3/attachment.html>
C Bergström via llvm-dev
2015-Nov-12 21:01 UTC
[llvm-dev] Building SPEC CPU2006 Fortran benchmarks with llvm
Your easiest option is just provide a Fortran compiler and ignore the Fortran benchmarks as part of your clang evaluation. I don't think the F2C option is designed to source-to-source convert the Fortran codes over to C if that's what you thought it does. On Fri, Nov 13, 2015 at 3:56 AM, sachin arora via llvm-dev <llvm-dev at lists.llvm.org> wrote:> Hello, > > I have built llvm with some added Machine Function Passes and I am trying to > use it to build the SPEC CPU2006 benchmarks. I am using llvm test-suite to > build the benchmarks. I configured the test-suite with "--with-f2c" but > still none of the fortran benchmarks are built or compiled. I tried running > simple and nightly tests. Kindly let me know if I am missing some steps and > if not then what might be the problem. Thank you. > > -- > Regards, > Sachin > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >
sachin arora via llvm-dev
2015-Nov-12 21:14 UTC
[llvm-dev] Building SPEC CPU2006 Fortran benchmarks with llvm
Thanks for your reply ! I was also skeptical about F2C being of any help but the LLVM test-suite guide says "For now, LLVM does not have a Fortran front-end, but using F2C, we can run Fortran benchmarks. F2C support must be enabled via configure if not installed in a standard place.". So that's why I gave it a try. I guess I will just evaluate clang on C and C++ benchmarks. On Thu, Nov 12, 2015 at 3:12 PM, sachin arora <sachin345678 at gmail.com> wrote:> Thanks for your reply ! I was also skeptical about F2C being of any help > but the LLVM test-suite guide says "For now, LLVM does not have a Fortran > front-end, but using F2C, we can run Fortran benchmarks. F2C support must > be enabled via configure if not installed in a standard place.". So > that's why I gave it a try. I guess I will just evaluate clang on C and C++ > benchmarks. > > On Thu, Nov 12, 2015 at 3:01 PM, C Bergström <cbergstrom at pathscale.com> > wrote: > >> Your easiest option is just provide a Fortran compiler and ignore the >> Fortran benchmarks as part of your clang evaluation. I don't think the >> F2C option is designed to source-to-source convert the Fortran codes >> over to C if that's what you thought it does. >> >> >> On Fri, Nov 13, 2015 at 3:56 AM, sachin arora via llvm-dev >> <llvm-dev at lists.llvm.org> wrote: >> > Hello, >> > >> > I have built llvm with some added Machine Function Passes and I am >> trying to >> > use it to build the SPEC CPU2006 benchmarks. I am using llvm test-suite >> to >> > build the benchmarks. I configured the test-suite with "--with-f2c" but >> > still none of the fortran benchmarks are built or compiled. I tried >> running >> > simple and nightly tests. Kindly let me know if I am missing some steps >> and >> > if not then what might be the problem. Thank you. >> > >> > -- >> > Regards, >> > Sachin >> > >> > _______________________________________________ >> > LLVM Developers mailing list >> > llvm-dev at lists.llvm.org >> > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >> > >> > > > > -- > Regards, > Sachin >-- Regards, Sachin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151112/93ff455c/attachment.html>
Reasonably Related Threads
- [LLVMdev] Need guidance regarding MachineFunctionPass
- [LLVMdev] Need guidance regarding MachineFunctionPass
- [LLVMdev] LLVM 2.9 Fails to Compile some CPU2006 Benchmarks on X86
- [LLVMdev] How to compile SPEC CPU2006 using LLVM outside of test suite
- [LLVMdev] How to compile SPEC CPU2006 using LLVM outside of test suite