Commit 31e3f5f
[Build] Add per-file up-to-date check in CompileNativeAssembly
When _CompileNativeAssemblySources runs, it recompiles ALL .ll files
even if only some have changed. This adds a per-file timestamp check
in RunAssembler() — if the output .o is newer than the input .ll,
that file is skipped. This saves time on incremental CoreCLR builds
where generators like CopyIfStreamChanged preserve .ll timestamps
for unchanged files.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent e0d2614 commit 31e3f5f
1 file changed
Lines changed: 12 additions & 0 deletions
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
46 | 55 | | |
47 | 56 | | |
48 | 57 | | |
| |||
118 | 127 | | |
119 | 128 | | |
120 | 129 | | |
| 130 | + | |
| 131 | + | |
121 | 132 | | |
122 | 133 | | |
123 | 134 | | |
124 | 135 | | |
| 136 | + | |
125 | 137 | | |
126 | 138 | | |
127 | 139 | | |
| |||
0 commit comments