Skip to content

Commit

Permalink
docs: 更新编译步骤描述
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow3aaa committed Dec 3, 2024
1 parent c9bc1ce commit 30dc1e2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,17 @@ core_temp_thresh = 95000
## **编译**

```bash
# Ubuntu(NDK is required)
# Ubuntu (NDK is required)
apt install gcc-multilib git-lfs clang python3
# ruff(python lints & format)
# ruff (Python lints & format)
pip install ruff
# Rust
# Rust (Nightly version is required)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup default nightly
rustup target add aarch64-linux-android armv7-linux-androideabi x86_64-linux-android i686-linux-android
rustup component add rust-src
# Cargo-ndk
cargo install cargo-ndk
Expand All @@ -161,6 +163,8 @@ cd fas-rs
# Compile
python3 ./make.py build --release
# Use the `--nightly` option when building(Some nightly flags will be added to produce smaller artifacts)
python3 ./make.py build --release --nightly
```

## **捐赠**
Expand Down
8 changes: 6 additions & 2 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,14 @@ core_temp_thresh = 95000
# Ubuntu (NDK is required)
apt install gcc-multilib git-lfs clang python3
# ruff (python lints & format)
# ruff (Python lints & format)
pip install ruff
# Rust
# Rust (Nightly version is required)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup default nightly
rustup target add aarch64-linux-android armv7-linux-androideabi x86_64-linux-android i686-linux-android
rustup component add rust-src
# Cargo-ndk
cargo install cargo-ndk
Expand All @@ -163,4 +165,6 @@ cd fas-rs
# Compile
python3 ./make.py build --release
# Use the `--nightly` option when building(Some nightly flags will be added to produce smaller artifacts)
python3 ./make.py build --release --nightly
```

0 comments on commit 30dc1e2

Please sign in to comment.