[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
43/58: gnu: hurd: Support native build on the Hurd.
From: |
guix-commits |
Subject: |
43/58: gnu: hurd: Support native build on the Hurd. |
Date: |
Wed, 19 Jul 2023 03:00:50 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit cf6b507601bd723b6d44f8e544ecfcdc0a605f41
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 | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 4064a9e2e8..f697694124 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -329,14 +329,14 @@ 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)
;; First we import the things we want from dde.
(for-each make-file-writable (find-files "."))
- (let ((dde (or (assoc-ref inputs "dde-sources")
- (assoc-ref native-inputs "dde-sources"))))
+ (let ((dde (assoc-ref (or native-inputs inputs) "dde-sources")))
(for-each (lambda (dir)
(copy-recursively
(string-append dde "/" dir ) dir))
@@ -466,13 +466,13 @@ 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 (assoc-ref (or native-inputs 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")
+ (assoc-ref (or native-inputs inputs)
"bash")
"/bin/bash")
(string-append "CC="
,(cc-for-target)))))
@@ -483,12 +483,12 @@ 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 (assoc-ref (or native-inputs inputs)
"make")
"/bin/make")
"-C" "libdde_linux26" "install"
(string-append "SHELL="
- (assoc-ref native-inputs "bash")
- "/bin/bash")
+ (assoc-ref (or native-inputs inputs)
"bash")
+ "/bin/bash")
(string-append "INSTALLDIR="
out
"/share/libdde_linux26/build/include"))
@@ -590,8 +590,7 @@ implementing them.")
(add-after 'unpack 'prepare-dde
(lambda* (#:key native-inputs inputs #:allow-other-keys)
(for-each make-file-writable (find-files "."))
- (let ((dde (or (assoc-ref inputs "dde-sources")
- (assoc-ref native-inputs "dde-sources"))))
+ (let ((dde (assoc-ref (or native-inputs inputs) "dde-sources")))
(for-each (lambda (dir)
(copy-recursively
(string-append dde "/" dir ) dir))
- 02/58: gnu: guile: Skip hanging and failing pipe tests on the Hurd., (continued)
- 02/58: gnu: guile: Skip hanging and failing pipe tests on the Hurd., guix-commits, 2023/07/19
- 56/58: DRAFT system: examples: Add devel-hurd.tmpl., guix-commits, 2023/07/19
- 48/58: system: hurd: Add procps to %base-packages/hurd., guix-commits, 2023/07/19
- 55/58: DRAFT hurd-boot: Support second boot., guix-commits, 2023/07/19
- 17/58: gnu: libgcrypt: Skip hanging benchmark tests on the Hurd., guix-commits, 2023/07/19
- 11/58: gnu: python: Support native build on the Hurd., guix-commits, 2023/07/19
- 25/58: gnu: openssl-1.1: Fix shared build for the Hurd., guix-commits, 2023/07/19
- 31/58: gnu: cmake-minimal: Skip tests on the Hurd., guix-commits, 2023/07/19
- 36/58: gnu: harfbuzz: Support build for the Hurd., guix-commits, 2023/07/19
- 37/58: gnu: pango: Support build for the Hurd., guix-commits, 2023/07/19
- 43/58: gnu: hurd: Support native build on the Hurd.,
guix-commits <=
- 44/58: gnu: guix: Disable some test on 32bit., guix-commits, 2023/07/19
- 39/58: gnu: po4a: Skip failing test on the Hurd., guix-commits, 2023/07/19
- 50/58: build: Build gnu/packages/*.go in five steps., guix-commits, 2023/07/19
- 47/58: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2023/07/19
- 46/58: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/07/19
- 06/58: gnu: findutils: Move test-strerror_r from XFAIL to skip on the Hurd., guix-commits, 2023/07/19
- 41/58: gnu: cairo: Support building for the Hurd., guix-commits, 2023/07/19
- 04/58: gnu: grep: Update hanging and failing tests on the Hurd., guix-commits, 2023/07/19
- 35/58: gnu: ghostscript: Fix build for the Hurd., guix-commits, 2023/07/19
- 42/58: gnu: glib: Disable tests for the Hurd., guix-commits, 2023/07/19