Skip to content

Commit 8444545

Browse files
authored
Remove Strawberry Perl as part of GHA setup (#1158)
1 parent 9516fcd commit 8444545

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/gha/install_prereqs_desktop.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ def main():
109109
['python3' if utils.is_command_installed('python3') else 'python', '-m',
110110
'pip', 'install', '-r', 'external/pip_requirements.txt', '--user'] )
111111

112+
# If running on GHA Windows, remove the Strawberry Perl directory, since it can cause
113+
# architecture conflicts when searching for the zlib library.
114+
if utils.is_windows_os() and args.gha_build:
115+
utils.run_command(['rm', '-r', 'C:/Strawberry'])
116+
112117
if args.arch == 'x86':
113118
utils.install_x86_support_libraries(args.gha_build)
114119

0 commit comments

Comments
 (0)