[llvm-dev] How to precisely reproduce the buildbot fail in local?

Wang, Phoebe via llvm-dev llvm-dev at lists.llvm.org
Thu Dec 23 06:28:49 PST 2021


Hi,

I have a patch that caused several buildbot fails in a lit test. The test passed with my local setup. Surprisingly, it passed even I used the same commands with the bot.


Here is one of the failed bot: https://lab.llvm.org/buildbot#builders/110/builds/8880
Here are steps I tried (used the identical command copy + paste from the bot):
$ cmake -G Ninja ../llvm/llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=True '-DLLVM_LIT_ARGS='"'"'-v'"'"'' -DCMAKE_INSTALL_PREFIX=../stage1.install -DLLVM_ENABLE_ASSERTIONS=ON '-DCMAKE_C_FLAGS='"'"'-march=broadwell'"'"'' '-DCMAKE_CXX_FLAGS='"'"'-march=broadwell'"'"'' '-DLLVM_TARGETS_TO_BUILD='"'"'X86'"'"'' '-DLLVM_ENABLE_PROJECTS=llvm;clang'
$ ninja check-all

Any idea how can I reproduce it locally?

Thanks
Phoebe

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211223/87138e81/attachment.html>


More information about the llvm-dev mailing list