From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oB0JDHhQ0GS1MwEASxT56A (envelope-from ) for ; Mon, 07 Aug 2023 04:01:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8OjeC3hQ0GTIuwAAauVa8A (envelope-from ) for ; Mon, 07 Aug 2023 04:01:28 +0200 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 99EA44D17A for ; Mon, 7 Aug 2023 04:01:27 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=Nsom0BuP; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691373688; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=sfAkZbCLV/wl/yqqdZ/spiRwoRNRPZKRc8pL+Rxg0Vg=; b=IK+CIeIywY95mXO39CcjkbZlG0VrH6DD036Do17cyuHzVumDMiwGHLTY/P8He4IiKN9nCJ NnksipudHGOtJMTsnQMgYTTfo1fpTFhSSW2KIDyaBVjtV0Plxu0m1ZTOQgaLreKRx9tLjn 87tdqawEzH+nWvMDwT3hsJ74/YZij+ChXa/lxJKfVqD59dcUbkNjz7PF0BKHZPVOgXKpoh 03TZ1eJ4Drv8YFegSFDTZp+dLEV1Q3dcgjhHC8iMJmJ2dG1+i9nROgUrBphMhS96595L/Q XpXOYh5X4l1FqYnsAVCNQIDeMeTqOEwaY/VH3Slg4SCJSzot6oCXHfqApk1S1g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691373688; a=rsa-sha256; cv=none; b=E8oKlFmdeCwXmiKggkMkKFrPF7nnCHh+HtKa9obS+kvG1cjXNzcCUtfmKqRyspCrW9jJV0 XO5u+/m4g36aPqnEVTIDBsoq0B88bjtG3U9Sgq/CW5wWruoznywm/PeIm+zNZJOdQ663NS hTLHHP2mmFS29DLP7zx9feBZe8CByH33Y74q4nf2HjOROcDhTYV81c2AvfhJNwTMkKDGGr trrN/Yq9WS86vtqHi/Cv0/1uCiHE0VNWw3o77z4EednXyf3yJ9h8yz+U8fqd4a+1K04p7q Yvq1WoUK9kE1//CyP7q3RGPaMBEILbZ/YAbeoxoBtrJhly6TKMpF3n306nCmzQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=Nsom0BuP; 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"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSpYQ-0002ms-R6; Sun, 06 Aug 2023 22:01:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSpYM-0002k3-RL for guix-patches@gnu.org; Sun, 06 Aug 2023 22:01:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSpYM-0004Ny-Hk for guix-patches@gnu.org; Sun, 06 Aug 2023 22:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSpYM-0004Tn-1p for guix-patches@gnu.org; Sun, 06 Aug 2023 22:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65107] [PATCH] gnu: Add gf. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Aug 2023 02:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65107 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: dan Cc: 65107@debbugs.gnu.org Received: via spool by 65107-submit@debbugs.gnu.org id=B65107.169137362717169 (code B ref 65107); Mon, 07 Aug 2023 02:01:02 +0000 Received: (at 65107) by debbugs.gnu.org; 7 Aug 2023 02:00:27 +0000 Received: from localhost ([127.0.0.1]:60219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSpXn-0004Sr-Hm for submit@debbugs.gnu.org; Sun, 06 Aug 2023 22:00:27 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:32768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSpXi-0004Sf-GG for 65107@debbugs.gnu.org; Sun, 06 Aug 2023 22:00:26 -0400 Date: Mon, 07 Aug 2023 09:58:24 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1691373611; h=from:from: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; bh=sfAkZbCLV/wl/yqqdZ/spiRwoRNRPZKRc8pL+Rxg0Vg=; b=Nsom0BuP32b/dEat8dPYci6lYI4uARxkxKqvLcxEjxjnEnqmNmmQC2BPOZRgkYhIJX9RZm DEHrWLJ1tTBuD2dxcML4zeRyhzfl+DmKDYmJC36HX1vAJZcuKWybrRZk+4TGI6z5XS8aGY dXlx3Vl98k6yO7KlozE6SpeKb09Sk65lNmhuyu8cdn8XM5Bjl8fO/ipG3632Zbdoj92NQf AQ334UXKxkgPmNKKDPQEmQUe1LwLiezJGGUkcbe6WosUQ6rL2jawyZeRuWy/GJ1BATqmku MUJYUFqfloV/ssVxDg4z9UZ8zNyKsb8JgF7nfxwBV0PHSl8XfsdJpH4a+BRsFg== Message-ID: <874jlbwr3z.wl-hako@ultrarare.space> In-Reply-To: <87v8ds4425.wl-hako@ultrarare.space> References: <20230806055213.29704-1-i@dan.games> <87v8ds4425.wl-hako@ultrarare.space> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: / 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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 99EA44D17A X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.15 X-Spam-Score: -5.15 X-TUID: HsHM/41jcDus On Sun, 06 Aug 2023 22:51:30 +0800, Hilton Chain wrote: > Can you move these flags to #:make-flags? > > For example: > --8<---------------cut here---------------start------------->8--- > (arguments > (list [...] > #:make-flags > #~(list "-g" "-O2" [...]) > #:phases > #~(modify-phases %standard-phases > (replace 'build > (lambda* (#:key make-flags #:allow-other-keys) > (apply invoke > `(#$(cxx-for-target) "gf2.cpp" "-o" "gf2" > ,@make-flags))))))) > --8<---------------cut here---------------end--------------->8--- Sorry, `quasiquote' is not necessary here because `apply' accepts one list for the last argument and the above code just makes a list. The `apply' invocation I wrote should be replaced to: --8<---------------cut here---------------start------------->8--- (apply invoke #$(cxx-for-target) "gf2.cpp" "-o" "gf2" make-flags) --8<---------------cut here---------------end--------------->8--- Thanks