mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
Toolchain: Use xz-compressed GCC and Binutils archives
This reduces the downloaded archives' size from 143+46 MB to 81+25 MB.
This commit is contained in:
parent
8df5bd53da
commit
4809f60e2d
Notes:
sideshowbarker
2024-07-17 05:18:58 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/4809f60e2d Pull-request: https://github.com/SerenityOS/serenity/pull/18766 Reviewed-by: https://github.com/ADKaster
1 changed files with 6 additions and 6 deletions
|
@ -75,17 +75,17 @@ echo SYSROOT is "$SYSROOT"
|
|||
mkdir -p "$DIR/Tarballs"
|
||||
|
||||
BINUTILS_VERSION="2.40"
|
||||
BINUTILS_MD5SUM="b200db2cdd2f49019ced4016e1f9bfe7"
|
||||
BINUTILS_MD5SUM="007b59bd908a737c06e5a8d3d2c737eb"
|
||||
BINUTILS_NAME="binutils-$BINUTILS_VERSION"
|
||||
BINUTILS_PKG="${BINUTILS_NAME}.tar.gz"
|
||||
BINUTILS_PKG="${BINUTILS_NAME}.tar.xz"
|
||||
BINUTILS_BASE_URL="https://ftp.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
|
||||
GCC_VERSION="12.2.0"
|
||||
GCC_MD5SUM="d7644b494246450468464ffc2c2b19c3"
|
||||
GCC_MD5SUM="73bafd0af874439dcdb9fc063b6fb069"
|
||||
GCC_NAME="gcc-$GCC_VERSION"
|
||||
GCC_PKG="${GCC_NAME}.tar.gz"
|
||||
GCC_PKG="${GCC_NAME}.tar.xz"
|
||||
GCC_BASE_URL="https://ftp.gnu.org/gnu/gcc"
|
||||
|
||||
buildstep() {
|
||||
|
@ -208,7 +208,7 @@ pushd "$DIR/Tarballs"
|
|||
rm -rf "${DIR}/Build/${ARCH}/${BINUTILS_NAME}"
|
||||
fi
|
||||
echo "Extracting binutils..."
|
||||
tar -xzf ${BINUTILS_PKG}
|
||||
tar -xJf ${BINUTILS_PKG}
|
||||
|
||||
pushd ${BINUTILS_NAME}
|
||||
if [ "${git_patch}" = "1" ]; then
|
||||
|
@ -236,7 +236,7 @@ pushd "$DIR/Tarballs"
|
|||
rm -rf "${DIR}/Build/${ARCH}/${GCC_NAME}"
|
||||
fi
|
||||
echo "Extracting gcc..."
|
||||
tar -xzf ${GCC_PKG}
|
||||
tar -xJf ${GCC_PKG}
|
||||
|
||||
pushd ${GCC_NAME}
|
||||
if [ "${git_patch}" = "1" ]; then
|
||||
|
|
Loading…
Reference in a new issue