[llvm-commits] CVS: poolalloc/test/TEST.perf.Makefile

John Criswell criswell at cs.uiuc.edu
Sun Mar 7 20:15:30 PST 2004


Changes in directory poolalloc/test:

TEST.perf.Makefile updated: 1.7 -> 1.8

---
Log message:

Fixed the rules for doing SPEC.  Using absolute paths ensures that things
end up in the right place.



---
Diffs of the changes:  (+5 -5)

Index: poolalloc/test/TEST.perf.Makefile
diff -u poolalloc/test/TEST.perf.Makefile:1.7 poolalloc/test/TEST.perf.Makefile:1.8
--- poolalloc/test/TEST.perf.Makefile:1.7	Fri Mar  5 13:28:20 2004
+++ poolalloc/test/TEST.perf.Makefile	Fri Mar  5 14:47:36 2004
@@ -130,18 +130,18 @@
 # This rule runs the generated executable, generating timing information, for
 # SPEC
 $(PROGRAMS_TO_TEST:%=Output/test.$(TEST).pa.%): \
-Output/test.$(TEST).pa.%: Output/%.poolalloc.cbe
-	-$(SPEC_SANDBOX) poolalloccbe-$(RUN_TYPE) /dev/null $(REF_IN_DIR) \
+Output/test.$(TEST).pa.%: Output/%.poolalloc.cbe  Output/test.$(TEST).%
+	-$(SPEC_SANDBOX) poolalloccbe-$(RUN_TYPE) $@.out $(REF_IN_DIR) \
              $(RUNSAFELY) $(STDIN_FILENAME) $(STDOUT_FILENAME) \
-                  $(PERFEX) -o $@ $(EVENTS) ../../$< $(RUN_OPTIONS)
+                  $(PERFEX) -o $(BUILD_OBJ_DIR)/$@ $(EVENTS) $(BUILD_OBJ_DIR)/$< $(RUN_OPTIONS)
 
 # This rule runs the generated executable, generating timing information, for
 # SPEC
 $(PROGRAMS_TO_TEST:%=Output/test.$(TEST).%): \
 Output/test.$(TEST).%: Output/%.nonpa.cbe
-	-$(SPEC_SANDBOX) nonpacbe-$(RUN_TYPE) /dev/null $(REF_IN_DIR) \
+	-$(SPEC_SANDBOX) nonpacbe-$(RUN_TYPE) $@.out $(REF_IN_DIR) \
              $(RUNSAFELY) $(STDIN_FILENAME) $(STDOUT_FILENAME) \
-                  $(PERFEX) -o $@ $(EVENTS) ../../$< $(RUN_OPTIONS)
+                  $(PERFEX) -o $(BUILD_OBJ_DIR)/$@ $(EVENTS) $(BUILD_OBJ_DIR)/$< $(RUN_OPTIONS)
 endif
 
 ############################################################################





More information about the llvm-commits mailing list