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/built/x86_64-w64-mingw32/boost
|
||||||
rm -rf external/monero/contrib/depends/work/download/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
|
- name: Upgrade Boost Version to 1.80.0
|
||||||
run: |
|
run: |
|
||||||
echo "Forcing depends to use Boost 1.80.0..."
|
echo "Forcing depends to use Boost 1.80.0..."
|
||||||
@@ -137,18 +137,18 @@ jobs:
|
|||||||
sed -i 's/chrono,/chrono,context,coroutine,/g' $BOOST_MK
|
sed -i 's/chrono,/chrono,context,coroutine,/g' $BOOST_MK
|
||||||
|
|
||||||
# 3. ERASE PATCH NAME (Target the filename directly)
|
# 3. ERASE PATCH NAME (Target the filename directly)
|
||||||
# This leaves the variable empty: patches=
|
|
||||||
sed -i 's/fix_aroptions.patch//g' $BOOST_MK
|
sed -i 's/fix_aroptions.patch//g' $BOOST_MK
|
||||||
|
|
||||||
# 4. MOCK THE FILE (Safety Net)
|
# 4. MOCK THE FILE (Safety Net)
|
||||||
# We insure the directory exists and create a 0-byte patch file.
|
# 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
|
mkdir -p external/monero/contrib/depends/packages/boost
|
||||||
touch external/monero/contrib/depends/packages/boost/fix_aroptions.patch
|
touch external/monero/contrib/depends/packages/boost/fix_aroptions.patch
|
||||||
|
|
||||||
# Debug: Verify changes
|
# Debug: Verify it is a file now
|
||||||
echo "--- Content of boost.mk ---"
|
echo "--- Patch file status (Should be -rw-r--r--) ---"
|
||||||
cat $BOOST_MK
|
|
||||||
echo "--- Patch file status ---"
|
|
||||||
ls -l external/monero/contrib/depends/packages/boost/fix_aroptions.patch
|
ls -l external/monero/contrib/depends/packages/boost/fix_aroptions.patch
|
||||||
|
|
||||||
# --- 3. BUILD DEPENDENCIES ---
|
# --- 3. BUILD DEPENDENCIES ---
|
||||||
|
|||||||
Reference in New Issue
Block a user