diff mbox

[bug#68222,0/3] RISC-V support to commencement until tcc-boot0

Message ID c8818d9a-e6f4-9fde-d0a6-7d9cb95ca16f@elenq.tech
State New
Headers show

Commit Message

Ekaitz Zarraga Jan. 11, 2024, 4:37 p.m. UTC
I've been fixing this with Efraim, this is the second version.

Comments

Efraim Flashner Jan. 12, 2024, 10:44 a.m. UTC | #1
On Thu, Jan 11, 2024 at 05:37:13PM +0100, Ekaitz Zarraga wrote:
> I've been fixing this with Efraim, this is the second version.

Everything looks good and I was able to build to hello-mesboot on x86_64
and i686.  Patches pushed!
diff mbox

Patch

From e9c91d0eba095e165877c8bd22b8d341187815ee Mon Sep 17 00:00:00 2001
Message-ID: <e9c91d0eba095e165877c8bd22b8d341187815ee.1704990921.git.ekaitz@elenq.tech>
In-Reply-To: <e4184bdf83dcba2df301ded15ff7d3d8a43eae36.1704990921.git.ekaitz@elenq.tech>
References: <e4184bdf83dcba2df301ded15ff7d3d8a43eae36.1704990921.git.ekaitz@elenq.tech>
From: Ekaitz Zarraga <ekaitz@elenq.tech>
Date: Sun, 24 Dec 2023 20:31:57 +0100
Subject: [PATCH v2 3/3] gnu: tcc-boot0: Update to 0.9.26-1149-g46a75d0c.

* gnu/packages/commencement.scm (tcc-boot0): Update to
  0.9.26-1149-g46a75d0c.
[supported-systems]: Add riscv64-linux.

Change-Id: I5de3e0a36366d57722e380edeedd389f3cf36f98
---
 gnu/packages/commencement.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index f526e04b06..a8f0961581 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -480,7 +480,7 @@  (define tcc-boot0
   (package
     (inherit tcc)
     (name "tcc-boot0")
-    (version "0.9.26-1136-g5bba73cc")
+    (version "0.9.26-1149-g46a75d0c")
     (source (origin
               (method url-fetch)
               (uri (list
@@ -490,9 +490,9 @@  (define tcc-boot0
                                    "tcc-" version ".tar.gz")))
               (sha256
                (base32
-                "1y2f04qwdqg7dgxiscbf0ibybx2gclniwbbcsxpayazzii2cvji3"))))
+                "068x3r55fnz7pdxb6q01s8s26pb4kpxm61q8mwsa4cf6389cxxpl"))))
     (build-system gnu-build-system)
-    (supported-systems '("i686-linux" "x86_64-linux"))
+    (supported-systems '("i686-linux" "x86_64-linux" "riscv64-linux"))
     (inputs '())
     (propagated-inputs '())
     (native-inputs
@@ -527,6 +527,7 @@  (define tcc-boot0
                 (setenv "prefix" out)
                 (setenv "GUILE_LOAD_PATH"
                         (string-append dir "/nyacc-1.00.2/module"))
+                (setenv "ONE_SOURCE" "true")
                 (invoke "sh" "configure"
                         "--cc=mescc"
                         (string-append "--prefix=" out)
-- 
2.41.0