Skip to content

Commit

Permalink
devops: fix firefox build (#4088)
Browse files Browse the repository at this point in the history
New firefox build requires a pre-created python virtual environment.
We should detect it and create if necessary.

References #3995
  • Loading branch information
aslushnikov authored Oct 7, 2020
1 parent 1ccce09 commit 6a7d244
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions browser_patches/firefox/BUILD_NUMBER
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
1187
Changed: lushnikov@chromium.org Wed Oct 7 13:30:11 PDT 2020
1188
Changed: lushnikov@chromium.org Wed Oct 7 14:29:11 PDT 2020
4 changes: 4 additions & 0 deletions browser_patches/firefox/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ fi
OBJ_FOLDER="obj-build-playwright"
echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${OBJ_FOLDER}" >> .mozconfig

if ! [[ -f "$HOME/.mozbuild/_virtualenvs/mach/bin/python" ]]; then
./mach create-mach-environment
fi

if [[ $1 == "--juggler" ]]; then
./mach build faster
else
Expand Down

0 comments on commit 6a7d244

Please sign in to comment.