[PATCH v2] stdio-common: Exclude bug28 when clang is used
H.J. Lu
hjl.tools@gmail.com
Wed Dec 18 18:21:27 GMT 2024
Clang 19 takes a very long time, it ran more than 27 minutes on Intel Core
i7-1195G7 before the process was killed, to compile bug28.c:
https://github.com/llvm/llvm-project/issues/120462
Exclude it when Clang is used for testing.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
---
stdio-common/Makefile | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index b1a04fd064..e5b4ce9e00 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -200,7 +200,6 @@ tests := \
bug25 \
bug26 \
bug27 \
- bug28 \
bug29 \
errnobug \
scanf1 \
@@ -317,6 +316,16 @@ tests := \
xbug \
# tests
+# Clang 19 takes a very long time, it ran more than 27 minutes on Intel
+# Core i7-1195G7 before the process was killed, to compile bug28.c:
+# https://github.com/llvm/llvm-project/issues/120462
+# Exclude it when Clang is used for testing.
+ifneq ($(have-test-clang),yes)
+tests += \
+ bug28 \
+ # tests
+endif
+
ifeq ($(run-built-tests),yes)
ifeq (yes,$(build-shared))
ifneq ($(PERL),no)
--
2.47.1
More information about the Libc-alpha
mailing list