guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#48217] [PATCH v2 4/9] gnu: Add cm256cc.


From: Maxime Devos
Subject: [bug#48217] [PATCH v2 4/9] gnu: Add cm256cc.
Date: Wed, 05 May 2021 13:22:38 +0200
User-agent: Evolution 3.34.2

Guillaume Le Vaillant schreef op wo 05-05-2021 om 08:48 [+0000]:
> * gnu/packages/radio.scm (cm256cc): New variable.
> [...]
> +         (replace 'check
> +           (lambda _
> +             (invoke "./cm256_test"))))))

I would make this something like

> +           (lambda (#:key tests? #:allow-other-keys)
> +             (when tests?
> +               (invoke "./cm256_test")))

Then "guix build --without-tests=cm256cc cm256cc" can be used
for building "cm256cc" without tests, and the "cm256_test" 
binary won't be invoked when cross-compiling.

(I assume it is a binary.)

For testing cross-compilation to aarch64-linux-gnu:
  ./pre-inst-env guix build --target=aarch64-linux-gnu cm256cc

Greetings,
Maxime.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]