File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -840,15 +840,20 @@ def extract_dist_dir(name: str) -> Path:
840
840
cargo_path = cargo_dir / "bin" / f"cargo{ pipeline .executable_extension ()} "
841
841
assert cargo_path .is_file ()
842
842
843
+ # Specify path to a LLVM config so that LLVM is not rebuilt.
844
+ # It doesn't really matter which LLVM config we choose, because no sysroot will be compiled.
845
+ llvm_config = pipeline .build_artifacts () / "llvm" / "bin" / "llvm-config"
846
+ assert llvm_config .is_file ()
847
+
843
848
config_content = f"""profile = "user"
844
849
changelog-seen = 2
845
850
846
851
[build]
847
852
rustc = "{ rustc_path .as_posix ()} "
848
853
cargo = "{ cargo_path .as_posix ()} "
849
854
850
- [llvm ]
851
- download-ci- llvm = true
855
+ [target. { PGO_HOST } ]
856
+ llvm-config = " { llvm_config . as_posix () } "
852
857
"""
853
858
logging .info (f"Using following `config.toml` for running tests:\n { config_content } " )
854
859
You can’t perform that action at this time.
0 commit comments