[llvm-commits] CVS: llvm-test/External/SPEC/Makefile.spec

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



Changes in directory llvm-test/External/SPEC:

Makefile.spec updated: 1.48 -> 1.49
---
Log message:

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



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

 Makefile.spec |    8 ++++++++
 1 files changed, 8 insertions(+)


Index: llvm-test/External/SPEC/Makefile.spec
diff -u llvm-test/External/SPEC/Makefile.spec:1.48 llvm-test/External/SPEC/Makefile.spec:1.49
--- llvm-test/External/SPEC/Makefile.spec:1.48	Sun Jan 16 20:05:02 2005
+++ llvm-test/External/SPEC/Makefile.spec	Sun May  8 18:39:14 2005
@@ -113,6 +113,14 @@
 	-(cd Output/cbe-$(RUN_TYPE); cat $(LOCAL_OUTPUTS)) > $@
 	-cp Output/cbe-$(RUN_TYPE)/$(STDOUT_FILENAME).time $@.time
 
+# 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=../$*.out-nat
 BUGPOINT_OPTIONS += -timeout=$(RUNTIMELIMIT)






More information about the llvm-commits mailing list