diff --git a/build_action-loong64-4k-pagesize.sh b/build_action-loong64-4k-pagesize.sh index beb7522..f561d14 100644 --- a/build_action-loong64-4k-pagesize.sh +++ b/build_action-loong64-4k-pagesize.sh @@ -34,11 +34,12 @@ sudo apt build-dep -y linux # 配置 loong64 交叉编译环境 sudo mkdir /usr/ -p -cd /usr -sudo aria2c -x 16 -s 16 https://github.com/sunhaiyong1978/CLFS-for-LoongArch/releases/download/8.0/loongarch64-clfs-8.0-cross-tools-gcc-full.tar.xz -sudo tar -xf loongarch64-clfs-8.0-cross-tools-gcc-full.tar.xz -export PATH=/usr/cross-tools/bin:$PATH -export LD_LIBRARY_PATH=/usr/cross-tools/lib:/usr/cross-tools/loongarch64-unknown-linux-gnu/lib64:$LD_LIBRARY_PATH +cd ~ +aria2c -x 16 -s 16 https://github.com/sunhaiyong1978/CLFS-for-LoongArch/releases/download/8.0/loongarch64-clfs-8.0-cross-tools-gcc-full.tar.xz +tar -xf loongarch64-clfs-8.0-cross-tools-gcc-full.tar.xz +rm loongarch64-clfs-8.0-cross-tools-gcc-full.tar.xz -v +export PATH=/home/runner/cross-tools/bin:$PATH +export LD_LIBRARY_PATH=/home/runner/cross-tools/lib:/home/runner/cross-tools/loongarch64-unknown-linux-gnu/lib64:$LD_LIBRARY_PATH # change dir to workplace cd "${GITHUB_WORKSPACE}" || exit