[libcxx-commits] [libcxx] 1880e41 - Fix the OSS fuzz build. (#86562)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Mar 25 14:34:46 PDT 2024
Author: Eric
Date: 2024-03-25T17:34:43-04:00
New Revision: 1880e41a4cd0bdd5abec955134ddd49d2b016f89
URL: https://github.com/llvm/llvm-project/commit/1880e41a4cd0bdd5abec955134ddd49d2b016f89
DIFF: https://github.com/llvm/llvm-project/commit/1880e41a4cd0bdd5abec955134ddd49d2b016f89.diff
LOG: Fix the OSS fuzz build. (#86562)
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
Added:
Modified:
libcxx/utils/ci/oss-fuzz.sh
Removed:
################################################################################
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
More information about the libcxx-commits
mailing list