[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
56/67: gnu: hurd: Support native build on the Hurd.
From: |
guix-commits |
Subject: |
56/67: gnu: hurd: Support native build on the Hurd. |
Date: |
Tue, 18 Jul 2023 09:27:23 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit b20359b0b9f37f619e871e0a5583457df5135f60
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Jun 20 17:09:17 2023 +0200
gnu: hurd: Support native build on the Hurd.
* gnu/packages/hurd.scm (hurd)[arguments]: In phases 'build-libdde-linux'
and
'install-goodies', also look in inputs for dependencies. There is no check
target, so set #:tests? to #false.
---
gnu/packages/hurd.scm | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 38b5ae7f0b..2df7b22a24 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -329,7 +329,8 @@ Hurd-minimal package which are needed for both glibc and
GCC.")
"hurd-rumpdisk-no-hd.patch"))))
(version (package-version hurd-headers))
(arguments
- `(#:phases
+ `(#:tests? #f ;no "check" target
+ #:phases
(modify-phases %standard-phases
(add-after 'unpack 'prepare-addons
(lambda* (#:key native-inputs inputs #:allow-other-keys)
@@ -468,13 +469,15 @@ exec ${system}/rc \"$@\"
#t)))
(add-after 'build 'build-libdde-linux
(lambda* (#:key inputs native-inputs #:allow-other-keys)
- (invoke (string-append (assoc-ref native-inputs "make")
+ (invoke (string-append (or (assoc-ref native-inputs "make")
+ (assoc-ref inputs "make"))
"/bin/make")
;; XXX There can be a race condition because subdirs
;; aren't interdependent targets in the Makefile.
"-j1" "-C" "libdde_linux26"
(string-append "SHELL="
- (assoc-ref native-inputs "bash")
+ (or (assoc-ref native-inputs "bash")
+ (assoc-ref inputs "bash"))
"/bin/bash")
(string-append "CC="
,(cc-for-target)))))
@@ -485,12 +488,14 @@ exec ${system}/rc \"$@\"
(let* ((out (assoc-ref outputs "out"))
(datadir (string-append out "/share/hurd")))
;; Install libdde_linux26.
- (invoke (string-append (assoc-ref native-inputs "make")
+ (invoke (string-append (or (assoc-ref native-inputs "make")
+ (assoc-ref inputs "make"))
"/bin/make")
"-C" "libdde_linux26" "install"
(string-append "SHELL="
- (assoc-ref native-inputs "bash")
- "/bin/bash")
+ (or (assoc-ref native-inputs "bash")
+ (assoc-ref inputs "bash"))
+ "/bin/bash")
(string-append "INSTALLDIR="
out
"/share/libdde_linux26/build/include"))
- 50/67: gnu: pango: Support build for the Hurd., (continued)
- 50/67: gnu: pango: Support build for the Hurd., guix-commits, 2023/07/18
- 53/67: gnu: guile-2.0: Skip failing tests on the Hurd., guix-commits, 2023/07/18
- 60/67: gnu: guix: Disable some tests on the Hurd., guix-commits, 2023/07/18
- 20/67: gnu: openssl: Build fix for the Hurd., guix-commits, 2023/07/18
- 14/67: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd., guix-commits, 2023/07/18
- 26/67: gnu: libgpg-error: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 41/67: gnu: zstd: Skip tests when building for the Hurd., guix-commits, 2023/07/18
- 40/67: gnu: swig: Skip tests when building for the Hurd., guix-commits, 2023/07/18
- 63/67: DRAFT hurd: Support second boot., guix-commits, 2023/07/18
- 49/67: gnu: harfbuzz: Support build for the Hurd., guix-commits, 2023/07/18
- 56/67: gnu: hurd: Support native build on the Hurd.,
guix-commits <=
- 62/67: gnu: guix: Update to 1.4.0-9.0082101981., guix-commits, 2023/07/18
- 65/67: DRAFT system: examples: Add devel-hurd.tmpl., guix-commits, 2023/07/18
- 09/67: Revert "gnu: libunistring: Fix make check for the Hurd.", guix-commits, 2023/07/18
- 21/67: gnu: python: Support native build on the Hurd., guix-commits, 2023/07/18
- 34/67: gnu: parted: Disable tests for the Hurd., guix-commits, 2023/07/18
- 66/67: gnu: Add libc-locales-for-target and glibc-locales/hurd., guix-commits, 2023/07/18
- 04/67: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224., guix-commits, 2023/07/18
- 28/67: gnu: tcl: Remove failing tests on the Hurd.., guix-commits, 2023/07/18
- 29/67: gnu: curl: Skip failing test on the Hurd., guix-commits, 2023/07/18
- 24/67: gnu: libbsd: Skip failing test on the Hurd., guix-commits, 2023/07/18