chisel bootcamp是一个非常帮的学习chisel的教程,而且可以直接线上编译,方便的一批,但是因为直接线上使用jupyter的话会不停的重新加载,非常麻烦,所以,本地安装就很美滋滋,官方的教程有点问题,做一些更新
linux:
我的环境是Ubuntu16.04,应该关系不大。
首先按照官方教程安装jupyter
Jupyter
First install Jupyter.
Dependencies: openssh-client, openjdk-8-jre, openjdk-8-jdk (-headless OK for both), ca-certificates-java
First, use pip3 to install jupyter (or pip for python 2): http://jupyter.org/install.html
pip3 install --upgrade pip
pip3 install jupyter --ignore-installed
需要先装java8 和pip3之类的,这里有啥问题自行百度即可
然后需要安装almond,大概是让jupyter可以使用scala,
这里要按照almond官网教程安装
$ SCALA_VERSION=2.12.8 ALMOND_VERSION=0.6.0
$ curl -Lo coursier https://git.io/coursier-cli
$ chmod +x coursier
$ ./coursier bootstrap \
-r jitpack \
-i user -I user:sh.almond:scala-kernel-api_$SCALA_VERSION:$ALMOND_VERSION \
sh.almond:scala-kernel_$SCALA_VERSION:$ALMOND_VERSION \
-o almond
$ ./almond --install
本文介绍如何在本地环境中设置ChiselBootcamp教程,包括安装Jupyter和Almond的过程,使用户能够更高效地学习Chisel并进行线上编译。
1136

被折叠的 条评论
为什么被折叠?



