forked from such-gitea/wownero-lws
Update .gitea/workflows/build.yaml
This commit is contained in:
@@ -121,7 +121,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 (Triple-Tap Fix with MKDIR) ---
|
# --- 2. UPGRADE BOOST (The "Give It What It Wants" 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..."
|
||||||
@@ -132,22 +132,24 @@ jobs:
|
|||||||
sed -i 's/1.69.0/1.80.0/g' $BOOST_MK
|
sed -i 's/1.69.0/1.80.0/g' $BOOST_MK
|
||||||
sed -i 's/sha256_hash=.*$/sha256_hash=4b2136f98bdd1f5857f1c3dea9ac2018effe65286cf251534b6ae20cc45e1847/g' $BOOST_MK
|
sed -i 's/sha256_hash=.*$/sha256_hash=4b2136f98bdd1f5857f1c3dea9ac2018effe65286cf251534b6ae20cc45e1847/g' $BOOST_MK
|
||||||
|
|
||||||
# 2. Add Libraries
|
# 2. Add Context/Coroutine libraries
|
||||||
sed -i 's/chrono,/chrono,context,coroutine,/g' $BOOST_MK
|
sed -i 's/chrono,/chrono,context,coroutine,/g' $BOOST_MK
|
||||||
|
|
||||||
# 3. KILL PATCHES (Triple Defense)
|
# 3. OVERRIDE PATCHES (Force variable to be empty at end of file)
|
||||||
# A. Try to delete the line
|
echo "" >> $BOOST_MK
|
||||||
sed -i '/patches/d' $BOOST_MK
|
echo "$(package)_patches=" >> $BOOST_MK
|
||||||
|
echo "boost_patches=" >> $BOOST_MK
|
||||||
# B. Append an empty variable definition
|
|
||||||
echo "package_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
|
||||||
# C. TRICK: Create the folder FIRST, then the fake file
|
|
||||||
mkdir -p external/monero/contrib/depends/packages/boost
|
mkdir -p external/monero/contrib/depends/packages/boost
|
||||||
echo "" > external/monero/contrib/depends/packages/boost/fix_aroptions.patch
|
echo "" > external/monero/contrib/depends/packages/boost/fix_aroptions.patch
|
||||||
|
|
||||||
# Debug
|
# Debug: Show us what we did
|
||||||
|
echo "--- Modified Boost.mk ---"
|
||||||
cat $BOOST_MK
|
cat $BOOST_MK
|
||||||
|
echo "--- Created Fake Patch ---"
|
||||||
|
ls -la external/monero/contrib/depends/packages/boost/fix_aroptions.patch
|
||||||
|
|
||||||
# --- 3. BUILD DEPENDENCIES ---
|
# --- 3. BUILD DEPENDENCIES ---
|
||||||
- name: Build Windows Dependencies
|
- name: Build Windows Dependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user