@@ -2871,31 +2871,33 @@ impl Step for ReproducibleArtifacts {
28712871/// Tarball containing a prebuilt version of the libgccjit library,
28722872/// needed as a dependency for the GCC codegen backend (similarly to the LLVM
28732873/// backend needing a prebuilt libLLVM).
2874+ ///
2875+ /// This component is used for `download-ci-gcc`.
28742876#[ derive( Clone , Debug , Eq , Hash , PartialEq ) ]
2875- pub struct Gcc {
2877+ pub struct GccDev {
28762878 target : TargetSelection ,
28772879}
28782880
2879- impl Step for Gcc {
2881+ impl Step for GccDev {
28802882 type Output = GeneratedTarball ;
28812883
28822884 fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
2883- run. alias ( "gcc" )
2885+ run. alias ( "gcc-dev " )
28842886 }
28852887
28862888 fn make_run ( run : RunConfig < ' _ > ) {
2887- run. builder . ensure ( Gcc { target : run. target } ) ;
2889+ run. builder . ensure ( GccDev { target : run. target } ) ;
28882890 }
28892891
28902892 fn run ( self , builder : & Builder < ' _ > ) -> Self :: Output {
2891- let tarball = Tarball :: new ( builder, "gcc" , & self . target . triple ) ;
2893+ let tarball = Tarball :: new ( builder, "gcc-dev " , & self . target . triple ) ;
28922894 let output = builder
28932895 . ensure ( super :: gcc:: Gcc { target_pair : GccTargetPair :: for_native_build ( self . target ) } ) ;
28942896 tarball. add_file ( output. libgccjit ( ) , "lib" , FileType :: NativeLibrary ) ;
28952897 tarball. generate ( )
28962898 }
28972899
28982900 fn metadata ( & self ) -> Option < StepMetadata > {
2899- Some ( StepMetadata :: dist ( "gcc" , self . target ) )
2901+ Some ( StepMetadata :: dist ( "gcc-dev " , self . target ) )
29002902 }
29012903}
0 commit comments