From cf498f709ef489ab2d05775fba60a12b1e7a17c8 Mon Sep 17 00:00:00 2001 From: such-gitea Date: Tue, 6 Jan 2026 06:54:53 -0800 Subject: [PATCH] Update .gitea/workflows/build.yaml --- .gitea/workflows/build.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 0b365d1..9128783 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -117,11 +117,12 @@ jobs: # --- 1. CLEANUP --- - name: Nuke Old Boost Cache run: | + echo "Clearing cache..." rm -rf external/monero/contrib/depends/work/build/x86_64-w64-mingw32/boost rm -rf external/monero/contrib/depends/built/x86_64-w64-mingw32/boost rm -rf external/monero/contrib/depends/work/download/boost* - # --- 2. UPGRADE BOOST (The "Give It What It Wants" Fix) --- + # --- 2. UPGRADE BOOST (The "Erase & Mock" Fix) --- - name: Upgrade Boost Version to 1.80.0 run: | echo "Forcing depends to use Boost 1.80.0..." @@ -135,21 +136,20 @@ jobs: # 2. Add Context/Coroutine libraries sed -i 's/chrono,/chrono,context,coroutine,/g' $BOOST_MK - # 3. OVERRIDE PATCHES (Force variable to be empty at end of file) - echo "" >> $BOOST_MK - echo "$(package)_patches=" >> $BOOST_MK - echo "boost_patches=" >> $BOOST_MK - - # 4. FAKE FILE (Just in case logic fails, provide a blank patch) - # We force create the directory first so the 'echo' command doesn't fail + # 3. ERASE PATCH NAME (Target the filename directly) + # This leaves the variable empty: patches= + sed -i 's/fix_aroptions.patch//g' $BOOST_MK + + # 4. MOCK THE FILE (Safety Net) + # We insure the directory exists and create a 0-byte patch file. mkdir -p external/monero/contrib/depends/packages/boost - echo "" > external/monero/contrib/depends/packages/boost/fix_aroptions.patch + touch external/monero/contrib/depends/packages/boost/fix_aroptions.patch - # Debug: Show us what we did - echo "--- Modified Boost.mk ---" + # Debug: Verify changes + echo "--- Content of boost.mk ---" cat $BOOST_MK - echo "--- Created Fake Patch ---" - ls -la external/monero/contrib/depends/packages/boost/fix_aroptions.patch + echo "--- Patch file status ---" + ls -l external/monero/contrib/depends/packages/boost/fix_aroptions.patch # --- 3. BUILD DEPENDENCIES --- - name: Build Windows Dependencies