guix-commits
[Top][All Lists]
Advanced

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

22/38: gnu: yosys: Return #t from all phases.


From: Tobias Geerinckx-Rice
Subject: 22/38: gnu: yosys: Return #t from all phases.
Date: Mon, 25 Jun 2018 22:24:24 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 99f6ef9ab4b508e5081b5bf6e031054a7e04cec1
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sun Jun 24 22:07:10 2018 +0200

    gnu: yosys: Return #t from all phases.
    
    * gnu/packages/fpga.scm (yosys)[arguments]: Substitute INVOKE for
    SYSTEM*.
---
 gnu/packages/fpga.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index 0a5568a..5c461f9 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -152,7 +152,7 @@ For synthesis, the compiler generates netlists in the 
desired format.")
              #t))
          (replace 'configure
            (lambda* (#:key inputs (make-flags '()) #:allow-other-keys)
-             (zero? (apply system* "make" "config-gcc" make-flags))))
+             (apply invoke "make" "config-gcc" make-flags)))
          (add-after 'configure 'prepare-abc
            (lambda* (#:key inputs #:allow-other-keys)
              (let* ((sourceabc (assoc-ref inputs "abc"))
@@ -163,7 +163,7 @@ For synthesis, the compiler generates netlists in the 
desired format.")
                      (lambda (port)
                        (format port ".PHONY: all\nall:\n\tcp -f abc 
abc-default\n")))
                    (copy-file source "abc/abc")
-                   (zero? (system* "chmod" "+w" "abc/abc")))))
+                   (invoke "chmod" "+w" "abc/abc"))))
           (add-before 'check 'fix-iverilog-references
              (lambda* (#:key inputs native-inputs #:allow-other-keys)
                (let* ((xinputs (or native-inputs inputs))



reply via email to

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