简体   繁体   English

安装凿子

[英]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 . 根据git的说法,首先我克隆了凿子,然后进入hello目录并输入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 我正在使用sbt-0.13.8和scala 2.11.6

如果您尝试不使用命令set -e -o pipefail,它应该可以工作:

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

The problem is from Shell variable the correct solution is that, adding following line to Makefile: 问题是来自Shell变量的正确解决方案是,向Makefile添加以下行:

SHELL=/bin/bash

It would solve the problem. 它将解决问题。

(They've updated the code) (他们已经更新了代码)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM