diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-12-16 07:21:43 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-12-22 06:07:17 +0800 |
commit | 969d7cf89966d55fbf0732ae7bc0949a970c837d (patch) | |
tree | d093bc46b80707772323c46af8205ccad642f4f2 /math | |
parent | 88499d61bd9a36ae3f6bcf11dd8c33ed42062fc5 (diff) | |
download | glibc-969d7cf89966d55fbf0732ae7bc0949a970c837d.zip glibc-969d7cf89966d55fbf0732ae7bc0949a970c837d.tar.gz glibc-969d7cf89966d55fbf0732ae7bc0949a970c837d.tar.bz2 |
math: Exclude tgmath3-macro-tests for Clang
tgmath3-macro-tests won't compile with <float.h> and <tgmath.h> from
Clang due to missing C23 support:
https://github.com/llvm/llvm-project/issues/97335
Disable them for now when Clang is used for testing so that "make check"
can finish.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index d262de8..a9f29d6 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1028,7 +1028,12 @@ tgmath3-macros = \ ufromfpx \ # tgmath3-macros tgmath3-macro-tests = $(addprefix test-tgmath3-,$(tgmath3-macros)) +ifneq ($(have-test-clang),yes) +# NB: tgmath3-macro-tests won't compile with <float.h> and <tgmath.h> +# from Clang due to missing C23 support: +# https://github.com/llvm/llvm-project/issues/97335 tests-tgmath += $(tgmath3-macro-tests) +endif tests += $(tests-tgmath) generated += $(addsuffix .c,$(tgmath3-macro-tests)) |