From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cHJdKTU1d2CyNwEAgWs5BA (envelope-from ) for ; Wed, 14 Apr 2021 20:32:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mKRAIzU1d2DuIgAA1q6Kng (envelope-from ) for ; Wed, 14 Apr 2021 18:32:21 +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 1493016D28 for ; Wed, 14 Apr 2021 20:32:21 +0200 (CEST) Received: from localhost ([::1]:54130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWkJH-0007zs-EZ for larch@yhetil.org; Wed, 14 Apr 2021 14:32:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWkJ4-0007yw-Gb for help-guix@gnu.org; Wed, 14 Apr 2021 14:32:06 -0400 Received: from mx1.dismail.de ([78.46.223.134]:36757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWkJ2-0001cc-6Z for help-guix@gnu.org; Wed, 14 Apr 2021 14:32:06 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 38a6a101; Wed, 14 Apr 2021 20:31:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=20190914; bh=KvVmP/GV8kiZ6GRYOJuzKgzy26AGYjkCYS 4cFARnVnI=; b=AEKWTy+TRLpohE7QJTq1Ohul4NwkVSW+nsJhv6poctUn6o+FTF vR67oOkjB752yyAh/LUGiCiUEUhoNVbUVO3Z6vHHbCKlZ/j3HvcYkMTe315k6LCh NC/qUzFeBnroXuNG0UywZ7xX30rga7uB0sGu0XBfgMMKI5paYb1TXKZAaMhA5X1c 1Ovo2QNRJnmlQ3ieUKm6XkBtBJENLi69649boj2zzlIgxfy/T0ziBxxhczfKmG4a v0+RR6AWVT6OksgzIOq9hz0eky189B2wSqmRc9qn7zYyaz31nszAnfEZ11CM7Bq3 73yDZT1ScomkQVMw/0FvVjb4ITpwEXu4wLZw== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id ab255d35; Wed, 14 Apr 2021 20:31:59 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 5d4eb547; Wed, 14 Apr 2021 20:31:58 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 440ab580 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 14 Apr 2021 20:31:58 +0200 (CEST) From: Joshua Branson To: Charles Direg Cc: help-guix@gnu.org Subject: Re: How to compile native? References: Mail-Followup-To: Charles Direg , help-guix@gnu.org Date: Wed, 14 Apr 2021 14:31:56 -0400 In-Reply-To: (Charles Direg's message of "Tue, 6 Apr 2021 18:10:47 -0500") Message-ID: <87v98o90pv.fsf@dismail.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=78.46.223.134; envelope-from=jbranso@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618425141; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=whVQqFApY0hvVkoLFEA8YNMsNxQwlvYi/YUXkylF59o=; b=SIWR/FuaJRNvIigJO5eFnYumgyTe8LOSuI99Daru7lO7lKJggJ4PJ9oZv7pAiptx6ipUAT Z2Mihx/P/EAQjNBpnu0NVXXr8z7o8SYrxDESeLhRR2MhSvWLP00bYJ6uUViWoO/3udc0LZ HHs7yZCzsa/o35uEymz3k4sXJHGmMhCqs2LMrnZbkjCvrp8RhuJeXhpRcbiF1fJgopiUKr CdbyEVvzs2dwO4ZvWERxNz1RrM7a3iG83jJs72wn7qTiD84sEkl/696VA2JMLUs7dvGVJ9 LpWywdZvEzauYeymt5bDRECd0IEE3TDhKRJ3I5ZliKijV2v9AFYl44cKZwA31A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618425141; a=rsa-sha256; cv=none; b=qaZYvVS9j1b7sdtl2SEezFlCDqcvpJHNSmofiggoPECVlcjYCq9iVogmWFyDPEwuoIs7Ir YCzmQdBZq9mTAazTa2TbxRf5TNFWH2VPY7UhV3t9b2LRiDLCKLC76oepSSc+Rx014+MduY esZE9aTdF5RCCAVpwZ/Lf/y2FJizA1anHtaJK1Gxkb83TZMgbN9oXx1+Cj5K7wibz46rJZ r7hdf/c3fPFVM3KaN3OwwcNLV++oyi3oz9wPE/9B7t1xim3a49pvm/tIRZqwNw36KKuvYN OP/EFVBqmd+p2WrAbnoO/t8DjX4qt38PQsnQ6gC5OR8magYbaqiy8EDwUuGS9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=AEKWTy+T; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=AEKWTy+T; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 1493016D28 X-Spam-Score: -2.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: JkoTnFuDtw2m Charles Direg writes: > Hi, > > How can I do a compilation of the packages natively? Yes this is possible! You can disable substitutes to compile all packages natively. > > What I mean is that, for example in Gentoo it can be used inside > /etc/portage/make.conf: CFLAGS="-O2 -march=native -mtune=native" Is that > possible in guix? Currently guix does not support gentoo style flags..yet. Though there are talks to do something like that. If you wanted to compile packages with specific compile flags, then you'll need to make custom package definitions. > > Thank you very much for your time, I will be waiting for your kind > responses. > > Greetings. -- Joshua Branson (joshuaBPMan in #guix) Sent from Emacs and Gnus https://gnucode.me https://video.hardlimit.com/accounts/joshua_branson/video-channels https://propernaming.org "You can have whatever you want, as long as you help enough other people get what they want." - Zig Ziglar