From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eFUJBoOjIGdBZgEAe85BDQ:P1 (envelope-from ) for ; Tue, 29 Oct 2024 08:57:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id eFUJBoOjIGdBZgEAe85BDQ (envelope-from ) for ; Tue, 29 Oct 2024 09:57:39 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=vgoMA3LD; dkim=fail ("headers rsa verify failed") header.d=inventati.org header.s=stigmate header.b=rnW5qCG5; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730192259; a=rsa-sha256; cv=none; b=J+5odDoeXYGqJ8uozHrSTDp88QiciljOj1DROfIziKBd9lW14YkfoF+eI8h6Qz8vHPBLBd G5zOlAC0tvojvkLURybGGaSNmQj19GTAbMnt+8zVl1feiGmMOkl0tgPAWN+t1EckfCARTC D6gdEVDS0Psc9GucbFsedyK6sF3fygZaclyokIeTxo/NJSaKb4S7VTwNpUdmgGVT4PrcyO O5ygOX679rin8GY0MBzkRqO2cNqK3ZbixvYksij2obDN7WbRKnkANv87ODqfdy0qVjgKn+ 85kOaz7I0+4ClG2xwFaQ87m3OgPqW2m/Rg0/XHtdEX0cZaPzf8jiFZ/t02qnpQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=vgoMA3LD; dkim=fail ("headers rsa verify failed") header.d=inventati.org header.s=stigmate header.b=rnW5qCG5; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730192259; 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-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=N2wYBbsXEkbzFcz8PvMwI8rHcvoGR9j9V7njyAvgbvg=; b=uty73xY4U/UGMvrCDzXBh0q3Blu1wHa3Cpr7iS35WUqF1UmeFyEKQlbwRmq0yo39cwfL8+ v9rFsLOIcfTOQgjSaOqW62R1U8mPtUj/uaz1gsPLH6la7O8kr/K7g8qkrTLGK8XM5UfnEW q6GQubm72zNvp4QkT++crfgSdPCj6ydlF6UbOBiFO8vjlmq9/wDle816vjCiRc2+cF92Dq PnhGu2eI/lvU8cqGE070AdqWba/5nlVjPTPHwdApN/1LoJIezfVkPu9K/m5Kcp6ZGaWN0V BWfXHUmEvf/etC9oUqP0A3Ryvg8SQm6iwMON5Encrbex3nlOIqB0J6cltgQk7A== 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 209427F06F for ; Tue, 29 Oct 2024 09:57:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5i2E-0006GM-L6; Tue, 29 Oct 2024 04:57: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 1t5i2B-0006G8-Ps for guix-patches@gnu.org; Tue, 29 Oct 2024 04:57:05 -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 1t5i2B-0000yh-F9 for guix-patches@gnu.org; Tue, 29 Oct 2024 04:57:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=N2wYBbsXEkbzFcz8PvMwI8rHcvoGR9j9V7njyAvgbvg=; b=vgoMA3LDu8SqjSR/kbFysZGaxbFoNoltdd1zFowdGkjd/jbC1yZDCHNnkC4ZDf7oCYkb/zWTAcjqSrAmNnjhi3JhmL5brbLzzk48t0WSqFYOGAqJY0KPc7N1UUoBrSZVvEW/hYymqhkcTbI+EAM56gkGe0WRoCium8pw64IfBD4l+I1wNTwAZm4km2Jt2wWOE1ZzwJ49Bm3FVj3No66f5MRq7OqeOwBtTFGolWdVAe8ue1FpwXW0+jnlD0c/ev4+NjuXpW19Mzb1L8ABSdqhKKeE0d9H8GHn2pQXWhLWRj/nV0J2Qs0BbTFkI+pqRzRkcDmCbUlNE9NFAaNjIvNI/Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5i2A-0003qF-Bo for guix-patches@gnu.org; Tue, 29 Oct 2024 04:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73717] [PATCH v1] gnu: Add yosys-clang. References: <8b52ca0f1d61c5ff14501fb72658b0bee716af13.1728459902.git.csantosb@inventati.org> In-Reply-To: <8b52ca0f1d61c5ff14501fb72658b0bee716af13.1728459902.git.csantosb@inventati.org> Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: , guix-patches@gnu.org Resent-Date: Tue, 29 Oct 2024 08:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73717 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73717@debbugs.gnu.org Cc: Cayetano Santos , ( , Christopher Baines , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice , jgart X-Debbugs-Original-Xcc: ( , Christopher Baines , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice , jgart Received: via spool by 73717-submit@debbugs.gnu.org id=B73717.173019217714703 (code B ref 73717); Tue, 29 Oct 2024 08:57:02 +0000 Received: (at 73717) by debbugs.gnu.org; 29 Oct 2024 08:56:17 +0000 Received: from localhost ([127.0.0.1]:55898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5i1R-0003p4-G1 for submit@debbugs.gnu.org; Tue, 29 Oct 2024 04:56:17 -0400 Received: from latitanza.investici.org ([82.94.249.234]:35553) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5i1O-0003ov-PU for 73717@debbugs.gnu.org; Tue, 29 Oct 2024 04:56:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1730192173; bh=N2wYBbsXEkbzFcz8PvMwI8rHcvoGR9j9V7njyAvgbvg=; h=From:To:Cc:Subject:Date:From; b=rnW5qCG5X1KVKWnQpLu4bIAyW0bxlH9aH0TOXeM8YNnLPXJOR40YAGu3md14VZm2l DZ4Vb/7Z4y2i+DAeqtZ6HqI+HluzYa1POo7hl6BOBGp1El4KZNZmIzE3iRXEZMXJFn qX1HSiuZZrJbmq2Qryzmr4YPh7S8Eh5g5V5oRQtw= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4Xd3yP3NWQzGp3t; Tue, 29 Oct 2024 08:56:13 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4Xd3yP2Bf0zGp3p; Tue, 29 Oct 2024 08:56:13 +0000 (UTC) Date: Tue, 29 Oct 2024 09:55:46 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Cayetano Santos X-ACL-Warn: , Cayetano Santos via Guix-patches From: Cayetano Santos 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.97 X-Spam-Score: -2.97 X-Migadu-Queue-Id: 209427F06F X-Migadu-Scanner: mx10.migadu.com X-TUID: gKDUrUYs2Ke2 * gnu/packages/fpga.scm (yosys-clang): New variable. Change-Id: Iedbd418adc152c325d106830d9d33b73f01e65da --- gnu/packages/fpga.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index 68f36d501f..5ede463dde 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -224,6 +224,26 @@ (define-public yosys (description "Yosys synthesizes Verilog-2005.") (license license:isc))) +(define-public yosys-clang + (package + (inherit yosys) + (name "yosys-clang") + (arguments + (substitute-keyword-arguments (package-arguments yosys) + ((#:make-flags _ #f) + #~(list "CC=clang" + "CXX=clang++" + (string-append "PREFIX=" #$output))) + ((#:phases phases) + #~(modify-phases #$phases + (replace 'configure + (lambda* (#:key make-flags #:allow-other-keys) + (apply invoke "make" "config-clang" make-flags))))))) + (inputs + (modify-inputs (package-inputs yosys) + (append clang))) + (synopsis "FPGA Verilog RTL synthesizer (Clang variant)"))) + (define-public icestorm (let ((commit "2bc541743ada3542c6da36a50e66303b9cbd2059") (revision "4")) base-commit: d44beb9b4ad836781928a0c5667e94c0d6df13f0 -- 2.46.0