[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/09: gnu: sbcl: Fix building on armhf-linux.
From: |
guix-commits |
Subject: |
04/09: gnu: sbcl: Fix building on armhf-linux. |
Date: |
Tue, 12 Jul 2022 10:41:48 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 0d6d7b3efc8888f4cf6a5b785eb072e30bd91712
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 12 13:46:26 2022 +0300
gnu: sbcl: Fix building on armhf-linux.
* gnu/packages/lisp.scm (sbcl)[arguments]: When building for armhf-linux
add a phase to remove build optimizations targeting armv5.
---
gnu/packages/lisp.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 636221af35..2906c50646 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -466,6 +466,13 @@ an interpreter, a compiler, a debugger, and much more.")
(srfi srfi-1))
#:phases
(modify-phases %standard-phases
+ ,@(if (target-arm32?)
+ ;; TODO: Move to snippet in staging.
+ `((add-after 'unpack 'dont-force-armv5
+ (lambda _
+ (substitute* "src/runtime/Config.arm-linux"
+ (("-march=armv5") "")))))
+ '())
(delete 'configure)
(add-after 'unpack 'fix-build-id
;; One of the build scripts makes a build id using the current date.
- branch master updated (9173cb522d -> 094505d56c), guix-commits, 2022/07/12
- 09/09: gnu: numactl: Enable armhf-linux as a supported system., guix-commits, 2022/07/12
- 08/09: gnu: numactl: Fix building on riscv64-linux., guix-commits, 2022/07/12
- 06/09: gnu: bcachefs-tools: Enable tests., guix-commits, 2022/07/12
- 05/09: gnu: bcachefs-tools: Only build with valgrind on supported systems., guix-commits, 2022/07/12
- 03/09: gnu: python-tornado-6: Adjust test timeout., guix-commits, 2022/07/12
- 02/09: gnu: python-tornado-6: Honor tests flag., guix-commits, 2022/07/12
- 07/09: gnu: libratbag: Only build with valgrind on supported systems., guix-commits, 2022/07/12
- 04/09: gnu: sbcl: Fix building on armhf-linux.,
guix-commits <=
- 01/09: gnu: python-attrs: Remove test deadlines on riscv64-linux., guix-commits, 2022/07/12