From c6bf46254d9075d7395a15b9c30e37536efa57d9 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 2 May 2022 18:33:09 +0530 Subject: 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. --- gn/packages/riscv.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gn/packages/riscv.scm') 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/") -- cgit v1.2.3