[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/85: gnu: Add commencement-build-target.
From: |
guix-commits |
Subject: |
06/85: gnu: Add commencement-build-target. |
Date: |
Tue, 17 Dec 2024 04:08:00 -0500 (EST) |
efraim pushed a commit to branch wip-riscv-bootstrap
in repository guix.
commit 87674043d5f0127e7025ec9c087d29f0fbbadb97
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Sep 25 09:11:53 2024 +0300
gnu: Add commencement-build-target.
* gnu/packages/commencement.scm (commencement-build-target): New
procedure.
Change-Id: Ie479ccd0afd659e843b45cb5cf22717f34ddff5c
---
gnu/packages/commencement.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 144b02e7a4..ec80571a5b 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -145,6 +145,14 @@ the checkout from TARBALL, a tarball containing said
checkout.
#:graft? #f
#:local-build? #t))))))
+(define* (commencement-build-target #:optional (system (%current-system)))
+ "Return an architecture triplet for use in various build scripts. This is
+the supported 32-bit version of the architecture currently being built on."
+ (cond
+ ((target-x86-64?) "i686-unknown-linux-gnu")
+ ((target-arm?) "arm-unknown-linux-gnu")
+ (#t (nix-system->gnu-triplet system))))
+
(define bootar
(package
(name "bootar")
- branch wip-riscv-bootstrap created (now faa755c6cc), guix-commits, 2024/12/17
- 06/85: gnu: Add commencement-build-target.,
guix-commits <=
- 10/85: gnu: patch-mesboot: Enable building on all systems., guix-commits, 2024/12/17
- 04/85: gnu: stage0-posix: Update to 1.7.0., guix-commits, 2024/12/17
- 16/85: gnu: gcc-core-mesboot1: Use commencement-build-target., guix-commits, 2024/12/17
- 20/85: gnu: gcc-mesboot1-wrapper: Correctly target more systems., guix-commits, 2024/12/17
- 15/85: gnu: binutils-mesboot1: Use commencement-build-target., guix-commits, 2024/12/17
- 22/85: gnu: tcc-boot: Support more architectures., guix-commits, 2024/12/17
- 05/85: gnu: mes-boot: Extend build timeout., guix-commits, 2024/12/17
- 03/85: gnu: mes-boot: Update to 0.27., guix-commits, 2024/12/17
- 09/85: gnu: gnu-make-mesboot0: Update to 3.82., guix-commits, 2024/12/17
- 01/85: gnu: mes-boot: Update to 0.26.1., guix-commits, 2024/12/17