aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorArun Isaac2022-05-02 18:33:09 +0530
committerArun Isaac2022-05-02 18:33:09 +0530
commitc6bf46254d9075d7395a15b9c30e37536efa57d9 (patch)
treef6cb5cce5ea2427071636bad518b579beb2b498b /gn/packages
parentd0ac9f8517c7981480a522d0cbc05efda860e464 (diff)
downloadguix-bioinformatics-c6bf46254d9075d7395a15b9c30e37536efa57d9.tar.gz
gn: cva6: Install executable as ariane.
* gn/packages/riscv.scm (cva6)[arguments]: In the custom install phase, install executable as ariane instead of Variane_testharness.
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/riscv.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/gn/packages/riscv.scm b/gn/packages/riscv.scm
index bae8536..aaa2818 100644
--- a/gn/packages/riscv.scm
+++ b/gn/packages/riscv.scm
@@ -69,9 +69,11 @@
(string-append "-j" (number->string (parallel-job-count))))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
- (install-file "work-ver/Variane_testharness"
- (string-append (assoc-ref outputs "out")
- "/bin")))))))
+ (let ((bin (string-append (assoc-ref outputs "out")
+ "/bin")))
+ (mkdir-p bin)
+ (copy-file "work-ver/Variane_testharness"
+ (string-append bin "/ariane"))))))))
(inputs
(list spike verilator-4.110))
(home-page "https://docs.openhwgroup.org/projects/cva6-user-manual/")