Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Commit 794da9c

Browse files
Use Red-Rose-MinGW instead of llvm-mingw (For testing)
1 parent fa88f8b commit 794da9c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build-all.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ setupBuildEnv()
1717
echo ""
1818
fi
1919

20-
if [ ! -d "$INIT_DIR/cache/llvm-mingw" ]; then
21-
echo "Downloading llvm-mingw..."
20+
if [ ! -d "$INIT_DIR/cache/mingw" ]; then
21+
echo "Downloading mingw..."
2222

2323
curl --output "cache/$MINGW_FILENAME" -#L "$MINGW_URL"
2424

25-
echo "Unpacking llvm-mingw..."
25+
echo "Unpacking mingw..."
2626

2727
tar -xf "cache/$MINGW_FILENAME" -C "cache"
2828

29-
mv "cache/$(tar -tf "cache/$MINGW_FILENAME" | cut -d "/" -f 1 | head -n 1)" "cache/llvm-mingw"
29+
mv "cache/$(tar -tf "cache/$MINGW_FILENAME" | cut -d "/" -f 1 | head -n 1)/$(tar -tf "cache/$MINGW_FILENAME" | cut -d "/" -f 2 | head -n 1)" "cache/mingw"
3030

3131
rm -f "cache/$MINGW_FILENAME"
3232

3333
echo ""
3434
fi
3535

36-
export PATH=$INIT_PATH:$INIT_DIR/cache/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin:$INIT_DIR/cache/llvm-mingw/bin
36+
export PATH=$INIT_PATH:$INIT_DIR/cache/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin:$INIT_DIR/cache/mingw/bin
3737
export ANDROID_SDK="$1"
3838
export ARCH="$2"
3939

@@ -481,7 +481,7 @@ fi
481481

482482
export NDK_URL="https://dl.google.com/android/repository/android-ndk-r26b-linux.zip"
483483
export NDK_FILENAME="${NDK_URL##*/}"
484-
export MINGW_URL="https://github.com/mstorsjo/llvm-mingw/releases/download/20240619/llvm-mingw-20240619-ucrt-ubuntu-20.04-x86_64.tar.xz"
484+
export MINGW_URL="http://techer.pascal.free.fr/Red-Rose_MinGW-w64-Toolchain/Red-Rose-MinGW-w64-Posix-Urct-v12.0.0.r458.g03d8a40f5-Gcc-11.5.0.tar.xz"
485485
export MINGW_FILENAME="${MINGW_URL##*/}"
486486

487487
export PACKAGES="$(cat packages/index)"

0 commit comments

Comments
 (0)