[libcxx-commits] [libcxx] [libc++] Add a CI job for the LLDB data formatters (PR #65174)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 12 16:49:35 PDT 2023


================
@@ -574,6 +574,20 @@ benchmarks)
     generate-cmake
     check-cxx-benchmarks
 ;;
+check-lldb-data-formatters)
+    clean
+    ${CMAKE}                                        \
+        -S "${MONOREPO_ROOT}/llvm"                  \
+        -B "${BUILD_DIR}"                           \
+        -GNinja -DCMAKE_MAKE_PROGRAM="${NINJA}"     \
+        -DCMAKE_BUILD_TYPE=RelWithDebInfo           \
+        -DLLVM_ENABLE_ASSERTIONS=ON                 \
+        -DLLDB_ENABLE_PYTHON=ON                     \
+        -DLLVM_ENABLE_PROJECTS='llvm;clang;lldb'    \
+        -DLLVM_ENABLE_RUNTIMES='libcxx;libcxxabi'
+
+    ${NINJA} -C "${BUILD_DIR}" check-lldb-api-functionalities-data-formatter-data-formatter-stl-libcxx
----------------
ldionne wrote:

Can you link to what you folks do there? Do you simply avoid adding `clang` to `LLVM_ENABLE_PROJECTS`? It's easy for me to upload the just-built Clang artifacts to Buildkite but I am not sure what I should do to reuse them from the LLDB build.

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


More information about the libcxx-commits mailing list