forked from such-gitea/wownero-lws
Update .gitea/workflows/build.yaml
This commit is contained in:
@@ -122,7 +122,7 @@ jobs:
|
||||
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 "Erase & Mock" Fix) ---
|
||||
# --- 2. UPGRADE BOOST (The "Clean Slate" Fix) ---
|
||||
- name: Upgrade Boost Version to 1.80.0
|
||||
run: |
|
||||
echo "Forcing depends to use Boost 1.80.0..."
|
||||
@@ -137,18 +137,18 @@ jobs:
|
||||
sed -i 's/chrono,/chrono,context,coroutine,/g' $BOOST_MK
|
||||
|
||||
# 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.
|
||||
# 4. MOCK THE FILE (Safety Net)
|
||||
# CRITICAL FIX: Remove the accidental directory first!
|
||||
rm -rf external/monero/contrib/depends/packages/boost/fix_aroptions.patch
|
||||
|
||||
# Now create the directory and the empty file correctly
|
||||
mkdir -p external/monero/contrib/depends/packages/boost
|
||||
touch external/monero/contrib/depends/packages/boost/fix_aroptions.patch
|
||||
|
||||
# Debug: Verify changes
|
||||
echo "--- Content of boost.mk ---"
|
||||
cat $BOOST_MK
|
||||
echo "--- Patch file status ---"
|
||||
# Debug: Verify it is a file now
|
||||
echo "--- Patch file status (Should be -rw-r--r--) ---"
|
||||
ls -l external/monero/contrib/depends/packages/boost/fix_aroptions.patch
|
||||
|
||||
# --- 3. BUILD DEPENDENCIES ---
|
||||
|
||||
Reference in New Issue
Block a user