File: 0004-Make-the-build-reproducible.patch

package info (click to toggle)
fpga-icestorm 0~20160913git266e758-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,628 kB
  • ctags: 1,871
  • sloc: python: 15,333; cpp: 3,356; sh: 1,598; ansic: 531; makefile: 417
file content (21 lines) | stat: -rw-r--r-- 774 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Chris Lamb <lamby@debian.org>
Date: Sun, 9 Oct 2016 00:55:46 +0200
Subject: Make the build reproducible

---
 icebox/icebox_chipdb.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/icebox/icebox_chipdb.py b/icebox/icebox_chipdb.py
index 32fcd72..157d3e1 100755
--- a/icebox/icebox_chipdb.py
+++ b/icebox/icebox_chipdb.py
@@ -262,7 +262,7 @@ for pllid in ic.pll_list():
         if pllid in icebox.noplls_db[entry]:
             locked_pkgs.append(entry.split("-")[1])
     if len(locked_pkgs) > 0:
-        print("LOCKED %s" % " ".join(locked_pkgs))
+        print("LOCKED %s" % " ".join(sorted(locked_pkgs)))
     for key in sorted(pllinfo):
         if key != "LOC":
             print("%s %s" % (key, " ".join([str(k) for k in pllinfo[key]])))