Commit fc0514f
Reland "Clang update.py: Don't set mtime based on the archive metadata"
This is a reland of commit 9a05872,
adding follow_symlinks=False to the utime() call to avoid failing
if the extracted archive contains broken symlinks, as seems to be the
case on Mac.
I think it makes sense not to follow symlinks here anyway: we want to
set the mtime on the link itself. If the target is in the archive,
it will get set separately.
Original change's description:
> Clang update.py: Don't set mtime based on the archive metadata
>
> We want the extracted files to have mtimes that reflect when they
> were extracted.
>
> The build system relies on mtimes information to detect when
> dependencies change.
>
> Since we want update.py to work with system python on macOS (3.9.6),
> we can't use the extractall filter mechanism, but instead update
> the mtimes ourselves.
>
> Bug: 450551220
> Change-Id: Ie6baa486520e85e0e48106c5ea43bd844baa3cb1
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7046440
> Reviewed-by: Nico Weber <[email protected]>
> Commit-Queue: Hans Wennborg <[email protected]>
> Cr-Commit-Position: refs/heads/main@{#1531327}
Bug: 450551220
Change-Id: Ib0d2246be5cb9dd30921deb57ddb2f403abea8ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7062434
Auto-Submit: Hans Wennborg <[email protected]>
Reviewed-by: Nico Weber <[email protected]>
Commit-Queue: Hans Wennborg <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1532375}1 parent 0880976 commit fc0514f
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
200 | 206 | | |
201 | 207 | | |
202 | 208 | | |
| |||
0 commit comments