From patchwork Mon Mar 28 18:41:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 684 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1289327BBEA; Mon, 28 Mar 2022 19:42:22 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3573827BBE9 for ; Mon, 28 Mar 2022 19:42:21 +0100 (BST) Received: from localhost ([::1]:53472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYuJo-0000Sd-4Z for patchwork@mira.cbaines.net; Mon, 28 Mar 2022 14:42:20 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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(-)