forked from such-gitea/wownero-lws
frfr final windows
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 (Robust Patching) ---
|
# --- 2. UPGRADE BOOST (The "Simple & Robust" Way) ---
|
||||||
- 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..."
|
||||||
@@ -136,12 +136,13 @@ jobs:
|
|||||||
sed -i 's/sha256_hash=.*$/sha256_hash=4b2136f98bdd1f5857f1c3dea9ac2018effe65286cf251534b6ae20cc45e1847/g' $BOOST_MK
|
sed -i 's/sha256_hash=.*$/sha256_hash=4b2136f98bdd1f5857f1c3dea9ac2018effe65286cf251534b6ae20cc45e1847/g' $BOOST_MK
|
||||||
|
|
||||||
# 3. DELETE PATCHES (The Fix: Delete ANY line with "_patches" in it)
|
# 3. DELETE PATCHES (The Fix: Delete ANY line with "_patches" in it)
|
||||||
|
# This works better than trying to match the variable name
|
||||||
sed -i '/_patches/d' $BOOST_MK
|
sed -i '/_patches/d' $BOOST_MK
|
||||||
|
|
||||||
# 4. Add Context/Coroutine libraries
|
# 4. Add Context/Coroutine libraries
|
||||||
sed -i 's/chrono,/chrono,context,coroutine,/g' $BOOST_MK
|
sed -i 's/chrono,/chrono,context,coroutine,/g' $BOOST_MK
|
||||||
|
|
||||||
# Debug: Verify the file content to be sure
|
# Debug: Verify the file content
|
||||||
echo "--- MODIFIED BOOST.MK ---"
|
echo "--- MODIFIED BOOST.MK ---"
|
||||||
cat $BOOST_MK
|
cat $BOOST_MK
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user