安装凿子 [英] Installing chisel

查看:63
本文介绍了安装凿子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 chisel 的新用户.我试图在我的机器上安装凿子.根据git,首先我克隆了chisel,然后进入hello目录输入<代码>制作.但我收到以下错误:

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

我使用的是 sbt-0.13.8 和 Scala 2.11.6

I'm using sbt-0.13.8 and scala 2.11.6

推荐答案

问题出自 Shell 变量,正确的解决方案是,在 Makefile 中添加以下行:

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

SHELL=/bin/bash

它会解决问题.

(他们已经更新了代码)

(They've updated the code)

这篇关于安装凿子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆