[libcxx-commits] [libcxx] Fix the OSS fuzz build. (PR #86562)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Mar 25 12:13:59 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: Eric (EricWF)
<details>
<summary>Changes</summary>
The OSS fuzz build has been broken for a while because of changes
to the cmake configuration. This patch fixes the issues by defaulting to
libunwind as the default runtime
---
Full diff: https://github.com/llvm/llvm-project/pull/86562.diff
1 Files Affected:
- (modified) libcxx/utils/ci/oss-fuzz.sh (+1-1)
``````````diff
diff --git a/libcxx/utils/ci/oss-fuzz.sh b/libcxx/utils/ci/oss-fuzz.sh
index d5e7fcea6012e3..e5723406a9ff3b 100755
--- a/libcxx/utils/ci/oss-fuzz.sh
+++ b/libcxx/utils/ci/oss-fuzz.sh
@@ -14,7 +14,7 @@ MONOREPO_ROOT=${PWD}
mkdir ${BUILD}
cmake -S ${MONOREPO_ROOT}/runtimes -B ${BUILD} \
- -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \
+ -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX="${INSTALL}"
cmake --build ${BUILD} --target install-cxx-headers
``````````
</details>
https://github.com/llvm/llvm-project/pull/86562
More information about the libcxx-commits
mailing list