1
0
Fork 0
firefox/taskcluster/scripts/misc/run-profileserver-macos.sh
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

20 lines
535 B
Bash
Executable file

#! /bin/bash -vex
set -x -e
####
# Taskcluster friendly wrapper for running the profileserver on macOS
####
export UPLOAD_PATH=../../artifacts
mkdir -p $UPLOAD_PATH
export JARLOG_FILE="en-US.log"
export LLVM_PROFDATA=$MOZ_FETCHES_DIR/clang/bin/llvm-profdata
set -v
./mach python python/mozbuild/mozbuild/action/install.py $MOZ_FETCHES_DIR/target.dmg $MOZ_FETCHES_DIR
./mach python build/pgo/profileserver.py --binary $MOZ_FETCHES_DIR/*.app/Contents/MacOS/firefox
tar -Jcvf $UPLOAD_PATH/profdata.tar.xz merged.profdata en-US.log