[libcxx-commits] [libcxx] Attempt to resolve GCC 13 bot slowness (PR #84344)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 7 08:59:31 PST 2024


https://github.com/EricWF created https://github.com/llvm/llvm-project/pull/84344

The bots are running slow because of the amount of IO done by
each worker every time they compile a file due to a number of
deprecated declarations.


>From dec9059c573fa68eb7fa29933f5d7254730f85e2 Mon Sep 17 00:00:00 2001
From: eric <eric at efcs.ca>
Date: Thu, 7 Mar 2024 11:55:20 -0500
Subject: [PATCH] Attempt to resolve GCC 13 bot slowness

The bots are running slow because of the amount of IO done by
each worker every time they compile a file due to a number of
deprecated declarations.
---
 libcxx/utils/libcxx/test/features.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libcxx/utils/libcxx/test/features.py b/libcxx/utils/libcxx/test/features.py
index 6ef40755c59d97..8a1802c1290900 100644
--- a/libcxx/utils/libcxx/test/features.py
+++ b/libcxx/utils/libcxx/test/features.py
@@ -107,6 +107,10 @@ def _getAndroidDeviceApi(cfg):
             AddCompileFlag("-D_LIBCPP_DISABLE_DEPRECATION_WARNINGS"),
             AddCompileFlag("-Wno-placement-new"),
             AddCompileFlag("-Wno-class-memaccess"),
+            # Attempt to fix slow github actions bot performance with GCC. As of writing the test produces
+            # a lot of warnings and errors with GCC 13, and those warnings block the test threads from making progress
+            # This is a temporary fix until the issue is resolved.
+            AddCompileFlag("-Wno-deprecated-declarations"),
             AddFeature("GCC-ALWAYS_INLINE-FIXME"),
         ],
     ),



More information about the libcxx-commits mailing list