]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
cmake : avoid -march=native when reproducible build is wanted (llama/11366)
authorBernhard M. Wiedemann <redacted>
Fri, 24 Jan 2025 11:21:35 +0000 (12:21 +0100)
committerGeorgi Gerganov <redacted>
Mon, 3 Feb 2025 20:00:57 +0000 (22:00 +0200)
commit30767b4c4e182e90c916417f259222a07cae6e05
treed1decc069722862275a7aeb53b6ec00768364eac
parent16eeb31933cfeb4d094ddad0f4ecad4bac5c2df6
cmake : avoid -march=native when reproducible build is wanted (llama/11366)

See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.

Without this patch, compiling on different machines produced different binaries, which made verification of results difficult.

Fixes: #11317
This patch was done while working on reproducible builds for openSUSE.
ggml/CMakeLists.txt