Skip to content

Commit 076635f

Browse files
msys2: clear package cache (#27469)
it removes the content of bin\msys64\var\cache\pacman\pkg saving more than 100MB
1 parent 2fb92f9 commit 076635f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

recipes/msys2/all/conanfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def _do_build(self):
144144
for package in ['pkgconf']:
145145
if self.run(f'bash -l -c "pacman -Qq {package}"', ignore_errors=True, quiet=True) == 0:
146146
self.run(f'bash -l -c "pacman -Rs -d -d {package} --noconfirm"')
147+
self.run(f'bash -l -c "pacman -Scc --noconfirm"')
147148

148149
self._kill_pacman()
149150

0 commit comments

Comments
 (0)