guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/09: gnu: nextpnr-ice40: Enable tests.


From: guix-commits
Subject: 06/09: gnu: nextpnr-ice40: Enable tests.
Date: Sun, 22 Dec 2024 06:48:41 -0500 (EST)

dannym pushed a commit to branch master
in repository guix.

commit 06aec32989720da61f80a768cc7442c19f586d95
Author: Simon South <simon@simonsouth.net>
AuthorDate: Fri Jan 27 15:34:31 2023 -0500

    gnu: nextpnr-ice40: Enable tests.
    
    * gnu/packages/fpga.scm (nextpnr-ice40)[source]: Enable recursive checkout.
    [arguments]<#:configure-flags>: Add "-DBUILD_TESTS".
    <#:tests?>: Remove.
    
    Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
---
 gnu/packages/fpga.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index 450b774efd..a81c6aab26 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -293,11 +293,12 @@ Includes the actual FTDI connector.")
           (method git-fetch)
           (uri (git-reference
                  (url "https://github.com/YosysHQ/nextpnr";)
-                 (commit commit)))
+                 (commit commit)
+                 (recursive? #t)))
           (file-name (git-file-name name version))
           (sha256
            (base32
-            "1fmxsywgs45g88ra7ips5s2niiiwrkyxdcy742ws18dfk2y4vi9c"))))
+            "1llkrh8rk1a1xxzx54apbg49ny2jqzzl2rmbkb8188idipq568ws"))))
       (inputs
        (list boost
              eigen
@@ -309,10 +310,10 @@ Includes the actual FTDI connector.")
       (arguments
        (list #:configure-flags
              #~(list "-DARCH=ice40"
+                     "-DBUILD_TESTS=ON"
                      (string-append "-DICEBOX_ROOT="
                                     #$(this-package-input "icestorm")
-                                    "/share/icebox"))
-             #:tests? #f))
+                                    "/share/icebox"))))
       (synopsis "Place-and-Route tool for FPGAs")
       (description "Nextpnr aims to be a vendor neutral, timing driven,
 FOSS FPGA place and route tool.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]