[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:58 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Eric (EricWF)

<details>
<summary>Changes</summary>

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.


---
Full diff: https://github.com/llvm/llvm-project/pull/84344.diff


1 Files Affected:

- (modified) libcxx/utils/libcxx/test/features.py (+4) 


``````````diff
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"),
         ],
     ),

``````````

</details>


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


More information about the libcxx-commits mailing list