[llvm-commits] CVS: llvm-test/Makefile.programs

Chris Lattner lattner at cs.uiuc.edu
Sun May 8 16:39:25 PDT 2005



Changes in directory llvm-test:

Makefile.programs updated: 1.153 -> 1.154
---
Log message:

If a program has a tolerance set, pass it to bugpoint!


---
Diffs of the changes:  (+7 -0)

 Makefile.programs |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm-test/Makefile.programs
diff -u llvm-test/Makefile.programs:1.153 llvm-test/Makefile.programs:1.154
--- llvm-test/Makefile.programs:1.153	Fri Apr 15 17:12:16 2005
+++ llvm-test/Makefile.programs	Sun May  8 18:39:07 2005
@@ -361,6 +361,13 @@
 Output/%.out-cbe: Output/%.cbe
 	-$(RUNSAFELY) $(STDIN_FILENAME) $@ $< $(RUN_OPTIONS)
 
+# If a tolerance is set, pass it off to bugpoint
+ifdef FP_TOLERANCE
+BUGPOINT_OPTIONS += -rel-tolerance $(FP_TOLERANCE)
+endif
+ifdef FP_ABSTOLERANCE
+BUGPOINT_OPTIONS += -abs-tolerance $(FP_ABSTOLERANCE)
+endif
 
 # Specify stdin, reference output, and command line options for the program...
 BUGPOINT_OPTIONS += -input=$(STDIN_FILENAME) -output=Output/$*.out-nat






More information about the llvm-commits mailing list