diff options
| author | Ryan Prichard <ryan.prichard@gmail.com> | 2015-04-17 05:05:22 -0700 |
|---|---|---|
| committer | Ryan Prichard <ryan.prichard@gmail.com> | 2015-04-22 20:26:19 -0700 |
| commit | b7ab2aeebddc927f8e4bc98093db57f2ba56844b (patch) | |
| tree | 4634cf6486b211e2adc038a93283ed1084789bd3 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 7fbedc58e3b0e102ece926a7f99041fc3ad3037a (diff) | |
| download | rust-b7ab2aeebddc927f8e4bc98093db57f2ba56844b.tar.gz rust-b7ab2aeebddc927f8e4bc98093db57f2ba56844b.zip | |
Fix the dependency for the pretty-rpass-full tests
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. 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_$(3)_H_$(3)) variable, which includes the complete set of host and target crates, built for a particular stage and host. We use T_$(3), not T_$(2), because we only build LLVM for host triples (not target triples), so we can only build rustc_llvm for host triples. The fulldeps tests that use plugins need host rustc crates, whereas fulldeps tests that link against rustc and run should be skipped for cross-compilation (such as Android). Fixes #22021
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
