5 echo "running as" $
(id
)
7 : NEED_XVFB
${NEED_XVFB:=false}
8 : UPLOAD_PATH
${UPLOAD_PATH:=$HOME/artifacts}
12 # Taskcluster friendly wrapper for running the profileserver
15 PGO_RUNDIR
=obj-firefox
/dist
16 export JARLOG_FILE
="en-US.log"
17 export LLVM_PROFDATA
=$MOZ_FETCHES_DIR/clang
/bin
/llvm-profdata
22 # run XVfb in the background
23 .
/builds
/worker
/scripts
/xvfb.sh
32 start_xvfb
'1024x768x24' 2
35 # Move our fetched firefox into objdir/dist so the jarlog entries will match
36 # the paths when the final PGO stage packages the build.
39 mv $MOZ_FETCHES_DIR/firefox
$PGO_RUNDIR
40 .
/mach python build
/pgo
/profileserver.py
--binary $PGO_RUNDIR/firefox
/firefox
42 tar -acvf $UPLOAD_PATH/profdata.
tar.xz merged.profdata en-US.log