File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 11Change this file to make users of the `download-ci-llvm` configuration download
22a new version of LLVM from CI, even if the LLVM submodule hasn’t changed.
33
4- Last change is for: https://github.com/rust-lang/rust/pull/125642
4+ Last change is for: https://github.com/rust-lang/rust/pull/129116
Original file line number Diff line number Diff line change @@ -2322,6 +2322,19 @@ impl Step for RustDev {
23222322 let link_type = if builder. llvm_link_shared ( ) { "dynamic" } else { "static" } ;
23232323 t ! ( std:: fs:: write( tarball. image_dir( ) . join( "link-type.txt" ) , link_type) , dst_libdir) ;
23242324
2325+ // Copy the `compiler-rt` source, so that `library/profiler_builtins`
2326+ // can potentially use it to build the profiler runtime without needing
2327+ // to check out the LLVM submodule.
2328+ copy_src_dirs (
2329+ builder,
2330+ & builder. src . join ( "src" ) . join ( "llvm-project" ) ,
2331+ & [ "compiler-rt" ] ,
2332+ // The test subdirectory is much larger than the rest of the source,
2333+ // and we currently don't use these test files anyway.
2334+ & [ "compiler-rt/test" ] ,
2335+ tarball. image_dir ( ) ,
2336+ ) ;
2337+
23252338 Some ( tarball. generate ( ) )
23262339 }
23272340}
You can’t perform that action at this time.
0 commit comments