Installing chisel

放肆的年华 提交于 2019-12-12 22:16:45

问题


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


回答1:


If you try without the command set -e -o pipefail it should works :

sbt -Dsbt.log.noformat=true -DchiselVersion="latest.release" "run Hello --genHarness --compile --test --backend c --vcd " | tee Hello.out



回答2:


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)



来源:https://stackoverflow.com/questions/29402583/installing-chisel

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!