Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Nov 13, 2024
1 parent e0054b1 commit efa8984
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions waterfox/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export AR=llvm-ar
export NM=llvm-nm
export RANLIB=llvm-ranlib
export LLVM_PROFDATA=llvm-profdata
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system
export GEN_PGO=1
if [ -z "$XDG_RUNTIME_DIR" ]; then
XDG_RUNTIME_DIR=/run/user/$(id -u)
Expand All @@ -51,7 +51,7 @@ export GALLIUM_DRIVER=llvmpipe

echo "Profiling instrumented browser..."
./mach package
JARLOG_FILE="$(pwd)/jarlog" dbus-run-session xvfb-run -s "-screen 0 1920x1080x24 -nolisten local" ./mach python build/pgo/profileserver.py
JARLOG_FILE="$(pwd)/jarlog" xvfb-run -s "-screen 0 1920x1080x24 -nolisten local" ./mach python build/pgo/profileserver.py

stat -c "Profile data found (%s bytes)" merged.profdata
test -s merged.profdata
Expand Down
2 changes: 1 addition & 1 deletion waterfox/rules
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export WF_VERSION=$(shell awk -F ': ' '/^version:/ {print $$2; exit}' ../SOURCES
export TODAY_DATE=$(shell date +%Y-%m-%d)
export LC_ALL=C.UTF-8
export JOBS=$(shell echo $(shell grep -c ^processor /proc/cpuinfo)\/2 | bc)
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system
export MOZBUILD_STATE_PATH="$(shell pwd)"/debian/.mozbuild
export DEB_BUILD_MAINT_OPTIONS = optimize=-lto
include /usr/share/dpkg/buildflags.mk
Expand Down

0 comments on commit efa8984

Please sign in to comment.