forked from such-gitea/wownero-lws
windows fix maybe?
This commit is contained in:
@@ -114,15 +114,15 @@ jobs:
|
||||
git config --global url."https://github.com/".insteadOf "git@github.com:"
|
||||
git submodule update --init --recursive
|
||||
|
||||
# --- 1. CLEANUP: Nuke Cache (Essential to fix previous download errors) ---
|
||||
- name: Nuke Old Boost Cache
|
||||
# --- 1. CLEANUP: Nuke Cache & Bad Downloads ---
|
||||
- name: Nuke Old Boost Cache & Downloads
|
||||
run: |
|
||||
echo "Deleting cached Boost build and downloads..."
|
||||
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 "Simple & Robust" Way) ---
|
||||
# --- 2. UPGRADE BOOST (Robust Patching) ---
|
||||
- name: Upgrade Boost Version to 1.80.0
|
||||
run: |
|
||||
echo "Forcing depends to use Boost 1.80.0..."
|
||||
@@ -135,13 +135,13 @@ jobs:
|
||||
# 2. Update Hash (For boost_1_80_0.tar.gz)
|
||||
sed -i 's/sha256_hash=.*$/sha256_hash=4b2136f98bdd1f5857f1c3dea9ac2018effe65286cf251534b6ae20cc45e1847/g' $BOOST_MK
|
||||
|
||||
# 3. DELETE PATCHES (The Fix: Just delete the line entirely)
|
||||
sed -i '/_patches=/d' $BOOST_MK
|
||||
# 3. DELETE PATCHES (The Fix: Delete ANY line with "_patches" in it)
|
||||
sed -i '/_patches/d' $BOOST_MK
|
||||
|
||||
# 4. Add Context/Coroutine libraries
|
||||
sed -i 's/chrono,/chrono,context,coroutine,/g' $BOOST_MK
|
||||
|
||||
# Debug: Verify the file content
|
||||
# Debug: Verify the file content to be sure
|
||||
echo "--- MODIFIED BOOST.MK ---"
|
||||
cat $BOOST_MK
|
||||
|
||||
|
||||
Reference in New Issue
Block a user