From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qLLJOj24CmeUVQEAe85BDQ:P1 (envelope-from ) for ; Sat, 12 Oct 2024 17:56:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id qLLJOj24CmeUVQEAe85BDQ (envelope-from ) for ; Sat, 12 Oct 2024 19:56:14 +0200 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=mv0UCR5t; dkim=fail ("headers rsa verify failed") header.d=inventati.org header.s=stigmate header.b=u4+Fv9sK; 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=1728755773; 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=/20BCXGh8k4NcWa0a7oofqSnnTamGOFN6R9qEW8BdKQ=; b=h1qz6hqbh/4RNB0rZnohLw5f/vj5yGRSENjzXEtC/ke46KR2OsfT+I6lT1x/vTNtMnUmbL 2zlS80sdJljZMbTARUpEPmOVTokqn3FBpT3irniUkLAzIh6jNGrQ9fbiqeoqkx6WyI1AyR 6cWDCpFDCt5SZpx9QGjM157zEBeQRVC8hy7mLXOnkb1cpf8sdpVlpyBFqEap6jpQIzv4a8 TP2DphBc5VYmW5SbOdQ1Sb1bBNLQ4WsQTjHyay9gooBqYN0GJ5271b1uxLDcnLfyeGE7E4 XlrKLKj5B7MdSMzrOYhlr4NVExSGZ3Z3Mwhk8ChoyiGElBt5dqKok4ZaamFW9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728755773; a=rsa-sha256; cv=none; b=AyX16OrfGcNjqpRF49JQ602qFDpEeNYm6YsidAr41sq83O6+KzaBMv2YAbf4IfWU+skMq3 k+7c28pNnBD1kx4InSb8b8o5pc6jwEq/8nBxntkvF+q0fG3T7FfTyK+PFlXpXIOL7mj0ya 2vqLVZ5IRW25UsdBKDZ8pJG7/fNBUeyUof9VErNpSA3BlyaPsbbh6jP4o8KeW+p4HB/3SN FZpFAkJ0p0LS583V7Czf/MEA6ktg1TkmHVFCERQb5hKkEuZupcW6VWSNUPZNnKMMGgOiru L7vOGc06fPqgzHlht8rxHmInXqqok3NS0AWJOZAOi2WDc8nvMCrFyDuWFRj8VQ== 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=mv0UCR5t; dkim=fail ("headers rsa verify failed") header.d=inventati.org header.s=stigmate header.b=u4+Fv9sK; 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 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 A4B9D5D402 for ; Sat, 12 Oct 2024 19:56:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1szgLO-0002PD-PC; Sat, 12 Oct 2024 13:56:00 -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 1szgLF-0002Oo-J7 for guix-patches@gnu.org; Sat, 12 Oct 2024 13:55:51 -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 1szgLE-00039L-E7 for guix-patches@gnu.org; Sat, 12 Oct 2024 13:55:49 -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=/20BCXGh8k4NcWa0a7oofqSnnTamGOFN6R9qEW8BdKQ=; b=mv0UCR5t4m01c2tZ7xSjKsDB2YjBwPMGszm99HG4WYm9EeuwU6BZ1s+4n62vnoKkTJAGHjZnX23f2dhygeSssaYaoIscBnCxF4PoXR0Ky87pJclJCI5DuF7lCQmRehfrIqUbtM+Aky+fibBIPa9E73xNZCam8rx6u6+aLywYe7SFCvgYB7xQgJFjA/W/OWAVUvVQkDXhobiGNs3pPo9LHXvzUCnE85rRPhFJUzkTS2Q5Pjjv7J4KyhntcH6Mrxg0cmc/mukjUVSwWpb2ecf0ul0aZ7n6lS3yhoeJo82FHtBZtO0ei+aj+ncPQjYvqxQ3xOPGiYg6zmFrKoijzzw07g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1szgLS-0008LJ-71 for guix-patches@gnu.org; Sat, 12 Oct 2024 13:56: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: Sat, 12 Oct 2024 17:56: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 Received: via spool by 73717-submit@debbugs.gnu.org id=B73717.172875571131477 (code B ref 73717); Sat, 12 Oct 2024 17:56:02 +0000 Received: (at 73717) by debbugs.gnu.org; 12 Oct 2024 17:55:11 +0000 Received: from localhost ([127.0.0.1]:55075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1szgKc-0008Ba-Cp for submit@debbugs.gnu.org; Sat, 12 Oct 2024 13:55:11 -0400 Received: from latitanza.investici.org ([82.94.249.234]:64997) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1szgG6-0007zM-0J for 73717@debbugs.gnu.org; Sat, 12 Oct 2024 13:50:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1728755406; bh=/20BCXGh8k4NcWa0a7oofqSnnTamGOFN6R9qEW8BdKQ=; h=From:To:Cc:Subject:Date:From; b=u4+Fv9sKFHYAu+Q1uPdS9uoNqeComi0nm3clL14siuoG669dd9Ju3nhwg29319SwJ gB8Yi1sDNbJjA5WqLY6tMoy1On7QxvAoPf4VDVPENVwRSVWBZlLqf7Gx9ZhTs1r6k+ Oz5fsseq5Tg7T2IQ/xLrv2P0RTZiEWFN+9vFc+PY= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4XQrcG4ChXzGp3L; Sat, 12 Oct 2024 17:50:06 +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 4XQrcG09pbzGp3C; Sat, 12 Oct 2024 17:50:05 +0000 (UTC) Date: Sat, 12 Oct 2024 19:50:00 +0200 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.81 X-Spam-Score: -2.81 X-Migadu-Queue-Id: A4B9D5D402 X-Migadu-Scanner: mx13.migadu.com X-TUID: wMvYJ6k712Vt * gnu/packages/fpga.scm (yosys-clang): New variable. Change-Id: Iedbd418adc152c325d106830d9d33b73f01e65da --- gnu/packages/fpga.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index 68f36d501f..042831c024 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -224,6 +224,25 @@ (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))))) + (define-public icestorm (let ((commit "2bc541743ada3542c6da36a50e66303b9cbd2059") (revision "4")) -- 2.46.0