mirror of
https://aur.archlinux.org/firedragon.git
synced 2025-09-13 21:36:19 +00:00
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.
This commit is contained in:
14
PKGBUILD
14
PKGBUILD
@@ -99,6 +99,8 @@ prepare() {
|
|||||||
rm -rf "${srcdir}/mozbuild"
|
rm -rf "${srcdir}/mozbuild"
|
||||||
mkdir "${srcdir}/mozbuild"
|
mkdir "${srcdir}/mozbuild"
|
||||||
|
|
||||||
|
export PATH="${srcdir}:$PATH"
|
||||||
|
|
||||||
cd firedragon-source-v"${_pkgver}" || exit
|
cd firedragon-source-v"${_pkgver}" || exit
|
||||||
|
|
||||||
_deno install --allow-scripts --frozen
|
_deno install --allow-scripts --frozen
|
||||||
@@ -137,12 +139,6 @@ END
|
|||||||
build() {
|
build() {
|
||||||
cd firedragon-source-v"${_pkgver}" || exit
|
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 MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=pip
|
||||||
export MOZBUILD_STATE_PATH="${srcdir}/mozbuild"
|
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)"
|
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
|
# LTO needs more open files
|
||||||
ulimit -n 4096
|
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
|
# Do 3-tier PGO
|
||||||
if [[ "${_build_pgo::1}" == "t" ]]; then
|
if [[ "${_build_pgo::1}" == "t" ]]; then
|
||||||
local _old_profdata="$srcdir/merged.profdata"
|
local _old_profdata="$srcdir/merged.profdata"
|
||||||
|
Reference in New Issue
Block a user