1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: open-logic: Implement parallel tests.

* gnu/packages/hdl.scm (open-logic)[arguments]: Set parallel flag in
’check #:phase.

Change-Id: Ie0287c20ee191eae69a9a33b80dcf8138d30ba3c
This commit is contained in:
Cayetano Santos
2026-03-11 15:15:21 +01:00
parent b908441cc1
commit 80d798b252

View File

@@ -202,6 +202,7 @@ chip written in platform-independent VHDL.")
(setenv "HOME" "/tmp") (setenv "HOME" "/tmp")
(with-directory-excursion "3rdParty/en_cl_fix/sim" (with-directory-excursion "3rdParty/en_cl_fix/sim"
(invoke "python3" "run.py" "--simulator" "nvc" (invoke "python3" "run.py" "--simulator" "nvc"
"-p" (number->string (parallel-job-count))
"--simulator-path" "--simulator-path"
(dirname (search-input-file inputs "bin/nvc")))) (dirname (search-input-file inputs "bin/nvc"))))
(with-directory-excursion "sim" (with-directory-excursion "sim"
@@ -210,7 +211,8 @@ chip written in platform-independent VHDL.")
;; https://github.com/VUnit/vunit/issues/777 ;; https://github.com/VUnit/vunit/issues/777
(("compile_builtins=False, ") (("compile_builtins=False, ")
"")) ""))
(invoke "python3" "run.py" "--nvc" "-v")))))) (invoke "python3" "run.py" "--nvc" "-v"
"-p" (number->string (parallel-job-count))))))))
#:install-plan #:install-plan
#~'(;; Library work. #~'(;; Library work.
("src" "share/open-logic/work/src" ("src" "share/open-logic/work/src"