aboutsummaryrefslogtreecommitdiff
path: root/Makefile.help
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-05-21 13:52:53 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-05-21 16:53:27 -0300
commitce6cdb94d0769e99d0779b6283f543d333553461 (patch)
tree278e20aee32efb20fc2dd9b783b104f07992c5b6 /Makefile.help
parent85472c20a55ea2a49a7fbdf71652b4009118b0ae (diff)
downloadglibc-ce6cdb94d0769e99d0779b6283f543d333553461.zip
glibc-ce6cdb94d0769e99d0779b6283f543d333553461.tar.gz
glibc-ce6cdb94d0769e99d0779b6283f543d333553461.tar.bz2
math: Add support for auto static math tests
It basically copy the already in place rules for dynamic tests for auto-generated math functions for all support types. To avoid the need to duplicate .inc files, a .SECONDEXPANSION rules is adeed for the gen-libm-test.py generation. New tests are added on the new rules 'libm-test-funcs-auto-static', 'libm-test-funcs-noauto-static', and 'libm-test-funcs-narrow-static'; similar to the non-static counterparts. To avoid add extra build and disk requirement, the new math static tests are only enable with a new define 'build-math-static-tests'. Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'Makefile.help')
-rw-r--r--Makefile.help4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.help b/Makefile.help
index b49df9c..17e7154 100644
--- a/Makefile.help
+++ b/Makefile.help
@@ -33,6 +33,10 @@ test
Note that this will rebuild the test if needed, but will not
rebuild what "make all" would have rebuilt.
+build-math-static-tests
+ Enable extra math tests for static linking. Use like this:
+ make test t=math/test-float-exp10-static build-math-static-tests=yes
+
--
Other useful hints: