GNU bug report logs -
#55606
[PATCH 2/2] gnu: Add hare.
Previous Next
Reported by: Antero Mejr <antero <at> mailbox.org>
Date: Tue, 24 May 2022 01:24:02 UTC
Severity: normal
Tags: patch
Merged with 55187
Done: "(" <paren <at> disroot.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Antero Mejr via Guix-patches via schreef op ma 23-05-2022 om 21:21 [-
0400]:
> + `(#:make-flags
> + (list (string-append "DESTDIR=" (assoc-ref %outputs "out"))
> + "BINDIR=/bin"
> + "MANDIR=/share/man"
> + "SRCDIR=/src"
> + "LOCALSRCDIR=/src/hare"
See previous message about G-exp and DESTDIR.
+ (string-append "HAREPATH="
+ (assoc-ref %outputs "out")
+ "/src/hare/stdlib:"
+ (assoc-ref %outputs "out")
Likewise, (assoc-ref ... "out") -> #$output
+ (string-append "HAREC="
+ (string-append (assoc-ref %build-inputs
"harec")
+ "/bin/harec"))
Likewise about input labels, though in this case search-input-file.
Or (file-append #$(this-package-input "harec") "/bin/harec").
+ (string-append "AS="
+ (string-append (assoc-ref %build-inputs
"binutils")
IIRC %build-inputs does not exist when cross-compiling, try "guix build
--target=aarch64-linux-gnu hare". Also, it is ambigious if you meant
inputs or native-inptus here. You might need %build-target-input or
one of those instead. They are undocumented though, so maybe better
use this-package-{native,}-input. Those don't support implicit inputs
though, so you may need to add the gcc manually (maybe look at (guix
build-system gnu) for how).
> + "HARECACHE=.cache")
Is this used for building the hare compiler itself or for building hare
libraries and applications?
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 2 years and 301 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.