www/mozilla: switch to selfhosted profdata archives for www/mozilla-firefox

upstream switched to clang 15.0.5 in the 109 cycle, and our llvm 13
doesn't know how to handle profdata files generated with that version.

profdata converted for llvm 13 on a debian VM.. thanks robert@ for the
hints. Should be dropped when we switch to llvm 15.
This commit is contained in:
landry 2023-01-17 14:32:47 +00:00
parent fcefbcc708
commit 07bbe94fe8
1 changed files with 5 additions and 0 deletions

View File

@ -54,8 +54,13 @@ DIST_SUBDIR ?= mozilla
.if defined(MOZILLA_PROFDATA_TASKID)
DISTFILES = ${MOZILLA_DIST}-${MOZILLA_DIST_VERSION}.source${EXTRACT_SUFX}
.if ${MOZILLA_PROJECT} == "firefox"
DISTFILES += ${DISTNAME}-profdata${EXTRACT_SUFX}:0
MASTER_SITES0=https://rhaalovely.net/stuff/
.else
DISTFILES += ${DISTNAME}-profdata${EXTRACT_SUFX}{profdata${EXTRACT_SUFX}}:0
MASTER_SITES0=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/${MOZILLA_PROFDATA_TASKID}/runs/0/artifacts/public/build/
.endif
CONFIGURE_ARGS += --enable-profile-use
CONFIGURE_ARGS += --with-pgo-profile-path=${WRKDIR}/merged.profdata
.endif