From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kOwWA2WDr2EGSgAAgWs5BA (envelope-from ) for ; Tue, 07 Dec 2021 16:53:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6BNCOmSDr2GadwAAB5/wlQ (envelope-from ) for ; Tue, 07 Dec 2021 15:53:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 51C3F4CEC for ; Tue, 7 Dec 2021 16:53:08 +0100 (CET) Received: from localhost ([::1]:42910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mucmA-0000Ul-5T for larch@yhetil.org; Tue, 07 Dec 2021 10:53:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mucm6-0000UK-5j for guix-patches@gnu.org; Tue, 07 Dec 2021 10:53:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55155) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mucm5-0000sZ-UH for guix-patches@gnu.org; Tue, 07 Dec 2021 10:53:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mucm5-0003Ku-Ns for guix-patches@gnu.org; Tue, 07 Dec 2021 10:53:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52283] [PATCH 02/10] transformations: Add '--tune'. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 07 Dec 2021 15:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52283 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 52283@debbugs.gnu.org, Thiago Jung Bauermann Received: via spool by 52283-submit@debbugs.gnu.org id=B52283.163889237112806 (code B ref 52283); Tue, 07 Dec 2021 15:53:01 +0000 Received: (at 52283) by debbugs.gnu.org; 7 Dec 2021 15:52:51 +0000 Received: from localhost ([127.0.0.1]:38468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muclu-0003KT-Om for submit@debbugs.gnu.org; Tue, 07 Dec 2021 10:52:50 -0500 Received: from mail-io1-f43.google.com ([209.85.166.43]:38870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mucls-0003KG-Ta for 52283@debbugs.gnu.org; Tue, 07 Dec 2021 10:52:49 -0500 Received: by mail-io1-f43.google.com with SMTP id z18so17683725iof.5 for <52283@debbugs.gnu.org>; Tue, 07 Dec 2021 07:52:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=swT/mWeVRO6rmVpYll0pgnmMKkPSlK5clC7LzhyafHY=; b=e4O8c/8lef7w2TBzoHfe9cMvIXeMgdrFbRNLF9LQqdMaTDYCvfyFQHj/BI1UPZ/9j/ VudDOPP09DlHcpsOafQJxCLKfU/JBEdPq9tfgQl0YPs1DzWs/cFm4MIKebMj+JVQKTVJ kPfQUHCYYVvnuoPAUXQJRaOhsCAwsS8OceET8/qjDkrUc7ZAqGDR4PoHVhBuiBjzp3Tz lzdF6MMY23aAObdACIT0AAYrLTqGnEPHNWnsRs/VrrlnFkIjEd0UMxNxWrrrO+97VxM7 /hkSjphfiA7KWl9qvojTPVsDevR+Q2O1cur0LPrapTqKeYx8xzrOR0qAdBWnHjF/eEsV CN0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=swT/mWeVRO6rmVpYll0pgnmMKkPSlK5clC7LzhyafHY=; b=Q+FaULBZXr+yL9gSx9IhvrBpIOn8YBCHYt8+Cq3slF5cgGZJ42qlCXoIZSll1ESKM1 VBY9qT/NEnQeIf1+eynOrvMwIjfmPO7eR1mA8NkFTv/BcIfMHh62MNfWmbbrEaGj/gYw /G/zyeR/XS8iaI9QMGkigf1bklBKJeWarZBtERuvDt2VGumJvO/wqfheTPrNgyFrWLNH L0aUiBjMzjgoP8Yy3FOFEAD5isuw4A5cNc+NpMBAfGrO0kv69cbhFhGuS4Vsu7WzONxT MlBCzntb/4ipwzZTfGK70Bqbv4dPFZCzJW2aUDUWicQFpZ2t+T5yF8Ifn9V7tjwFP+Ad v3BQ== X-Gm-Message-State: AOAM531MfJjGolqcU9st0UOsvBpThrr4E4+qcaWK51nAPb9CzyuK7J9D unHu57+aoGsu+Hl4LsXEbIPkwJ3KPid1zpv8mE0= X-Google-Smtp-Source: ABdhPJwGRn/Hu0sRKEW0g18GxNbubYPEMVheWp8tkho6kj8V8sZFoxlU8tG1O7Ga8LW5fbAryOOLHOFqRnRcga6Dvok= X-Received: by 2002:a02:9586:: with SMTP id b6mr51972712jai.24.1638892363213; Tue, 07 Dec 2021 07:52:43 -0800 (PST) MIME-Version: 1.0 References: <20211204204924.15581-1-ludo@gnu.org> <20211204204924.15581-2-ludo@gnu.org> <7364829.rrRS6mQaNJ@popigai> <871r2olu1j.fsf@inria.fr> <875ys0jwlf.fsf@inria.fr> In-Reply-To: <875ys0jwlf.fsf@inria.fr> From: zimoun Date: Tue, 7 Dec 2021 16:52:31 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638892388; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=swT/mWeVRO6rmVpYll0pgnmMKkPSlK5clC7LzhyafHY=; b=g6URxDOCRzD5GVBRVqm5oo790Cs6J4MxOUti4PijURHFFxP89jo9Snkuew3651gAlTdA6Y 0EPNepfilkXdu0tPHGk6rEQ1c6+nUOE/GSw02JSwHcOuW9xVYBaIA6m9NMQ2rtCXWIYT6m OazfR3yo6zSt4awXnKKozpnaR0PeZHyP9qNvvkP6vogk3R5w999/7iWnptEPRtmNXmgAwT S/mehb/NhDccBo2VY8oAtJiY4opt6PW57BLbIzxqd3HuKIfASOmd6jilhTKmEhaypCLVEA MxQM11kIaVD8q14jdJpJhRmSFpktj3eO/lwJO3nBej5eWeTLAQ0hlO+ZlefinQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638892388; a=rsa-sha256; cv=none; b=N5IBA0awcS7MpZ/lEyfKiZ2jGfziZr444TTGqBOeDPBpTrg+dXD5qfNifiz2wGjMMQpNjL sOOWRM+3IBdyVuthJRVvhMGs9qBBWK32jB3jYK3eu9TQmtYlQi6UzK4i4xtgKzmNvY/01P ALmGPnWZE/rXVoWhD6Jg/5ycPd3P3VZ7AbMvxeh5vhJRzOslnX6r0+oY2+0mrsABASpAAF pKU7Dm/44UngIpOoYkzoHbqkqhY93bqooT+EdKptEeRwn+CO/7+ggJwjOU5Ua131SiLGox dL2q8ZdMSm/3hllkvkgcbyBuyd0NME/2pS6mcBvQP1fbZ2EJQYOND6wTbn3vyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="e4O8c/8l"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="e4O8c/8l"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 51C3F4CEC X-Spam-Score: -2.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: a81X8rAVWc6A Hi, On Tue, 7 Dec 2021 at 15:52, Ludovic Court=C3=A8s wrote: > zimoun skribis: > >> The test suite runs in the =E2=80=9Cbaseline=E2=80=9D package build an= yway, so assuming > >> the compiler works fine, skipping the test suite on tuned builds is > >> okay. > > > > I miss if the test suite is effectively run somewhere? > > Yes, for the default/generic/baseline package, when not using =E2=80=98--= tune=E2=80=99. Assuming, the default/generic/baseline package is effectively built. :-) I imagine the scenario: I develop a new simulation tool, I package it for Guix, I share it; usually I run "guix shell -D" and do loop over "make" and "make check", then deploy using "guix build --tune". My colleague fetches it and want to run it on another cluster, i.e., they run "guix build --tune". The test suite for the generic/baseline is never run inside a clean environment. And as we know, this isolated part allows to detect many common issues; which are often source of "it works for me, why does it not work for you?". ;-) > > My questions are coming from Julia packages in mind, where the test > > suite is the only way to know all is fine. And many times, add System > > Image for Julia had been discussed and basically this System Image is > > precompilation (generic one or specialized for micro-architecture). > > Therefore, maybe this new 'tune' transformation would fit the bill. > > :-) > > > > https://docs.julialang.org/en/v1/devdocs/sysimg/ > > According to this page, =E2=80=98--tune=E2=80=99 won=E2=80=99t be necessa= ry here because Julia > supports function multi-versioning for its =E2=80=9Csystem image=E2=80=9D= : Yes, but from my understanding, the "baseline" cannot provide an image for all the micro-architectures, but only 'generic'. Moreover, as you described elsewhere, we cannot know for sure whether the machine that hosts the daemon is able to run code for this specific micro-architecture. Anyway. That's off topic. ;-) Thanks for explaining and let discuss elsewhere this Julia machinery. :-) Cheers, simon