Skip to content

Commit

Permalink
Drop timestamp in generate_bram_types_sim.py
Browse files Browse the repository at this point in the history
I'm working on build reproducibility of Fedora packages, and this patch fixes
an issue observed in test rebuilds: the timestamp was set to the actual time
of the build, making builds nonreproducible.

Other "Generated by" strings do not include a timestamp, so drop it here too.
  • Loading branch information
keszybz committed Oct 30, 2024
1 parent d1695ad commit 26a3478
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions techlibs/quicklogic/qlf_k6n10f/generate_bram_types_sim.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import sys
from datetime import datetime, timezone

def generate(filename):
with open(filename, "w") as f:
f.write("// **AUTOGENERATED FILE** **DO NOT EDIT**\n")
f.write(f"// Generated by {sys.argv[0]} at {datetime.now(timezone.utc)}\n")
f.write(f"// Generated by {sys.argv[0]}\n")

f.write("`timescale 1ns /10ps\n")
for a_width in [1,2,4,9,18,36]:
Expand Down

0 comments on commit 26a3478

Please sign in to comment.