From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YJFLMZABQmItBgAAgWs5BA (envelope-from ) for ; Mon, 28 Mar 2022 20:42:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2ELVLZABQmJligAAauVa8A (envelope-from ) for ; Mon, 28 Mar 2022 20:42:24 +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 68C451AA21 for ; Mon, 28 Mar 2022 20:42:23 +0200 (CEST) Received: from localhost ([::1]:53472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYuJp-0000Sd-GE for larch@yhetil.org; Mon, 28 Mar 2022 14:42:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYuJW-0000ST-Tw for guix-patches@gnu.org; Mon, 28 Mar 2022 14:42:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nYuJW-0006K5-Lo for guix-patches@gnu.org; Mon, 28 Mar 2022 14:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nYuJW-0001SS-EY for guix-patches@gnu.org; Mon, 28 Mar 2022 14:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54615] [PATCH 0/2] Add riscv-pk and improve spike Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Mar 2022 18:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54615 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54615@debbugs.gnu.org Cc: Arun Isaac , Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16484928955566 (code B ref -1); Mon, 28 Mar 2022 18:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Mar 2022 18:41:35 +0000 Received: from localhost ([127.0.0.1]:59189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYuJ5-0001Ri-KV for submit@debbugs.gnu.org; Mon, 28 Mar 2022 14:41:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:51224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYuJ3-0001Rb-Om for submit@debbugs.gnu.org; Mon, 28 Mar 2022 14:41:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYuJ0-0000Kg-SE for guix-patches@gnu.org; Mon, 28 Mar 2022 14:41:33 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:55544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYuIx-0006Gj-W1 for guix-patches@gnu.org; Mon, 28 Mar 2022 14:41:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=aOx7muWGDbO9xJpd6Bwe+wATU67SVT/82bJCyQ4TqkI=; b=hYTnZhi5ZvXm6E/7Kdzvfw899a RY6DBS3RttYI0kMT2Y9TRZbkSJ+giqlFyf6cUukpgJ/NfoT7tSjlaCTLJ1RCW58LWRayzxLFUiYZ5 g7WJsl1jeiITqjyIKS2lFYtGpeUhvfHS91Cs94+OWk7EhnDvtdliFdis51H1ZM4xuZ3hnVDtLqQzP cHj4/0NavLwXz5DhJ66PRy+7/oNy1U5zhA3l5dtyckGqz3RpfiQPnJpCkvYyilPZrfHUZQAfjEVEh TcGlChhM9YbvvtcCikMjL8s5eyRx2MxHiarGK7s2EfEAXi0t/uXbQ732j7/tfoEcrehu0Nrgek35/ SnlUgTbg==; Received: from [192.168.2.1] (port=6194 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nYuIp-000OKV-KF; Tue, 29 Mar 2022 00:11:19 +0530 From: Arun Isaac Date: Tue, 29 Mar 2022 00:11:17 +0530 Message-Id: <20220328184117.25158-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648492944; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=aOx7muWGDbO9xJpd6Bwe+wATU67SVT/82bJCyQ4TqkI=; b=SuSr/aRFOvvEBCjBprADRdYg/Z+wedRC3aI32kbyii+AWoZO33ruTKzg6htrrKkXFTBki6 IoPxqBgRdUFiP6Wv9BxUJAwJORgP2ApW1APFwQ1kWWsowgvzxilEI12S4gT2sL5+D+Dp8R IMPCPp/TZkrBIcoBUAwg8RnOOc018X+NqGyRLsVNnvF7rxQH9b+Kk50K4k2jgpWvJ3CnYi leffFYPKudzSgYg8JDVAuGZQ4diZbBPSEY7wBuTAE1QkJBceqH5yXEy4TYigX0s9gjuTeN G/BSPtnFU48SEoHtAXHGh00KHs8UCvOeVCGfX1z5cETcNCwVyfa6gZuBJhCDBA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648492944; a=rsa-sha256; cv=none; b=N/0zG0+8uE/NQ8nUnj7l+lOlHnMuJ6HESA2lJUuRjpqzjbSgm2mllQpyWoFTJ6sZRB5JwS Cs00gl331VQpW+EM8c3/7b5Z5yjGMv31wuHLQ6dy4r5gmW1liR01gpGINIIScEGpW3Akdk Y273vmKIDQs6Yi2efDRHXzJQLRfcsON1zAyW+vTnUpcqabY8x66fh+WY+LfMMrAAA7h+Vp aLnDs9yqPUn/PJX8w+/51BXC4CUEN8wGDSj7I9/R1NGe8VJ/vxjJ25ExKQg4mlUcTACiNR RI4bdBA+JMhIigJ0qnR4yjUoPyW4VWZCcDR0fXb42vt0mdOEXeg7+svokljtjA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=hYTnZhi5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); 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" X-Migadu-Spam-Score: 5.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=hYTnZhi5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); 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" X-Migadu-Queue-Id: 68C451AA21 X-Spam-Score: 5.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8oHN94BtOfd6 Patch 1 adds riscv-pk---a companion package for spike and something that is meant to be used with it. riscv-pk is not meant to build on x86_64. So, a regular `guix build riscv-pk' on a x86_64 machine will fail. Only `guix build --target=riscv64-linux-gnu riscv-pk' will succeed. Patch 2 improves our spike package by substituting the absolute path to dtc instead of wrapping the spike executable. Arun Isaac (2): gnu: spike: Substitute path to dtc instead of wrapping executables. gnu: Add riscv-pk. gnu/packages/virtualization.scm | 64 ++++++++++++++++++++++++++++----- 1 file changed, 55 insertions(+), 9 deletions(-) -- 2.34.0