Skip to content

Commit e461af1

Browse files
committed
openmp: Do not emit date and time into generate files
This improves reproducibility where the generated files do not contain time stamps e.g. //·The·file·was·generated·from·en_US.txt·by·message-converter.py·on·Wed·Apr·23·16:00:53·2025.·// ./usr/src/debug/openmp/20.1.2/runtime/src/kmp_i18n_id.inc Upstream-Status: Pending Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 parent e298d3d commit e461af1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

openmp/runtime/tools/message-converter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,10 @@ def insert_header(f, data, commentChar="//"):
188188
f.write(
189189
"{0} Do not edit this file! {0}\n"
190190
"{0} The file was generated from"
191-
" {1} by {2} on {3}. {0}\n\n".format(
191+
" {1} by {2} {0}\n\n".format(
192192
commentChar,
193193
os.path.basename(data.filename),
194194
os.path.basename(__file__),
195-
datetime.datetime.now().ctime(),
196195
)
197196
)
198197

0 commit comments

Comments
 (0)