guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/05: gnu: ocaml-lacaml: Do not build with "-march=native".


From: guix-commits
Subject: 02/05: gnu: ocaml-lacaml: Do not build with "-march=native".
Date: Mon, 14 Mar 2022 18:33:07 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit e86293d250add87121ec7c1f02f0367632c389d8
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Mar 14 09:26:04 2022 +0100

    gnu: ocaml-lacaml: Do not build with "-march=native".
    
    * gnu/packages/ocaml.scm (ocaml-lacaml)[origin]: Add 'snippet'.
    [properties]: New field.
---
 gnu/packages/ocaml.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index fff85a6de2..78eab203de 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6925,7 +6925,11 @@ library FFTW.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "115535kphchh2a434b48b408x9794j8zzrsdmacsgqdsrgy3rck4"))))
+         "115535kphchh2a434b48b408x9794j8zzrsdmacsgqdsrgy3rck4"))
+       (modules '((guix build utils)))
+       (snippet '(substitute* '("src/dune" "src/config/dune")
+                   (("-march=native") "")))))
+    (properties '((tunable? . #t)))
     (build-system dune-build-system)
     (arguments
      `(#:tests? #f)) ; No test target.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]