From f7c53f18cfe22a61333decc315d7d78e9a203bce Mon Sep 17 00:00:00 2001 From: maksyuki Date: Wed, 17 Dec 2025 22:28:55 +0800 Subject: [PATCH] chore: update shell system path --- setup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 0ad9dcb0..039bf305 100644 --- a/setup.py +++ b/setup.py @@ -232,10 +232,7 @@ def install_software_toolchain(): print("Download RISCV GNU Toolchain ...") run_command("wget https://github.com/riscv-collab/riscv-gnu-toolchain/releases/download/2025.05.01/riscv32-elf-ubuntu-22.04-gcc-nightly-2025.05.01-nightly.tar.xz") run_command("tar -xvf riscv32-elf-ubuntu-22.04-gcc-nightly-2025.05.01-nightly.tar.xz") - run_command(f"echo 'export PATH=${temp_dir}/bin:$PATH' >> ~/.bashrc") - run_command("source ~/.bashrc") - # echo 'export LD_LIBRARY_PATH=/opt/riscv32/lib:$LD_LIBRARY_PATH' >> ~/.bashrc - + run_command(f"export PATH=${temp_dir}/bin:$PATH") print("✓ software toolchain installation completed") return True