summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig)2023-12-21 18:46:24 +0000
committerJan Alexander Steffens (heftig)2023-12-21 18:48:41 +0000
commita7c81e62874cab20c2295a8b78b1a4766f6fa3ad (patch)
tree42072a10925c04623965adee38f7a0e3557b10a3
parent0ccaf93a819d06a263e96b4ac51ecbb45f4e4c6d (diff)
downloadaur-a7c81e62874cab20c2295a8b78b1a4766f6fa3ad.tar.gz
123.0a1+20231221.1+h37657c769166-1: Set MOZ_BUILD_DATE
Makes the build timestamp static, avoiding a costly relink during buildsymbols, dropping build time by 40 minutes. Also a step towards reproducibility, but PGO.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 84701733a37b..f7a3ec7817a3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = firefox-nightly
pkgdesc = Development version of the popular Firefox web browser
- pkgver = 122.0a1+20231124.1+h29d489a7e05a
+ pkgver = 123.0a1+20231221.1+h37657c769166
pkgrel = 1
url = https://www.mozilla.org/firefox/channel/#nightly
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index e07de79e19cf..de51af0501ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Jakub Schmidtke <sjakub@gmail.com>
pkgname=firefox-nightly
-pkgver=122.0a1+20231124.1+h29d489a7e05a
+pkgver=123.0a1+20231221.1+h37657c769166
pkgrel=1
pkgdesc="Development version of the popular Firefox web browser"
url="https://www.mozilla.org/firefox/channel/#nightly"
@@ -168,11 +168,12 @@ END
build() {
cd mozilla-central
- export MOZ_SOURCE_REPO="$_repo"
- export MOZ_NOSPAM=1
+ 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)"
export MOZ_ENABLE_FULL_SYMBOLS=1
- export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=pip
+ export MOZ_NOSPAM=1
+ export MOZ_SOURCE_REPO="$_repo"
# malloc_usable_size is used in various parts of the codebase
CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"