-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Parallel make check
doesn't run in the right order
#22021
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
Comments
I've seen this too. I usually do |
This seems to be specific to the pretty tests. Goes away with |
cc me |
@pnkfelix AFAICT, the
I'll work on a fix. |
@pnkfelix Do you have a preference on how to fix the I have a fix now, but it's not successfully tested. Parallel |
I fixed |
The current code attempts to define the PRETTY_DEPS$(1)_H_$(3)_pretty-rpass-full variable, which does not work, because $(1) and $(3) are not inside a function. Moving it into a function helps, but we need the target library (TLIB), not the host library (HLIB). Moreover, there is a test (run-pass-fulldeps/compiler-calls.rs) that uses rustc_driver, which is not an indirect dependency of librustc or libsyntax. Listing all the dependencies will be hard to maintain, but there's a better way to do this... As with the rpass-full and cfail-full tests, add dependencies using the $$(CSREQ$(1)_T_$(2)_H_$(3)) variable, which includes the complete set of host and target crates, built for a particular stage, host, and target. Fixes rust-lang#22021
I ran
make check -j7
, and some of the tests were failing because thesyntax
andrustc
libs in$target/stage2/lib/rustlib/....../lib/
hadn't been built yet.I guess the makefile needs some tweaks?
The text was updated successfully, but these errors were encountered: