Commit bd31299
committed
Fix ImageMagick caching: cache Homebrew downloads instead of Cellar
The previous approach of caching /opt/homebrew/Cellar/imagemagick failed
because it didn't include ImageMagick's dependencies (like liblqr).
New approach:
- macOS: Cache Homebrew downloads directory
- Speeds up downloads but lets brew handle proper installation + linking
- brew automatically manages dependencies correctly
- Linux: Keep apt archives cache
- Works well since apt handles dependencies properly
This is simpler, more reliable, and still provides significant speedup
by avoiding re-downloading packages.1 parent 0b2a4dd commit bd31299
1 file changed
+9
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | | - | |
39 | | - | |
40 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
69 | 62 | | |
70 | 63 | | |
71 | 64 | | |
| |||
0 commit comments