[libcxx-commits] [libcxx] [libc++] Attempts to fix OSS-Fuzz builds. (PR #88005)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Apr 8 08:34:02 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: Mark de Wever (mordante)
<details>
<summary>Changes</summary>
OSS-Fuzz still uses Clang-15 which causes OSS-Fuzz to fail. It has not been tested that after this change there are other issues with the build.
---
Full diff: https://github.com/llvm/llvm-project/pull/88005.diff
1 Files Affected:
- (modified) libcxx/include/__config (+3-1)
``````````diff
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 8550b1da4a2787..2203ca79c42104 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -44,7 +44,9 @@
// Warn if a compiler version is used that is not supported anymore
// LLVM RELEASE Update the minimum compiler versions
# if defined(_LIBCPP_CLANG_VER)
-# if _LIBCPP_CLANG_VER < 1600
+// The OSS-Fuzz builds uses an unsupported Clang version (Clang 15).
+// TODO Find a permanent solution for OSS-Fuzz.
+# if _LIBCPP_CLANG_VER < 1500
# warning "Libc++ only supports Clang 16 and later"
# endif
# elif defined(_LIBCPP_APPLE_CLANG_VER)
``````````
</details>
https://github.com/llvm/llvm-project/pull/88005
More information about the libcxx-commits
mailing list