From f0cea53a89ae2fee00b57b85a1bf6f7793251a55 Mon Sep 17 00:00:00 2001 From: GitLab CI Date: Fri, 5 Sep 2025 16:19:09 +0000 Subject: [PATCH] chore: update firedragon This commit was automatically generated to reflect changes to this package in another repository. The changelog for this package can be found at https://gitlab.com/garuda-linux/pkgbuilds/-/commits/main/firedragon. Logs of the corresponding pipeline run can be found here: https://gitlab.com/garuda-linux/pkgbuilds/-/pipelines/2024397204. --- PKGBUILD | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index a7b9bdb..0dc0cf3 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -99,6 +99,8 @@ prepare() { rm -rf "${srcdir}/mozbuild" mkdir "${srcdir}/mozbuild" + export PATH="${srcdir}:$PATH" + cd firedragon-source-v"${_pkgver}" || exit _deno install --allow-scripts --frozen @@ -137,12 +139,6 @@ END build() { cd firedragon-source-v"${_pkgver}" || exit - # Clean source directory from previous build attempts - ./mach clobber - - _deno task build --write-buildid2 - NODE_ENV=production _deno task build --release-build-before - export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=pip export MOZBUILD_STATE_PATH="${srcdir}/mozbuild" export MOZ_BUILD_DATE="$(date -u${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH} +%Y%m%d%H%M%S)" @@ -165,6 +161,12 @@ build() { # LTO needs more open files ulimit -n 4096 + # Clean source directory from previous build attempts + ./mach clobber + + _deno task build --write-buildid2 + NODE_ENV=production _deno task build --release-build-before + # Do 3-tier PGO if [[ "${_build_pgo::1}" == "t" ]]; then local _old_profdata="$srcdir/merged.profdata"