GNU bug report logs -
#64874
[PATCH] guix: tuned-package: Use target on cross-compile.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64874 in the body.
You can then email your comments to 64874 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
mail <at> cbaines.net, dev <at> jpoiret.xyz, ludo <at> gnu.org, othacehe <at> gnu.org, rekado <at> elephly.net, zimon.toutoune <at> gmail.com, me <at> tobias.gr, guix-patches <at> gnu.org
:
bug#64874
; Package
guix-patches
.
(Wed, 26 Jul 2023 15:38:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jean-Pierre De Jesus DIAZ <jean <at> foundationdevices.com>
:
New bug report received and forwarded. Copy sent to
mail <at> cbaines.net, dev <at> jpoiret.xyz, ludo <at> gnu.org, othacehe <at> gnu.org, rekado <at> elephly.net, zimon.toutoune <at> gmail.com, me <at> tobias.gr, guix-patches <at> gnu.org
.
(Wed, 26 Jul 2023 15:38:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* guix/transformations.scm (tuned-package): Use either bag-target if
available or bag-system to select the CPU architecture of the package
that is going to be tuned. This enables the tuning of cross-compiled
packages.
Signed-off-by: Jean-Pierre De Jesus DIAZ <jean <at> foundationdevices.com>
---
guix/transformations.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/guix/transformations.scm b/guix/transformations.scm
index 92d9c89c0e..76d0208bf1 100644
--- a/guix/transformations.scm
+++ b/guix/transformations.scm
@@ -510,8 +510,9 @@ (define (lower* . args)
;; leading to an obscure build error, check whether the compiler is known
;; to support MICRO-ARCHITECTURE. If not, bail out.
(let* ((lowered (apply lower args))
- (architecture (match (string-tokenize (bag-system lowered)
- %not-hyphen)
+ (target (or (bag-target lowered)
+ (bag-system lowered)))
+ (architecture (match (string-tokenize target %not-hyphen)
((arch _ ...) arch)))
(compiler (any (match-lambda
((label (? package? p) . _)
base-commit: cf9904bcc8dd03e73675475bb4d8746dc434e415
--
2.34.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#64874
; Package
guix-patches
.
(Wed, 16 Aug 2023 17:12:06 GMT)
Full text and
rfc822 format available.
Message #8 received at 64874 <at> debbugs.gnu.org (full text, mbox):
Hi,
Thanks for the patch.
On Wed, 26 Jul 2023 at 17:37, Jean-Pierre De Jesus DIAZ via Guix-patches via <guix-patches <at> gnu.org> wrote:
> * guix/transformations.scm (tuned-package): Use either bag-target if
> available or bag-system to select the CPU architecture of the package
> that is going to be tuned. This enables the tuning of cross-compiled
> packages.
>
> Signed-off-by: Jean-Pierre De Jesus DIAZ <jean <at> foundationdevices.com>
> ---
> guix/transformations.scm | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/guix/transformations.scm b/guix/transformations.scm
> index 92d9c89c0e..76d0208bf1 100644
> --- a/guix/transformations.scm
> +++ b/guix/transformations.scm
> @@ -510,8 +510,9 @@ (define (lower* . args)
> ;; leading to an obscure build error, check whether the compiler is known
> ;; to support MICRO-ARCHITECTURE. If not, bail out.
> (let* ((lowered (apply lower args))
> - (architecture (match (string-tokenize (bag-system lowered)
> - %not-hyphen)
> + (target (or (bag-target lowered)
> + (bag-system lowered)))
> + (architecture (match (string-tokenize target %not-hyphen)
Ludo, WDYT?
Cheers,
simon
Information forwarded
to
guix-patches <at> gnu.org
:
bug#64874
; Package
guix-patches
.
(Wed, 16 Aug 2023 17:13:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#64874
; Package
guix-patches
.
(Wed, 16 Aug 2023 21:55:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 64874 <at> debbugs.gnu.org (full text, mbox):
Hi,
Simon Tournier <zimon.toutoune <at> gmail.com> skribis:
> On Wed, 26 Jul 2023 at 17:37, Jean-Pierre De Jesus DIAZ via Guix-patches via <guix-patches <at> gnu.org> wrote:
>> * guix/transformations.scm (tuned-package): Use either bag-target if
>> available or bag-system to select the CPU architecture of the package
>> that is going to be tuned. This enables the tuning of cross-compiled
>> packages.
>>
>> Signed-off-by: Jean-Pierre De Jesus DIAZ <jean <at> foundationdevices.com>
>> ---
>> guix/transformations.scm | 5 +++--
>> 1 file changed, 3 insertions(+), 2 deletions(-)
>>
>> diff --git a/guix/transformations.scm b/guix/transformations.scm
>> index 92d9c89c0e..76d0208bf1 100644
>> --- a/guix/transformations.scm
>> +++ b/guix/transformations.scm
>> @@ -510,8 +510,9 @@ (define (lower* . args)
>> ;; leading to an obscure build error, check whether the compiler is known
>> ;; to support MICRO-ARCHITECTURE. If not, bail out.
>> (let* ((lowered (apply lower args))
>> - (architecture (match (string-tokenize (bag-system lowered)
>> - %not-hyphen)
>> + (target (or (bag-target lowered)
>> + (bag-system lowered)))
>> + (architecture (match (string-tokenize target %not-hyphen)
>
> Ludo, WDYT?
LGTM, thanks for the heads-up!
Ludo’.
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Sun, 17 Sep 2023 13:09:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jean-Pierre De Jesus DIAZ <jean <at> foundationdevices.com>
:
bug acknowledged by developer.
(Sun, 17 Sep 2023 13:09:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 64874-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Ludovic Courtès <ludo <at> gnu.org> skribis:
> Simon Tournier <zimon.toutoune <at> gmail.com> skribis:
[...]
>> Ludo, WDYT?
>
> LGTM, thanks for the heads-up!
I went ahead and applied it.
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 16 Oct 2023 11:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 208 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.