From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: Re: native or not Date: Mon, 30 Mar 2020 08:57:04 +0200 Message-ID: <87a73ypbyb.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50788) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIoM8-0006G0-RR for guix-devel@gnu.org; Mon, 30 Mar 2020 02:57:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIoM7-0006dE-NX for guix-devel@gnu.org; Mon, 30 Mar 2020 02:57:08 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:51297) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIoM7-0006bi-FC for guix-devel@gnu.org; Mon, 30 Mar 2020 02:57:07 -0400 Received: by mail-wm1-x335.google.com with SMTP id c187so18780354wme.1 for ; Sun, 29 Mar 2020 23:57:06 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:90fb:6d6e:660b:2437]) by smtp.gmail.com with ESMTPSA id 71sm22148175wrc.53.2020.03.29.23.57.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Mar 2020 23:57:04 -0700 (PDT) In-reply-to: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Hello Vincent, > Is there a way to see any benefit from these changes > (without building a vm or container image each time) ? > > Are those changes useful to do on their own ? Well yes it may reduce the closure size of the package (run `guix size sudo`) to get it. It can also fix cross-compilation. Because when cross-compiling, if groff needs to be run at build-time, it needs to be for the native architecture and not the target one. You can check it by running `guix build --target=aarch64-linux-gnu sudo` for instance. Thanks, Mathieu