mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-03 12:02:38 +00:00
refactor: remove debug session from Windows build workflows and update optimization flags in mozconfig files
This commit is contained in:
5
.github/workflows/windows-profile-build.yml
vendored
5
.github/workflows/windows-profile-build.yml
vendored
@@ -94,11 +94,6 @@ jobs:
|
||||
echo 'LLVM_PROFDATA=/c/Users/runneradmin/.mozbuild/clang/bin/llvm-profdata.exe JARLOG_FILE=en-US.log ./mach python build/pgo/profileserver.py --binary /c/artifact/zen/zen.exe' '' >> mozilla-build-run.sh
|
||||
C:\mozilla-build\start-shell.bat $workspace_dir_current\mozilla-build-run.sh
|
||||
|
||||
- name: Debug session
|
||||
if: ${{ failure() }}
|
||||
uses: WarpBuilds/action-debugger@v1.3
|
||||
timeout-minutes: 15
|
||||
|
||||
- name: Move profile data
|
||||
if: ${{ matrix.arch == 'x86_64' }}
|
||||
run: |
|
||||
|
||||
5
.github/workflows/windows-release-build.yml
vendored
5
.github/workflows/windows-release-build.yml
vendored
@@ -249,11 +249,6 @@ jobs:
|
||||
ls ./dist
|
||||
ls .
|
||||
|
||||
- name: Debug session
|
||||
if: ${{ failure() }}
|
||||
uses: WarpBuilds/action-debugger@v1.3
|
||||
timeout-minutes: 15
|
||||
|
||||
- name: Move package for PGO upload
|
||||
if: ${{ inputs.generate-gpo && matrix.arch == 'x86_64' }}
|
||||
run: |
|
||||
|
||||
@@ -20,7 +20,7 @@ if test "$SURFER_COMPAT" = "x86_64"; then
|
||||
fi
|
||||
|
||||
# Optimization flags for SURFER_COMPAT
|
||||
ac_add_options --enable-optimize="-O3 -w -ftree-vectorize -Qvec -mfpmath=sse -mprfchw -msse3 -mcx16 -msahf"
|
||||
ac_add_options --enable-optimize="-O3 -w -ftree-vectorize -mfpmath=sse -mprfchw -msse3 -mcx16 -msahf"
|
||||
|
||||
export LDFLAGS="$LDFLAGS -Wl,-O3"
|
||||
export RUSTFLAGS="$RUSTFLAGS -Clink-args=--icf=safe"
|
||||
|
||||
@@ -30,6 +30,8 @@ if test "$SURFER_COMPAT" = "x86_64"; then
|
||||
export CXXFLAGS="-O3 -march=nehalem"
|
||||
export LDFLAGS="-Wl,-O3 -march=nehalem"
|
||||
export RUSTFLAGS="-Ctarget-cpu=nehalem"
|
||||
|
||||
ac_add_options --disable-clang-plugin
|
||||
else
|
||||
ac_add_options --target=aarch64-apple-darwin
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ if test "$SURFER_COMPAT" = "x86_64"; then
|
||||
ac_add_options --target=x86_64-pc-windows-msvc
|
||||
ac_add_options --enable-eme=widevine,wmfcdm
|
||||
|
||||
ac_add_options --enable-optimize="-O3 -w -ftree-vectorize -Qvec -mfpmath=sse -mprfchw -msse3 -mcx16 -msahf"
|
||||
ac_add_options --enable-optimize="-O3 -w -ftree-vectorize -mfpmath=sse -mprfchw -msse3 -mcx16 -msahf"
|
||||
|
||||
export LDFLAGS="-Wl,-O3"
|
||||
export RUSTFLAGS="-Clink-args=--icf=safe"
|
||||
|
||||
Reference in New Issue
Block a user