diff --git a/download.sh b/download.sh index 327c3849b7c4c7ffaa99a38132d629626c205639..b1d3283a651b2e9c6be2033141b1990920e0cdb5 100755 --- a/download.sh +++ b/download.sh @@ -5,7 +5,7 @@ readonly LIB_PATH="$PWD/../open_source" source $PWD/config.xml build_rpmdir=`rpm --eval "%{_builddir}"` src_rpmdir=`rpm --eval "%{_sourcedir}"` -SRC_BRANCH="master" +SRC_BRANCH="openEuler-24.03-LTS-SP2" #judge the open_source @@ -35,25 +35,25 @@ function do_patch() { fi popd } -echo "Download $GCC" && git clone -b $SRC_BRANCH https://gitee.com/src-openeuler/gcc.git +echo "Download $GCC" && git clone -b $SRC_BRANCH https://gitee.com/src-openeuler/gcc.git --depth 1 do_patch $GCC -echo "Download $GLIBC" && git clone -b $SRC_BRANCH https://gitee.com/src-openeuler/glibc.git +echo "Download $GLIBC" && git clone -b $SRC_BRANCH https://gitee.com/src-openeuler/glibc.git --depth 1 do_patch $GLIBC -echo "Download $BINUTILS" && git clone -b $SRC_BRANCH https://gitee.com/src-openeuler/binutils.git +echo "Download $BINUTILS" && git clone -b $SRC_BRANCH https://gitee.com/src-openeuler/binutils.git --depth 1 do_patch $BINUTILS -echo "Download $GMP" && git clone -b $SRC_BRANCH https://gitee.com/src-openeuler/gmp.git +echo "Download $GMP" && git clone -b $SRC_BRANCH https://gitee.com/src-openeuler/gmp.git --depth 1 do_patch $GMP -echo "Download $MPFR" && git clone -b $SRC_BRANCH https://gitee.com/src-openeuler/mpfr.git +echo "Download $MPFR" && git clone -b $SRC_BRANCH https://gitee.com/src-openeuler/mpfr.git --depth 1 do_patch $MPFR -echo "Download $MPC" && git clone -b $SRC_BRANCH https://gitee.com/src-openeuler/libmpc.git +echo "Download $MPC" && git clone -b $SRC_BRANCH https://gitee.com/src-openeuler/libmpc.git --depth 1 do_patch $MPC -echo "Download $ISL" && git clone -b $SRC_BRANCH https://gitee.com/src-openeuler/isl.git +echo "Download $ISL" && git clone -b $SRC_BRANCH https://gitee.com/src-openeuler/isl.git --depth 1 do_patch $ISL echo "Download $LINUX_KERNEL" && git clone -b 6.4.0-1.0.1 https://gitee.com/openeuler/kernel.git --depth 1 diff --git a/gcc-cross.spec b/gcc-cross.spec index ad2cbe39e6a50fae4dd55bd7be77e80175328cdd..bf043c9cf68d7f9610357e50bbcba9a71d388997 100644 --- a/gcc-cross.spec +++ b/gcc-cross.spec @@ -1,7 +1,7 @@ Summary: C/C++ Cross Compiler Toolchain Name: gcc-cross Version: 1.0 -Release: 9 +Release: 10 # libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have # GCC Runtime Exception. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD @@ -50,6 +50,12 @@ cp %{_builddir}/output/gcc_arm32le/gcc_arm32le.tar.gz %{buildroot}/tmp %attr(755, root, root) /tmp/gcc_arm32le.tar.gz %changelog +* Thu May 8 2025 zhengchenhui - 1.0-10 +-Type:Fix +-ID:NA +-SUG:NA +-DESC: Change src-branch. + * Wed Apr 2 2025 zhengchenhui - 1.0-9 -Type:Fix -ID:NA