guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: sbcl: Fix build on some architectures.


From: guix-commits
Subject: branch master updated: gnu: sbcl: Fix build on some architectures.
Date: Thu, 30 Jun 2022 11:02:06 -0400

This is an automated email from the git hooks/post-receive script.

glv pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 9829f53a3f gnu: sbcl: Fix build on some architectures.
9829f53a3f is described below

commit 9829f53a3f88884e245e962073528be46918ad2e
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Thu Jun 30 16:57:13 2022 +0200

    gnu: sbcl: Fix build on some architectures.
    
    * gnu/packages/lisp.scm (sbcl)[arguments]: Update 'build-doc' phase to build
      the doc for SB-SIMD only on x86_64-linux.
---
 gnu/packages/lisp.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 715ba14201..d59f11865b 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -557,7 +557,15 @@ an interpreter, a compiler, a debugger, and much more.")
              (invoke "sh" "install.sh")))
          (add-after 'build 'build-doc
            (lambda _
-             ;; TODO: Doc is not deterministic, maybe there is a timespamp?
+             ;; Building the documentation for SB-SIMD only works when SB-SIMD
+             ;; is enabled, so far only on x86_64-linux.
+             ,@(match (%current-system)
+                 ("x86_64-linux"
+                  '())
+                 (_
+                  '((substitute* "doc/manual/generate-texinfo.lisp"
+                      (("exclude '\\(\"asdf\"\\)")
+                       "exclude '(\"asdf\" \"sb-simd\")")))))
              (with-directory-excursion "doc/manual"
                (and  (invoke "make" "info")
                      (invoke "make" "dist")))))



reply via email to

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