Allow overriding filecheck even if LLVM is built or downloaded - #162328
Conversation
|
This PR modifies If appropriate, please update This PR changes how LLVM is built. Consider updating src/bootstrap/download-ci-llvm-stamp. |
This comment has been minimized.
This comment has been minimized.
|
Thanks, this seems to fix the issue. One thing that would be nice if you could find out how to fix this: the llvm sub-module still seems to be cloned on a gcc-only config. |
|
There are surprisingly many things in bootstrap that want to build LLVM 😆 |
|
Thanks. This seems to fix all my issues. |
This comment has been minimized.
This comment has been minimized.
|
Hmm, it won't be so easy. Sorry, I will revert the last commit, meaning that LLVM will still be checked out. I need to do more refactorings in bootstrap to feel confident that this change won't break anything (which it just did). |
0a387fc to
a490ea6
Compare
|
@bors r=jieyouxu Approving what you previously approved, with the lint addressed. |
…r=jieyouxu Allow overriding filecheck even if LLVM is built or downloaded @antoyo ran into some issues with this, because he wants to run UI tests using the GCC codegen backend. But the tests still require LLVM FileCheck for checking annotations, so he had to download/build LLVM. But really the thing he wants is just to provide an external FileCheck, and that's it. I don't see why we couldn't allow providing filecheck separately, now that it is an explicit step in bootstrap. r? jieyouxu
…r=jieyouxu Allow overriding filecheck even if LLVM is built or downloaded @antoyo ran into some issues with this, because he wants to run UI tests using the GCC codegen backend. But the tests still require LLVM FileCheck for checking annotations, so he had to download/build LLVM. But really the thing he wants is just to provide an external FileCheck, and that's it. I don't see why we couldn't allow providing filecheck separately, now that it is an explicit step in bootstrap. r? jieyouxu
…r=jieyouxu Allow overriding filecheck even if LLVM is built or downloaded @antoyo ran into some issues with this, because he wants to run UI tests using the GCC codegen backend. But the tests still require LLVM FileCheck for checking annotations, so he had to download/build LLVM. But really the thing he wants is just to provide an external FileCheck, and that's it. I don't see why we couldn't allow providing filecheck separately, now that it is an explicit step in bootstrap. r? jieyouxu
…r=jieyouxu Allow overriding filecheck even if LLVM is built or downloaded @antoyo ran into some issues with this, because he wants to run UI tests using the GCC codegen backend. But the tests still require LLVM FileCheck for checking annotations, so he had to download/build LLVM. But really the thing he wants is just to provide an external FileCheck, and that's it. I don't see why we couldn't allow providing filecheck separately, now that it is an explicit step in bootstrap. r? jieyouxu
Rollup of 14 pull requests Successful merges: - #162404 (`rust-analyzer` subtree update) - #161624 (diagnostics: Point closure trait errors at captured values) - #161697 (make `Complex` ABI-compatible on sparc64 and powerpc64) - #162182 (delay unexpected successful goal during ambiguity reporting) - #162328 (Allow overriding filecheck even if LLVM is built or downloaded) - #162367 (Use `reason` for tracked item diagnostics from `cfg_select!`) - #162381 (fix bare urls split text) - #162388 (std: fix set_permissions_nofollow on espidf and horizon) - #162319 (docs(core): correct ARMv8-M Baseline atomic CAS support) - #162341 (add regression test for packus_epi16 issue) - #162383 (Add a hint for using `nolimit` to the limiting error message) - #162384 (remove EnumSizeOpt) - #162390 (remove outdated comment in `UnsafeCell::raw_get` source) - #162397 (docs: Ask for ABI documentation in the platform support template)
Rollup merge of #162328 - Kobzol:bootstrap-filecheck-relax, r=jieyouxu Allow overriding filecheck even if LLVM is built or downloaded @antoyo ran into some issues with this, because he wants to run UI tests using the GCC codegen backend. But the tests still require LLVM FileCheck for checking annotations, so he had to download/build LLVM. But really the thing he wants is just to provide an external FileCheck, and that's it. I don't see why we couldn't allow providing filecheck separately, now that it is an explicit step in bootstrap. r? jieyouxu
@antoyo ran into some issues with this, because he wants to run UI tests using the GCC codegen backend. But the tests still require LLVM FileCheck for checking annotations, so he had to download/build LLVM. But really the thing he wants is just to provide an external FileCheck, and that's it. I don't see why we couldn't allow providing filecheck separately, now that it is an explicit step in bootstrap.
r? jieyouxu