forked from such-gitea/wownero-lws
Update .gitea/workflows/build.yaml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user