GNU bug report logs -
#53833
[PATCH] gnu: Add qbe.
Previous Next
Reported by: jgart <jgart <at> dismail.de>
Date: Mon, 7 Feb 2022 01:21:01 UTC
Severity: normal
Tags: patch
Merged with 55150,
55151,
55605
Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#53833: [PATCH] gnu: Add qbe.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 55150 <at> debbugs.gnu.org.
--
53833: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=53833
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Am Dienstag, dem 24.05.2022 um 08:50 +0200 schrieb Liliana Marie
Prikler:
> Hi, this is mostly a reminder for myself to push this soon.
>
> Am Sonntag, dem 08.05.2022 um 21:21 +0100 schrieb (unmatched-
> parenthesis:
> > * gnu/packages/c.scm (qbe): New variable.
> >
> > Signed-off-by: (unmatched-parenthesis <paren <at> disroot.org>
> Don't add sign-off headers for your own patches, those are for
> committers signing of other people's patches :)
>
> > [...]
> > + (arguments
> > + (list #:make-flags
> > + #~(list (string-append "CC=" #$(cc-for-target))
> > + (string-append "PREFIX=" #$output)
> > + ;; `GUIXTARGET` is used instead of `TARGET` to
> > avoid changing
> > + ;; the meaning of tools/test.sh (which uses
> > `TARGET` too).
> > + (string-append "GUIXTARGET=" #$(or (%current-
> > target-system)
> > + (%current-
> > system))))
> > + #:phases
> > + #~(modify-phases %standard-phases
> > + (add-after 'unpack 'allow-cross-compilation
> > + (lambda _
> > + (substitute* "Makefile"
> > + (("`uname -m`") "$(GUIXTARGET)"))))
> Instead of going through the variable, why not inline it into the
> substitute*?
> > + (add-after 'allow-cross-compilation 'use-gcc-for-
> > tests
> > + (lambda _
> > + (substitute* "tools/test.sh"
> > + (("cc=\"cc -no-pie\"")
> > + (string-append "cc=\"${CC} -no-pie\"")))))
> > + (delete 'configure))))
> > + (supported-systems (list "x86_64-linux" "aarch64-linux"
> > "riscv64-linux"))
> > + (synopsis "Simple compiler backend")
> > + (description "QBE is a small compiler backend using an SSA-
> > based
> > intermediate
> > +language as input.")
> > + (home-page "https://c9x.me/compile/")
> > + (license license:expat))))
>
> Otherwise LGTM.
Applied with the above as well as my liberal interpretation of what
passes as `guix style'.
Cheers
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Hello,
I’ve packaged the qbe compiler backend. I’m new to GUIX, so let me know if I messed anything up!
Jon
[0001-gnu-Add-qbe.patch (application/octet-stream, attachment)]
This bug report was last modified 3 years and 1 day ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.