-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[libc++] Add a CI job for the LLDB data formatters #65174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -367,6 +367,10 @@ bootstrapping-build) | |
-DLLVM_ENABLE_ASSERTIONS=ON \ | ||
-DLLVM_LIT_ARGS="-v --show-unsupported --xunit-xml-output test-results.xml --timeout=1500 --time-tests" | ||
|
||
${NINJA} -vC "${BUILD_DIR}" install-clang install-clang-resource-headers | ||
tar -cJvf install.tar.xz ${INSTALL_DIR} | ||
buildkite-agent artifact upload --debug install.tar.xz | ||
|
||
echo "+++ Running the libc++ and libc++abi tests" | ||
${NINJA} -vC "${BUILD_DIR}" check-runtimes | ||
|
||
|
@@ -580,6 +584,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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this require building Clang? If so, I don't think we can add this as a pre-commit check. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since we already build clang in the bootstrap build I think it makes sense to test it in that CI job. Or at least share the build artifacts of the bootstrap build and reuse it. This is similar what the clang CI does. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yup that would build clang. Agree with @mordante , re-using the already built clang on the machine is what we do for our LLDB CI too. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you link to what you folks do there? Do you simply avoid adding There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think using a "standalone" build of LLDB would make sense here? Correct me if I'm wrong @adrian-prantl @JDevlieghere So if we have a clang build already, we can just point the LLDB build to those artifacts as follows:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What I meant was to reuse the build of clang in our bootstrapping build. |
||
;; | ||
documentation) | ||
clean | ||
generate-cmake -DLLVM_ENABLE_SPHINX=ON | ||
|
Uh oh!
There was an error while loading. Please reload this page.