unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: 67742@debbugs.gnu.org
Subject: [bug#67742] [PATCH] gnu: ci: Build tuned packages for common baselines.
Date: Mon, 11 Dec 2023 22:37:26 +0100	[thread overview]
Message-ID: <87y1e02zft.fsf@chbouib.org> (raw)
In-Reply-To: <7c09a597a23276e1987898022ff7f0e145c9fd8a.1702194739.git.efraim@flashner.co.il> (Efraim Flashner's message of "Sun, 10 Dec 2023 09:52:42 +0200")

Hi,

Efraim Flashner <efraim@flashner.co.il> skribis:

> * gnu/ci.scm (%x86-64-micro-architectures): Replace specific
> micro-architectures with generic ones.
>
> Change-Id: Iee2f65376a00ad2ee5fb393c2e64c07f866d8116
> ---
>  gnu/ci.scm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gnu/ci.scm b/gnu/ci.scm
> index 279dd4d910..5c093ae135 100644
> --- a/gnu/ci.scm
> +++ b/gnu/ci.scm
> @@ -372,7 +372,7 @@ (define package->job
>  
>  (define %x86-64-micro-architectures
>    ;; Micro-architectures for which we build tuned variants.
> -  '("westmere" "ivybridge" "haswell" "skylake" "skylake-avx512"))
> +  '("x86-64-v2" "x86-64-v3" "x86-64-v4"))

Right now, on my laptop, I get:

--8<---------------cut here---------------start------------->8---
$ guix build gsl -n --tune
guix build: tuning gsl@2.7.1 for CPU skylake
substitute: updating substitutes from 'http://192.168.1.48:8123'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
1.5 MB would be downloaded:
  /gnu/store/kx060kry6ka7khzganfcqk98agqp226i-gsl-2.7.1
$ guix describe
Generation 284  Dec 10 2023 23:34:41    (current)
  guix a90bc8b
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: a90bc8b6a82e094b10488030532cf4cd690ce57e
--8<---------------cut here---------------end--------------->8---

Which is nice!

With the proposed change, I’d no longer get substitutes.

So perhaps we could keep the common Intel variants in addition to the
SysV psABI generic names?

Maybe we can drop “westmere” now since it’s relatively old.

WDYT?

Ludo’.




  reply	other threads:[~2023-12-11 21:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-10  7:52 [bug#67742] [PATCH] gnu: ci: Build tuned packages for common baselines Efraim Flashner
2023-12-11 21:37 ` Ludovic Courtès [this message]
2023-12-12 11:27   ` Efraim Flashner
2023-12-18 22:26     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y1e02zft.fsf@chbouib.org \
    --to=ludo@gnu.org \
    --cc=67742@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).