[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/15: gnu: julia: Fix building on aarch64-linux.
From: |
guix-commits |
Subject: |
01/15: gnu: julia: Fix building on aarch64-linux. |
Date: |
Thu, 5 Aug 2021 10:03:07 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 7f3ccc5bdbab469351f3ba08903bfe64cece034e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Aug 5 13:44:23 2021 +0300
gnu: julia: Fix building on aarch64-linux.
* gnu/packages/julia.scm (julia)[arguments]: Add phase on aarch64-linux
to skip linking to nonexistant libquadmath.
---
gnu/packages/julia.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index 6045c16..4d739c8 100644
--- a/gnu/packages/julia.scm
+++ b/gnu/packages/julia.scm
@@ -341,6 +341,19 @@ libraries. It is also a bit like @code{ldd} and
@code{otool -L}.")
(("\\$\\$\\(build_depsbindir\\)/libwhich")
(string-append (assoc-ref inputs "libwhich") "/bin/libwhich")))
#t))
+ ;; For some reason libquadmath is unavailable on this architecture.
+ ;; https://github.com/JuliaLang/julia/issues/41613
+ ,@(if (target-aarch64?)
+ '((add-after 'unpack 'drop-libquadmath-on-aarch64
+ (lambda _
+ (substitute* '("contrib/fixup-libgfortran.sh"
+ "deps/csl.mk"
+ "base/Makefile")
+ ((".*libquadmath.*") ""))
+ (substitute* "Makefile"
+ (("libquadmath ") ""))
+ #t)))
+ '())
(add-before 'check 'set-home
;; Some tests require a home directory to be set.
(lambda _ (setenv "HOME" "/tmp") #t))
- branch master updated (e914fc5 -> ead6cc0), guix-commits, 2021/08/05
- 01/15: gnu: julia: Fix building on aarch64-linux.,
guix-commits <=
- 02/15: gnu: librime: Update to 1.7.3., guix-commits, 2021/08/05
- 05/15: gnu: go-github-com-puerkitobio-goquery: Update to 1.7.0., guix-commits, 2021/08/05
- 07/15: gnu: go-github-com-sergi-go-diff: Update to 1.2.0., guix-commits, 2021/08/05
- 04/15: gnu: ibus-rime: Update to 1.5.0., guix-commits, 2021/08/05
- 08/15: gnu: go-github-com-pelletier-go-toml: Update to 1.9.3., guix-commits, 2021/08/05
- 03/15: gnu: rime-data: Update to 0.38.20210802., guix-commits, 2021/08/05
- 11/15: gnu: go-github-com-dlclark-regexp2: Update to 1.4.0., guix-commits, 2021/08/05
- 12/15: gnu: go-gopkg-in-check-v1: Update to 1.0.0-20201130134442-10cb98267c6c., guix-commits, 2021/08/05
- 06/15: gnu: go-go-uber-org-atomic: Update to 1.8.0., guix-commits, 2021/08/05
- 09/15: gnu: go-github-com-masterminds-goutils: Update to 1.1.1., guix-commits, 2021/08/05