[llvm-commits] [test-suite] r72427 - /test-suite/trunk/Makefile.programs

Daniel Dunbar daniel at zuster.org
Tue May 26 11:32:35 PDT 2009


Author: ddunbar
Date: Tue May 26 13:32:34 2009
New Revision: 72427

URL: http://llvm.org/viewvc/llvm-project?rev=72427&view=rev
Log:
Unbreak nightlytest JIT results.
 - EXTRA_LLIFLAGS needs to always be present in {LLI,JIT}_OPTS, since the
   nightlytest report Makefile expects to be able to rebind it later for forcing
   statistics output.

Modified:
    test-suite/trunk/Makefile.programs

Modified: test-suite/trunk/Makefile.programs
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.programs?rev=72427&r1=72426&r2=72427&view=diff

==============================================================================
--- test-suite/trunk/Makefile.programs (original)
+++ test-suite/trunk/Makefile.programs Tue May 26 13:32:34 2009
@@ -433,6 +433,8 @@
 # Rules to execute the program
 #
 
+# Note, these must be lazily expanded by make (for EXTRA_LLIFLAGS to work, it is
+# redefined in other Makefiles).
 LLI_OPTS = -force-interpreter=true --disable-core-files
 JIT_OPTS = -force-interpreter=false --disable-core-files
 
@@ -447,10 +449,14 @@
 LLI_OPTS += $(TARGET_LLIFLAGS)
 JIT_OPTS += $(TARGET_LLIFLAGS)
 endif
-ifdef EXTRA_LLIFLAGS
+
+# EXTRA_LLIFLAGS is used by the nighly tester to add arugments to invocations of
+# the JIT and LLI in order to get timing info and statistics.
+ifndef EXTRA_LLIFLAGS
+EXTRA_LLIFLAGS =
+endif
 LLI_OPTS += $(EXTRA_LLIFLAGS)
 JIT_OPTS += $(EXTRA_LLIFLAGS)
-endif
 
 # If the program requires exception handling support, enable (potentially
 # expensive) support for it.





More information about the llvm-commits mailing list