-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from weilinfox/main
Update RUYI doc and fix sidebar
- Loading branch information
Showing
15 changed files
with
147 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# RUYI 编译环境 | ||
|
||
RUYI 包管理器使用 ``venv`` 命令应用配置到指定的工具链以建立编译环境。这和 python 的虚拟环境类似。 | ||
|
||
RUYI 包管理预置的配置可以使用 ``list profiles`` 命令查看 | ||
|
||
```bash | ||
$ ruyi list profiles | ||
generic | ||
sipeed-lpi4a (needs flavor(s): {'xthead'}) | ||
milkv-duo | ||
``` | ||
|
||
## 工具链与预置配置组合 | ||
|
||
RUYI 包管理在建立编译环境之前会检查该环境是否合法,但是并不保证建立成功的环境一定可用于构建。 | ||
|
||
这里列出了经过测试可用的配置组合: | ||
|
||
| 工具链 | sysroot | 预置配置 | | ||
|:-:|:-:|:-:| | ||
| gnu-upstream | 自带 | generic | | ||
| gnu-plct | 自带 | generic | | ||
| gnu-plct | 自带 | milkv-duo | | ||
| gnu-plct-xthead | 自带 | sipeed-lpi4a | | ||
| llvm-upstream | gnu-upstream | generic | | ||
| llvm-upstream | gnu-plct | generic | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# RUYI 包管理器 | ||
|
||
RUYI 包管理是 RuyiSDK 开发中的包管理器。用于管理工具链、模拟器、源码等各种二进制软件包和源码包。 | ||
|
||
## 支持的发行版平台 | ||
|
||
当前 RUYI 包管理器 v0.2 版本在以下平台进行了测试 | ||
|
||
+ x86-64 Fedora 38 | ||
+ x86-64 Ubuntu 22.04 LTS | ||
+ x86-64 openEuler 23.09 | ||
+ riscv64 RevyOS 20231026 | ||
+ riscv64 openEuler 23.09 | ||
|
||
## 命令 | ||
|
||
RUYI 目前支持的命令如下: | ||
|
||
``` bash | ||
ruyi list | ||
# 从本地软件包缓存中列出可用软件包 | ||
ruyi list profiles | ||
# 列出已安装的配置 | ||
ruyi update | ||
# 从配置的软件源更新本地软件包缓存 | ||
ruyi install | ||
# 下载并安装指定的软件包 | ||
ruyi venv | ||
# 由指定的工具链和配置建立 RUYI 虚拟环境 | ||
ruyi extract | ||
# 下载并解包指定的源码包 | ||
ruyi admin | ||
# ruyi 镜像搭建工具(完善中) | ||
ruyi self uninstall | ||
# 卸载 RUYI 包管理器 | ||
``` | ||
|
||
## 外部链接 | ||
|
||
+ [Fedora38 Workstation](https://download.fedoraproject.org/pub/fedora/linux/releases/38/Workstation/x86_64/iso/) | ||
+ [RevyOS 20231026](https://mirror.iscas.ac.cn/revyos/extra/images/lpi4a/20231026/) | ||
+ [Ubuntu 22.04 LTS](https://www.releases.ubuntu.com/jammy/) | ||
+ [openEuler 23.09 Images](https://repo.openeuler.openatom.cn/openEuler-23.09/ISO/) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.