I suppose this env variable is specific only for this particular use case and it won't clash with some other workflow?
Maybe add a message(STATUS ...)
to be more verbose when GGML_NATIVE_DEFAULT
is set to OFF
.
The variable is defined in https://reproducible-builds.org/specs/source-date-epoch/ - multiple distributions (Debian, Arch, openSUSE) set it during build to achieve reproducible builds results.
I pushed an update with message(STATUS...)
Login to write a write a comment.
See https://reproducible-builds.org/ for why this is good.
Without this patch, compiling on different machines produced different binaries, which made verification of results difficult.
Fixes: #11317
This PR was done while working on reproducible builds for openSUSE.