1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-29 13:31:16 +02:00

gnu: lc0: Improve reproducibility.

* gnu/packages/lc0.scm (lc0)[phases]: Remove "-march=native" compiler flag.

Change-Id: I339a6f8c01d02b968053c2904d566f69c6ccfaaa
This commit is contained in:
Nicolas Goaziou
2025-03-01 20:38:07 +01:00
parent 352e037539
commit 0dacce4546

View File

@@ -60,7 +60,13 @@
#:configure-flags
#~(list "-Ddnnl=true"
(string-append "-Ddnnl_dir="
#$(this-package-input "oneapi-dnnl")))))
#$(this-package-input "oneapi-dnnl")))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-march-native
(lambda _
(substitute* "meson.build"
(("-march=native") "")))))))
(native-search-paths
(list (search-path-specification
(variable "XDG_DATA_DIRS")