GNU bug report logs - #58100
cbqn currently targets AVX2

Previous Next

Package: guix-patches;

Reported by: Christopher Rodriguez <yewscion <at> gmail.com>

Date: Mon, 26 Sep 2022 19:08:02 UTC

Severity: normal

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

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#58100: closed (cbqn currently targets AVX2)
Date: Mon, 07 Nov 2022 21:04:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 07 Nov 2022 22:03:25 +0100
with message-id <01c4d98fab0c6f58fcedab8fc7eb717161d15b5f.camel <at> gmail.com>
and subject line Re: bug#58100: cbqn currently targets AVX2
has caused the debbugs.gnu.org bug report #58100,
regarding cbqn currently targets AVX2
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
58100: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58100
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Christopher Rodriguez <yewscion <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: cbqn currently targets AVX2
Date: Mon, 26 Sep 2022 15:03:54 -0400
[Message part 3 (text/plain, inline)]
Hey All,

Came to my attention today that cbqn (which I recently submitted the
package for) was assuming a CPU with AVX2 extensions when built as I had
originally packaged it.

I have a patch to fix this; cbqn now will target a generic CPU, and the
AVX2 optimizations have been moved to their own package, cbqn-singeli.

Let me know what I can improve!

-- 
Christopher Rodriguez
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Christopher Rodriguez <yewscion <at> gmail.com>, 58100-done <at> debbugs.gnu.org
Subject: Re: bug#58100: cbqn currently targets AVX2
Date: Mon, 07 Nov 2022 22:03:25 +0100
Am Montag, dem 07.11.2022 um 14:35 +0100 schrieb Ludovic Courtès:
> Hi,
> 
> Liliana Marie Prikler <liliana.prikler <at> gmail.com> skribis:
> 
> > Am Sonntag, dem 06.11.2022 um 18:39 +0100 schrieb Ludovic Courtès:
> > > Hi Liliana,
> > > 
> > > Liliana Marie Prikler <liliana.prikler <at> gmail.com> skribis:
> > > 
> > > > * gnu/packages/bqn.scm (cbqn)[inputs]: Remove singeli-sources.
> > > > [arguments]<#:make-flags: Replace “o3n-singeli” with “o3”.
> > > > <#:phases>: Remove “link-singeli”.
> > > 
> > > This series of patches that you sent LGTM!
> > > 
> > > However, how does it relate to AVX2-specific builds?  
> > IIUC, singeli is some tool that emits avx2-specific opcodes and the
> > singeli builds of cbqn use that somehw; I admit, I do not
> > completely understand what's going on on their side.
> 
> Oh, I see.
> 
> > > Anyhow, as you suggested in the thread, it’d be a good idea to
> > > add a ‘tunable?’ property.
> > Will simply adding (tunable? . #t) as a property be enough?  Also
> > related to the signeli thing, do we have the means to create
> > special build flows for tuned packages?
> 
> Yes, ci.guix builds tunable packages for several x86_64 ISA variants,
> which are listed in (gnu ci).
Done and pushed.

Cheers


This bug report was last modified 2 years and 200 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.