From fa50adc8e4f7e61ba0de7ed57e63f4e907b3ffb9 Mon Sep 17 00:00:00 2001 From: such-gitea Date: Tue, 10 Feb 2026 20:08:36 -0500 Subject: [PATCH] Update .gitea/workflows/build.yaml --- .gitea/workflows/build.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 6bd45fe..b66419f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -104,7 +104,7 @@ jobs: path: release/*.tar.gz # ================================================================== - # JOB 2: LINUX CROSS (ARM64 / RISCV64) - FIXED URLs + # JOB 2: LINUX CROSS (ARM64 / RISCV64) - CORRECTED FILENAMES # ================================================================== linux-cross: runs-on: ubuntu-latest @@ -164,29 +164,29 @@ jobs: if [ -n "$FALLBACK" ]; then ln -s "$FALLBACK" librt.a; fi fi - # FIX: Use correct MASTER URLs so we don't download "404 Not Found" + # FIX: Use correct filenames (arm64 instead of aarch64) - name: Patch Boost Context (Aarch64) if: matrix.target == 'aarch64-linux-gnu' run: | echo "Downloading and compiling missing Boost Context ASM for aarch64..." mkdir -p boost_asm && cd boost_asm - # URL fixed to 'master' branch + # Use 'arm64' in filename, not 'aarch64' BASE="https://raw.githubusercontent.com/boostorg/context/master/src/asm" - curl -f -O $BASE/jump_aarch64_aapcs_elf_gas.S - curl -f -O $BASE/make_aarch64_aapcs_elf_gas.S - curl -f -O $BASE/ontop_aarch64_aapcs_elf_gas.S + curl -f -O $BASE/jump_arm64_aapcs_elf_gas.S + curl -f -O $BASE/make_arm64_aapcs_elf_gas.S + curl -f -O $BASE/ontop_arm64_aapcs_elf_gas.S - # Verify files are not empty/garbage before compiling - if grep -q "Not Found" jump_aarch64_aapcs_elf_gas.S; then echo "FATAL: Download failed"; exit 1; fi + # Verify download success + if [ ! -s jump_arm64_aapcs_elf_gas.S ]; then echo "FATAL: Empty file downloaded"; exit 1; fi # Compile - aarch64-linux-gnu-gcc -c jump_aarch64_aapcs_elf_gas.S -o jump.o - aarch64-linux-gnu-gcc -c make_aarch64_aapcs_elf_gas.S -o make.o - aarch64-linux-gnu-gcc -c ontop_aarch64_aapcs_elf_gas.S -o ontop.o + aarch64-linux-gnu-gcc -c jump_arm64_aapcs_elf_gas.S -o jump.o + aarch64-linux-gnu-gcc -c make_arm64_aapcs_elf_gas.S -o make.o + aarch64-linux-gnu-gcc -c ontop_arm64_aapcs_elf_gas.S -o ontop.o - # Append + # Append to static lib aarch64-linux-gnu-ar r /opt/wownero-sdk/lib/libboost_context.a jump.o make.o ontop.o aarch64-linux-gnu-ar s /opt/wownero-sdk/lib/libboost_context.a echo "Patch applied successfully."