Commit 925795c8 authored by Roland Fehrenbacher's avatar Roland Fehrenbacher

Add patch for reproducible builds

parent 0498c3dc
From: Roland Fehrenbacher <rf@q-leap.de>
Date: Thu, 15 Feb 2018 12:46:56 +0000
Subject: Allow to override build date to enable reproducible builds
Patch originally from
https://github.com/intel/opa-ff/pull/10/commits/2ae76192815212d7a3f821d6a3dddc3d0bb9eae4
---
MakeTools/prep.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/MakeTools/prep.sh b/MakeTools/prep.sh
index c0a4bd1..8c60a8c 100755
--- a/MakeTools/prep.sh
+++ b/MakeTools/prep.sh
@@ -81,6 +81,7 @@ then
exit 1
fi
+[[ $SOURCE_DATE_EPOCH ]] && DATE=$(date -u -d "@$SOURCE_DATE_EPOCH" -Iseconds)
DATE=${DATE:-"`date +'%m/%d/%y %H:%M'`"}
if [ "$#" = 1 ]
0001-Add-support-for-debian-qlustar.patch
0002-Add-correct-version-links-for-libraries.patch
0003-Adjust-absolute-paths-for-some-executables.patch
0004-Allow-to-override-build-date-to-enable-reproducible-.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment