[llvm-commits] [test-suite] r105444 - /test-suite/trunk/MultiSource/Benchmarks/PAQ8p/Makefile

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Jun 3 17:23:19 PDT 2010


Author: stoklund
Date: Thu Jun  3 19:23:19 2010
New Revision: 105444

URL: http://llvm.org/viewvc/llvm-project?rev=105444&view=rev
Log:
PAQ8p wants to write a file next to the input file.

Copy the input file to the output directory in case PROJ_SRC_DIR is not writable.

Modified:
    test-suite/trunk/MultiSource/Benchmarks/PAQ8p/Makefile

Modified: test-suite/trunk/MultiSource/Benchmarks/PAQ8p/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/PAQ8p/Makefile?rev=105444&r1=105443&r2=105444&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/PAQ8p/Makefile (original)
+++ test-suite/trunk/MultiSource/Benchmarks/PAQ8p/Makefile Thu Jun  3 19:23:19 2010
@@ -4,9 +4,16 @@
 CPPFLAGS += -DNOASM -DLLVM
 LDFLAGS = -lstdc++ -lm
 ifdef SMALL_PROBLEM_SIZE
-RUN_OPTIONS = -1 $(PROJ_SRC_DIR)/file1.in
+RUN_OPTIONS = -1 Output/file1.in
 else
-RUN_OPTIONS = -4 $(PROJ_SRC_DIR)/file1.in
+RUN_OPTIONS = -4 Output/file1.in
 endif
 
 include $(LEVEL)/MultiSource/Makefile.multisrc
+
+# The program insists on writing its output next to the input, but PROJ_SRC_DIR
+# may not be writable.
+Output/file1.in:
+	$(VERB) cp $(PROJ_SRC_DIR)/file1.in $@
+
+Output/paq8p.out-llc Output/paq8p.out-nat Output/paq8p.out-simple Output/paq8p.out-llc-beta Output/paq8p.out-opt-beta: Output/file1.in





More information about the llvm-commits mailing list