diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-09-26 21:58:47 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-09-26 23:15:28 +0200 |
commit | 7647c0dec993159432534d0e3815367a5e8e3b76 (patch) | |
tree | ffa9a64041c6963e990347a4a72d39dc7d996c3e /gnu/packages/tbb.scm | |
parent | 8727e0304b68cd22e827331bb40ea269f243c6ab (diff) | |
download | guix-7647c0dec993159432534d0e3815367a5e8e3b76.tar.gz |
gnu: tbb: Build in a reproducible fashion.
Fixes <https://bugs.gnu.org/37522>. * gnu/packages/tbb.scm (tbb)[source](snippets): Annihilate attempts to capture the build time and kernel version.
Diffstat (limited to 'gnu/packages/tbb.scm')
-rw-r--r-- | gnu/packages/tbb.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/tbb.scm b/gnu/packages/tbb.scm index 5e427ffe63..f6d7e9b8b4 100644 --- a/gnu/packages/tbb.scm +++ b/gnu/packages/tbb.scm @@ -44,6 +44,17 @@ (substitute* "build/common.inc" (("export tbb_build_prefix.+$") "export tbb_build_prefix?=guix\n")) + + ;; Don't capture the build time and kernel version. + (substitute* "build/version_info_linux.sh" + (("uname -srv") "uname -s") + (("`date -u`") "01 Jan 1970")) + + (substitute* "build/linux.inc" + (("os_kernel_version:=.*") + "os_kernel_version:=5\n") + (("os_version:=.*") + "os_version:=1\n")) #t)))) (outputs '("out" "doc")) (build-system gnu-build-system) |