mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:07:46 +00:00
Toolchain+Ports: Use ftpmirror.gnu.org
for faster downloads
This service automatically redirects to a mirror that's geographically closer, which should make downloading the tarballs faster. The GNU project recommends this instead of bombarding their top-level downloads site.
This commit is contained in:
parent
9bceff88c8
commit
41f7f821f6
10 changed files with 13 additions and 13 deletions
|
@ -12,7 +12,7 @@ GDB_VERSION="13.1"
|
|||
GDB_MD5SUM="4aaad768ff2585464173c091947287ec"
|
||||
GDB_NAME="gdb-$GDB_VERSION"
|
||||
GDB_PKG="${GDB_NAME}.tar.xz"
|
||||
GDB_BASE_URL="https://ftp.gnu.org/gnu/gdb"
|
||||
GDB_BASE_URL="https://ftpmirror.gnu.org/gnu/gdb"
|
||||
|
||||
ARCH=${1:-"x86_64"}
|
||||
TARGET="$ARCH-pc-serenity"
|
||||
|
@ -82,7 +82,7 @@ pushd "$DIR/Tarballs"
|
|||
md5="$($MD5SUM "$GDB_PKG" | cut -f1 -d' ')"
|
||||
fi
|
||||
if [ "$md5" != "$GDB_MD5SUM" ]; then
|
||||
curl -C - -O "$GDB_BASE_URL/$GDB_PKG"
|
||||
curl -C - -LO "$GDB_BASE_URL/$GDB_PKG"
|
||||
else
|
||||
echo "Skipped downloading $GDB_PKG"
|
||||
fi
|
||||
|
|
|
@ -78,7 +78,7 @@ BINUTILS_VERSION="2.40"
|
|||
BINUTILS_MD5SUM="007b59bd908a737c06e5a8d3d2c737eb"
|
||||
BINUTILS_NAME="binutils-$BINUTILS_VERSION"
|
||||
BINUTILS_PKG="${BINUTILS_NAME}.tar.xz"
|
||||
BINUTILS_BASE_URL="https://ftp.gnu.org/gnu/binutils"
|
||||
BINUTILS_BASE_URL="https://ftpmirror.gnu.org/gnu/binutils"
|
||||
|
||||
# Note: If you bump the gcc version, you also have to update the matching
|
||||
# GCC_VERSION variable in the project's root CMakeLists.txt
|
||||
|
@ -86,7 +86,7 @@ GCC_VERSION="13.1.0"
|
|||
GCC_MD5SUM="43e4de77f2218c83ca675257ea1af9ef"
|
||||
GCC_NAME="gcc-$GCC_VERSION"
|
||||
GCC_PKG="${GCC_NAME}.tar.xz"
|
||||
GCC_BASE_URL="https://ftp.gnu.org/gnu/gcc"
|
||||
GCC_BASE_URL="https://ftpmirror.gnu.org/gnu/gcc"
|
||||
|
||||
buildstep() {
|
||||
NAME=$1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue