me
/
guix
Archived
1
0
Fork 0

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.
master
Guillaume Le Vaillant 2022-06-30 16:57:13 +02:00
parent aeea9a3111
commit 9829f53a3f
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 9 additions and 1 deletions

View File

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