Bug 1829444 - Stop generating save analysis on searchfox jobs. r=glandium

Searchfox should be able to use scip for this.

Differential Revision: https://phabricator.services.mozilla.com/D176218
This commit is contained in:
Emilio Cobos Álvarez 2023-04-22 22:37:54 +00:00
Родитель c3682adcc9
Коммит 615e96ac30
8 изменённых файлов: 0 добавлений и 32 удалений

Просмотреть файл

@ -5,10 +5,6 @@ MOZ_AUTOMATION_CHECK=0
ac_add_options --enable-debug
# Save rust analysis (this requires unlocking the unstable features,
# which is done in the taskcluster task definition via RUSTC_BOOTSTRAP)
export RUSTFLAGS="-Zsave-analysis"
# Add the static checker
ac_add_options --enable-clang-plugin
ac_add_options --enable-mozsearch-plugin

Просмотреть файл

@ -5,10 +5,6 @@ MOZ_AUTOMATION_CHECK=0
ac_add_options --enable-debug
# Save rust analysis (this requires unlocking the unstable features,
# which is done in the taskcluster task definition via RUSTC_BOOTSTRAP)
export RUSTFLAGS="-Zsave-analysis"
ac_add_options --enable-clang-plugin
ac_add_options --enable-mozsearch-plugin

Просмотреть файл

@ -8,10 +8,6 @@ MOZ_AUTOMATION_CHECK=0
ac_add_options --enable-optimize
ac_add_options --enable-debug
# Save rust analysis (this requires unlocking the unstable features,
# which is done in the taskcluster task definition via RUSTC_BOOTSTRAP)
export RUSTFLAGS="-Zsave-analysis"
ac_add_options --enable-clang-plugin
ac_add_options --enable-mozsearch-plugin

Просмотреть файл

@ -13,9 +13,6 @@ ac_add_options --with-branding=mobile/android/branding/nightly
# Workaround gold bug (see bug 1807993)
ac_add_options --enable-linker=lld
# Save rust analysis (this requires unlocking the unstable features,
# which is done in the taskcluster task definition via RUSTC_BOOTSTRAP)
export RUSTFLAGS="-Zsave-analysis"
ac_add_options --enable-mozsearch-plugin
. "$topsrcdir/mobile/android/config/mozconfigs/common.override"

Просмотреть файл

@ -37,7 +37,6 @@ jobs:
max-run-time: 10800
env:
PERFHERDER_EXTRA_OPTIONS: searchfox
RUSTC_BOOTSTRAP: "1"
MOZSEARCH_PLATFORM: "linux"
run:
using: mozharness
@ -71,7 +70,6 @@ jobs:
max-run-time: 10800
env:
PERFHERDER_EXTRA_OPTIONS: searchfox
RUSTC_BOOTSTRAP: "1"
MOZSEARCH_PLATFORM: "macosx"
run:
using: mozharness
@ -109,7 +107,6 @@ jobs:
max-run-time: 10800
env:
PERFHERDER_EXTRA_OPTIONS: searchfox
RUSTC_BOOTSTRAP: "1"
MOZSEARCH_PLATFORM: "windows"
run:
using: mozharness
@ -155,7 +152,6 @@ jobs:
max-run-time: 10800
env:
PERFHERDER_EXTRA_OPTIONS: searchfox
RUSTC_BOOTSTRAP: "1"
MOZSEARCH_PLATFORM: "android-armv7"
GRADLE_USER_HOME: "/builds/worker/checkouts/gecko/mobile/android/gradle/dotgradle-offline"
TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"

Просмотреть файл

@ -90,8 +90,6 @@ CODE_COVERAGE_ARCHIVE_BASENAME = $(PKG_BASENAME).code-coverage-gcno
# Mozsearch package naming
MOZSEARCH_ARCHIVE_BASENAME = $(PKG_BASENAME).mozsearch-index
MOZSEARCH_RUST_ANALYSIS_BASENAME = $(PKG_BASENAME).mozsearch-rust
MOZSEARCH_RUST_STDLIB_BASENAME = $(PKG_BASENAME).mozsearch-rust-stdlib
MOZSEARCH_INCLUDEMAP_BASENAME = $(PKG_BASENAME).mozsearch-distinclude
MOZSEARCH_SCIP_INDEX_BASENAME = $(PKG_BASENAME).mozsearch-scip-index

Просмотреть файл

@ -79,15 +79,6 @@ ifdef ENABLE_MOZSEARCH_PLUGIN
$(RM) $(MOZSEARCH_ARCHIVE_BASENAME).zip
cd $(topobjdir)/mozsearch_index && \
zip -r5D '$(ABS_DIST)/$(PKG_PATH)$(MOZSEARCH_ARCHIVE_BASENAME).zip' .
@echo 'Generating mozsearch rust-analysis tarball...'
$(RM) $(MOZSEARCH_RUST_ANALYSIS_BASENAME).zip
cd $(topobjdir)/ && \
find . -type d -name save-analysis | xargs zip -r5D '$(ABS_DIST)/$(PKG_PATH)$(MOZSEARCH_RUST_ANALYSIS_BASENAME).zip'
@echo 'Generating mozsearch rust stdlib analysis tarball ($(RUST_TARGET))...'
$(RM) $(MOZSEARCH_RUST_STDLIB_BASENAME).zip
cd $(MOZ_FETCHES_DIR)/rustc/lib && \
zip -r5D '$(ABS_DIST)/$(PKG_PATH)$(MOZSEARCH_RUST_STDLIB_BASENAME).zip' \
rustlib/$(RUST_TARGET)/analysis/ rustlib/src/
@echo 'Generating mozsearch distinclude map...'
cd $(topobjdir)/ && cp _build_manifests/install/dist_include '$(ABS_DIST)/$(PKG_PATH)$(MOZSEARCH_INCLUDEMAP_BASENAME).map'
@echo 'Generating mozsearch scip index...'

Просмотреть файл

@ -383,8 +383,6 @@ endif
ifdef ENABLE_MOZSEARCH_PLUGIN
UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_PATH)$(MOZSEARCH_ARCHIVE_BASENAME).zip)
UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_PATH)$(MOZSEARCH_RUST_ANALYSIS_BASENAME).zip)
UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_PATH)$(MOZSEARCH_RUST_STDLIB_BASENAME).zip)
UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_PATH)$(MOZSEARCH_SCIP_INDEX_BASENAME).zip)
UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_PATH)$(MOZSEARCH_INCLUDEMAP_BASENAME).map)
endif