Skip to content

Commit

Permalink
Check python modules for updates right away
Browse files Browse the repository at this point in the history
LLVM build uses Python after all
  • Loading branch information
pal1000 committed Aug 22, 2017
1 parent a2255eb commit 7626fdb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions buildscript/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
@IF ERRORLEVEL 1 set PATH=%mesa%Python\;%mesa%Python\Scripts\;%PATH%
@set ERRORLEVEL=0
@set PATH=%mesa%flexbison\;%PATH%
@python -m pip install -U mako
@python -m pip freeze > requirements.txt
@python -m pip install -r requirements.txt --upgrade
@del requirements.txt
@echo.

:build_llvm
@set /p buildllvm=Begin LLVM build. Only needs to run once for each ABI and version. Proceed (y/n):
Expand Down Expand Up @@ -146,11 +151,6 @@ cd mesa
@if EXIST build\windows-%longabi% set /p cleanbuild=Do you want to clean build (y/n):
@if EXIST build\windows-%longabi% echo.
@if /I "%cleanbuild%"=="y" RD /S /Q build\windows-%longabi%
@python -m pip install -U mako
@python -m pip freeze > requirements.txt
@python -m pip install -r requirements.txt --upgrade
@del requirements.txt
@echo.
@if %vsenvloaded%==0 (
@call %vsenv%
@echo.
Expand Down

0 comments on commit 7626fdb

Please sign in to comment.