commit 0702eff34b77caad7dc4865bc1da92dd9f8ff40e
parent d05c2fa267c37cc32e4b84b4a26f69a309ba53ba
Author: Tooru Fujisawa <arai_a@mac.com>
Date: Thu, 16 Oct 2025 11:58:17 +0000
Bug 1989240 - Part 3: Add searchfox job with win64 opt build. r=releng-reviewers,taskgraph-reviewers,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D268837
Diffstat:
4 files changed, 69 insertions(+), 0 deletions(-)
diff --git a/browser/config/mozconfigs/win64/opt-searchfox b/browser/config/mozconfigs/win64/opt-searchfox
@@ -0,0 +1,12 @@
+MOZ_AUTOMATION_BUILD_SYMBOLS=0
+MOZ_AUTOMATION_CHECK=0
+
+. "$topsrcdir/build/mozconfig.win-common"
+. "$topsrcdir/browser/config/mozconfigs/common"
+. "$topsrcdir/browser/config/mozconfigs/win64/common-win64"
+
+ac_add_options --enable-clang-plugin
+ac_add_options --enable-mozsearch-plugin
+
+. "$topsrcdir/build/mozconfig.clang-cl"
+. "$topsrcdir/build/mozconfig.common.override"
diff --git a/taskcluster/gecko_taskgraph/target_tasks.py b/taskcluster/gecko_taskgraph/target_tasks.py
@@ -1100,6 +1100,7 @@ def target_tasks_searchfox(full_task_graph, parameters, graph_config):
"searchfox-macosx64-searchfox/debug",
"searchfox-macosx64-aarch64-searchfox/opt",
"searchfox-macosx64-aarch64-searchfox/debug",
+ "searchfox-win64-searchfox/opt",
"searchfox-win64-searchfox/debug",
"searchfox-android-aarch64-searchfox/debug",
"searchfox-ios-searchfox/debug",
diff --git a/taskcluster/kinds/searchfox/kind.yml b/taskcluster/kinds/searchfox/kind.yml
@@ -252,6 +252,50 @@ tasks:
- sysroot-x86_64-linux-gnu
- sysroot-wasm32-wasi
+ win64-searchfox/opt:
+ description: "Win64 Searchfox Opt (clang-cl)"
+ index:
+ job-name: win64-searchfox-opt
+ treeherder:
+ platform: windows2012-64/opt
+ worker:
+ max-run-time: 10800
+ env:
+ PERFHERDER_EXTRA_OPTIONS: searchfox
+ MOZSEARCH_PLATFORM: "windows"
+ run:
+ using: mozharness
+ options: [append-env-variables-from-configs]
+ actions: [get-secrets, build]
+ script: mozharness/scripts/fx_desktop_build.py
+ secrets: true
+ config:
+ - builds/releng_base_firefox.py
+ - builds/releng_base_linux_64_builds.py
+ - builds/taskcluster_sub_win64/searchfox_opt.py
+ extra-config:
+ mozconfig_platform: win64
+ fetches:
+ toolchain:
+ - linux64-clang
+ - linux64-rust-cross
+ - linux64-rust-size
+ - linux64-nasm
+ - linux64-node
+ - linux64-cbindgen
+ - linux64-dump_syms
+ - linux64-wine
+ - linux64-winchecksec
+ - nsis
+ - sysroot-x86_64-linux-gnu
+ - sysroot-wasm32-wasi
+ - vs
+ - dxc-x86_64-pc-windows-msvc
+ - winappsdk-x86_64-pc-windows-msvc
+ fetch:
+ - upx-3.95-win
+ - windows-rs
+
win64-searchfox/debug:
description: "Win64 Searchfox Debug (clang-cl)"
index:
diff --git a/testing/mozharness/configs/builds/taskcluster_sub_win64/searchfox_opt.py b/testing/mozharness/configs/builds/taskcluster_sub_win64/searchfox_opt.py
@@ -0,0 +1,12 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+config = {
+ "stage_platform": "win64-st-an-opt",
+ "debug_build": False,
+ "env": {
+ "XPCOM_DEBUG_BREAK": "stack-and-abort",
+ },
+ "mozconfig_variant": "opt-searchfox",
+}