Start generating libm tests automatically with MPFR

Joseph S. Myers joseph@codesourcery.com
Thu Nov 28 04:56:00 GMT 2013


This patch should be considered to be taken together with the makefile
dependency fix:

2013-11-27  Joseph Myers  <joseph@codesourcery.com>

	* math/Makefile ($(objpfx)libm-test.stmp): Depend on
	auto-libm-test-out.

diff --git a/math/Makefile b/math/Makefile
index fcccab2..d178789 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -112,7 +112,8 @@ ulps-file = $(firstword $(wildcard $(sysdirs:%=%/libm-test-ulps)))
 
 $(addprefix $(objpfx), $(libm-tests-generated)): $(objpfx)libm-test.stmp
 
-$(objpfx)libm-test.stmp: $(ulps-file) libm-test.inc gen-libm-test.pl
+$(objpfx)libm-test.stmp: $(ulps-file) libm-test.inc gen-libm-test.pl \
+			 auto-libm-test-out
 	$(make-target-directory)
 	$(PERL) gen-libm-test.pl -u $< -o "$(objpfx)"
 	@echo > $@

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list