On Thursday, 6 March 2025 23:03:16 Pacific Standard Time Tiago Freire via Std-
Proposals wrote:
> The simplest solution would be to just create a shell script that generates
> a file with the current time, let the build system call that shell script
> before build, and then not touch the compiler.
The drawback of that it that this does not obey $SOURCE_DATE_EPOCH (unless you
knew about it and coded your script that way), which in turn makes your code
non-reproducible. That adds to the workload of Linux distributions when trying
to figure out where the non-reproducibility came from.
That means there is an advantage of centralising this in the compiler.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Principal Engineer - Intel DCAI Platform & System Engineering
--
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals