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
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

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")