[LLVMdev] [PATCH] Running SPEC benchmark with objdir != srcdir

Julien Lerouge jlerouge at apple.com
Tue Apr 1 09:27:22 PDT 2008


Hello,

I would like to run a SPEC benchmark from llvm-test, with objdir !=
srcdir. Right now it doesn't work because the config file
External/SPEC/Makefile.spec.config is not created by the configure
script in the target objdir.

The attached patch adds the above Makefile to the list of Makefile(s)
configure has to process. I have tested it on my local tree (needs to
regenerate configure).

Thanks,
Julien

-- 
Julien Lerouge
PGP Key Id: 0xB1964A62
PGP Fingerprint: 392D 4BAD DB8B CE7F 4E5F FA3C 62DB 4AA7 B196 4A62
PGP Public Key from: keyserver.pgp.com
-------------- next part --------------
Index: autoconf/configure.ac
===================================================================
--- autoconf/configure.ac	(revision 49011)
+++ autoconf/configure.ac	(working copy)
@@ -31,6 +31,7 @@
 AC_CONFIG_MAKEFILE(External/Povray/Makefile)
 AC_CONFIG_MAKEFILE(External/SPEC/Makefile)
 AC_CONFIG_MAKEFILE(External/SPEC/Makefile.spec)
+AC_CONFIG_MAKEFILE(External/SPEC/Makefile.spec.config)
 AC_CONFIG_MAKEFILE(External/SPEC/Makefile.spec2006)
 AC_CONFIG_MAKEFILE(External/SPEC/Makefile.spec2000)
 AC_CONFIG_MAKEFILE(External/SPEC/Makefile.spec95)


More information about the llvm-dev mailing list