]> git.djapps.eu Git - pkg/ggml/sources/ggml/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>
Wed, 29 Jan 2025 10:57:00 +0000 (12:57 +0200)
commita25e7b4571f65fd64c2e89947e7c96afe78c45e7
treefa7e9eecd95172c0c6efefd50cbdf3bc81bf700a
parentd4ab88c8c8291d462f0907294d5c5ccb695400c0
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.
CMakeLists.txt