[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/60: gnu: Add commencement-build-target.
From: |
guix-commits |
Subject: |
06/60: gnu: Add commencement-build-target. |
Date: |
Sun, 24 Nov 2024 02:50:10 -0500 (EST) |
efraim pushed a commit to branch wip-riscv-bootstrap
in repository guix.
commit 7e8b16f869b73331df79c5bd90240a0227f8a93b
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 bd59fbf95c..a01d3d20e0 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")
- 09/60: gnu: gnu-make-mesboot0: Update to 3.82., (continued)
- 09/60: gnu: gnu-make-mesboot0: Update to 3.82., guix-commits, 2024/11/24
- 13/60: gnu: glibc-mesboot0: Use commencement-build-target., guix-commits, 2024/11/24
- 03/60: gnu: mes-boot: Update to 0.27., guix-commits, 2024/11/24
- 19/60: gnu: mes-boot: Enable support for armhf-linux and aarch64-linux., guix-commits, 2024/11/24
- 17/60: gnu: glibc-headers-mesboot: Use commencement-build-target., guix-commits, 2024/11/24
- 23/60: gnu: tcc-boot: Update to 0.9.27.1139-8cd21e9., guix-commits, 2024/11/24
- 29/60: gnu: Add %boot-tcc-musl-inputs., guix-commits, 2024/11/24
- 28/60: gnu: Add binutils-muslboot0., guix-commits, 2024/11/24
- 11/60: gnu: binutils-mesboot0: Use commencement-build-target., guix-commits, 2024/11/24
- 20/60: gnu: gcc-mesboot1-wrapper: Correctly target more systems., guix-commits, 2024/11/24
- 06/60: gnu: Add commencement-build-target.,
guix-commits <=
- 27/60: gnu: Add oksh-muslboot0., guix-commits, 2024/11/24
- 12/60: gnu: gcc-core-mesboot0: Use commencement-build-target., guix-commits, 2024/11/24
- 14/60: gnu: gcc-mesboot0: Use commencement-build-target., guix-commits, 2024/11/24
- 15/60: gnu: binutils-mesboot1: Use commencement-build-target., guix-commits, 2024/11/24
- 18/60: gnu: gcc-mesboot: Use commencement-build-target., guix-commits, 2024/11/24
- 22/60: gnu: tcc-boot: Support more architectures., guix-commits, 2024/11/24
- 25/60: gnu: Add tcc-boot-musl., guix-commits, 2024/11/24
- 34/60: gnu: gcc-core-mesboot1: Adjust for dependency changes., guix-commits, 2024/11/24
- 38/60: gnu: Add gcc-muslboot0., guix-commits, 2024/11/24
- 42/60: gnu: hello-mesboot: Add support for riscv64-linux., guix-commits, 2024/11/24