File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,9 @@ pub fn prebuilt_gcc_config(builder: &Builder<'_>, target: TargetSelection) -> Gc
53
53
static STAMP_HASH_MEMO : OnceLock < String > = OnceLock :: new ( ) ;
54
54
let smart_stamp_hash = STAMP_HASH_MEMO . get_or_init ( || {
55
55
generate_smart_stamp_hash (
56
- & builder. config . src . join ( "src/llvm-project" ) ,
57
- builder. in_tree_llvm_info . sha ( ) . unwrap_or_default ( ) ,
56
+ builder,
57
+ & builder. config . src . join ( "src/gcc" ) ,
58
+ builder. in_tree_gcc_info . sha ( ) . unwrap_or_default ( ) ,
58
59
)
59
60
} ) ;
60
61
Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ pub struct Build {
145
145
rustfmt_info : GitInfo ,
146
146
enzyme_info : GitInfo ,
147
147
in_tree_llvm_info : GitInfo ,
148
+ in_tree_gcc_info : GitInfo ,
148
149
local_rebuild : bool ,
149
150
fail_fast : bool ,
150
151
doc_tests : DocTests ,
@@ -315,6 +316,7 @@ impl Build {
315
316
316
317
// we always try to use git for LLVM builds
317
318
let in_tree_llvm_info = GitInfo :: new ( false , & src. join ( "src/llvm-project" ) ) ;
319
+ let in_tree_gcc_info = GitInfo :: new ( false , & src. join ( "src/gcc" ) ) ;
318
320
319
321
let initial_target_libdir_str = if config. dry_run ( ) {
320
322
"/dummy/lib/path/to/lib/" . to_string ( )
@@ -407,6 +409,7 @@ impl Build {
407
409
rustfmt_info,
408
410
enzyme_info,
409
411
in_tree_llvm_info,
412
+ in_tree_gcc_info,
410
413
cc : RefCell :: new ( HashMap :: new ( ) ) ,
411
414
cxx : RefCell :: new ( HashMap :: new ( ) ) ,
412
415
ar : RefCell :: new ( HashMap :: new ( ) ) ,
You can’t perform that action at this time.
0 commit comments