1
0
Fork 0

Remove GnuWin, add Git Bash to the path

Both the main and the release/12.x branches of llvm-project should
work when built in a Windows Container with Git Bash in path now.
This commit is contained in:
Martin Storsjö 2021-04-23 09:37:03 +03:00 committed by Mikhail Goncharov
parent 58e13f22d1
commit 18ff65644e

View file

@ -40,7 +40,6 @@ RUN powershell -NoProfile -InputFormat None -Command `
# install tools as described in https://llvm.org/docs/GettingStartedVS.html # install tools as described in https://llvm.org/docs/GettingStartedVS.html
# and a few more that were not documented... # and a few more that were not documented...
RUN choco install -y gnuwin
RUN choco install -y ninja git python3 RUN choco install -y ninja git python3
RUN choco install -y activeperl --version 5.28.0.20210106 RUN choco install -y activeperl --version 5.28.0.20210106
RUN choco install -y cmake --version 3.15.4 RUN choco install -y cmake --version 3.15.4
@ -57,7 +56,7 @@ ENV PYTHONIOENCODING=UTF-8
# update the path variable # update the path variable
# C:\Program Files\Git\usr\bin contains a usable bash and other unix tools. # C:\Program Files\Git\usr\bin contains a usable bash and other unix tools.
RUN powershell -NoProfile -InputFormat None -Command ` RUN powershell -NoProfile -InputFormat None -Command `
$path = $env:path + ';C:\Program Files\CMake\bin;c:\Program Files (x86)\GnuWin32\bin'; ` $path = $env:path + ';C:\Program Files\CMake\bin;C:\Program Files\Git\usr\bin'; `
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\' -Name Path -Value $path Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\' -Name Path -Value $path
# use this folder to store the worksapce' # use this folder to store the worksapce'