Search code examples
scalachiselriscv

Installing chisel


I'm a new user of chisel. I tried to install chisel on my machine. According to the git, first I cloned chisel and then I went to hello directory and enter make . But I got the below error:

set -e -o pipefail; sbt -Dsbt.log.noformat=true -DchiselVersion="latest.release" "run Hello --genHarness --compile --test --backend c --vcd " | tee Hello.out
/bin/sh: 1: set: Illegal option -o pipefail
make: *** [Hello.out] Error 2

I'm using sbt-0.13.8 and scala 2.11.6


Solution

  • The problem is from Shell variable the correct solution is that, adding following line to Makefile:

    SHELL=/bin/bash
    

    It would solve the problem.

    (They've updated the code)