]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
cmake : avoid -march=native when reproducible build is wanted (#11366)
authorBernhard M. Wiedemann <redacted>
Fri, 24 Jan 2025 11:21:35 +0000 (12:21 +0100)
committerGitHub <redacted>
Fri, 24 Jan 2025 11:21:35 +0000 (13:21 +0200)
commit1af6945eb0d0e97525dc0ec18167abf05c28f482
tree6d9f153b59281bb2d3648b13a44d1e08f82a9d3e
parent01f37edf1a6fae76fd9e2e02109aae6995a914f0
cmake : avoid -march=native when reproducible build is wanted (#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