Chipyard笔记

GITHUB下载加速:

这是我用过最爽最实用功能最全面的一个方式了。gitclone.com是一个提供下载缓存的代码下载网站,使用方法十分简单,只需要在仓库地址前面加上 gitclone.com,就可以使速度提升几倍。

例如要克隆github上仓库地址https://github.com/killer-p/ctool.git
只需将地址改为https://gitclone.com/github.com/killer-p/ctool.git,在命令行中执行git clone https://gitclone.com/github.com/killer-p/ctool.git,速度直接起飞!芜湖!
————————————————
原文链接:https://blog.csdn.net/weixin_44821644/article/details/107574297

安装conda:

下载安装包:

https://docs.conda.io/en/latest/miniconda.html#linux-installers

配置国内源:

添加镜像源(永久添加)

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/

设置搜索时显示通道地址
conda config --set show_channel_urls yes

SBT实操指南

https://www.bbsmax.com/A/obzb2GqbzE/

————————————————
原文链接:https://blog.csdn.net/weixin_44692055/article/details/128712671

解决conda-lock出错问题:

现象:

  File "pydantic/__init__.py", line 2, in init pydantic.__init__
  File "pydantic/dataclasses.py", line 48, in init pydantic.dataclasses

  File "pydantic/main.py", line 120, in init pydantic.main
TypeError: dataclass_transform() got an unexpected keyword argument 'field_specifiers'

解决方案:

 pip install --upgrade pydantic

————————————————
来源:https://blog.csdn.net/qq_44291652/article/details/128528969

Linux 报错:Could not get lock /var/lib/dpkg/lock 该如何解决呢?

解决方案:

sudo lsof /var/lib/dpkg/lock

根据输出的结果可以看到占用文件的进程,kill掉即可
————————————————
来源:https://blog.csdn.net/qq_43515862/article/details/109260357

Ubuntu Install Docker & Change Docker Repo :

https://www.runoob.com/docker/ubuntu-docker-install.html
https://www.cnblogs.com/lshan/p/16579242.html

SBT实操指南

https://www.bbsmax.com/A/obzb2GqbzE/

CHIPYARD实战

https://blog.csdn.net/luoganttcc/article/details/124593972

编译RISCV工具链

https://blog.csdn.net/zhulianseu/article/details/126602283

阿里Maven仓:

https://developer.aliyun.com/mvn/guide

SBT Config

[repositories]
  local
  sbt-plugin-repo: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
  huaweicloud-ivy: https://repo.huaweicloud.com/repository/ivy/, [organization]/[module]/(scala[scalaVersion]/)(sbt[sbtVersion]/)[revision]/[type]s/artifact.[ext],allowInsecureProtocol
  huaweicloud-maven: https://repo.huaweicloud.com/repository/maven/,allowInsecureProtocol
  sonatype-oss-releases
  sonatype-oss-snapshots

WSL不能启动解决方法:

Dism /Online /Cleanup-Image /CheckHealth
是检查映像以查看是否有检测到损坏
Dism /Online /Cleanup-Image /ScanHealth
是扫描你全部系统文件并和官方系统文件对比
check结果全部ok

Dism /Online /Cleanup-Image /RestoreHealth

wsl --shutdown

https://blog.csdn.net/wasp9999/article/details/124537468

posted @ 2023-04-04 21:42  zhandezheng  阅读(317)  评论(0)    收藏  举报