diff --git a/0001-Change-branch-name-for-optimized-routines.patch b/0001-Change-branch-name-for-optimized-routines.patch new file mode 100644 index 0000000000000000000000000000000000000000..cad62ba3a0a2151edf53eb124dcbbfd028aa241a --- /dev/null +++ b/0001-Change-branch-name-for-optimized-routines.patch @@ -0,0 +1,27 @@ +From 8af2d0dadcd5ae3fe3366d7d4c46f1f710dae458 Mon Sep 17 00:00:00 2001 +From: Xiong Zhou +Date: Tue, 27 Dec 2022 16:00:13 +0800 +Subject: [PATCH] [gcc-for-openEuler] Change branch name for + optimized-routines. + +--- + build/download.sh | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/build/download.sh b/build/download.sh +index a1e1b66..d11fe6e 100644 +--- a/build/download.sh ++++ b/build/download.sh +@@ -37,7 +37,8 @@ download $GMP_NAME + download $MPC_NAME + download $MPFR_NAME + download $ISL_NAME +-download $MATHLIB_NAME ++[ -d "$MATHLIB_NAME" ] && rm -rf $MATHLIB_NAME ++echo "Download $MATHLIB_NAME" && git clone -b openEuler-22.03-LTS-Next-release-20221227 https://gitee.com/src-openeuler/$MATHLIB_NAME.git + download $JEMALLOC_NAME + download $AUTOFDO_NAME + download $BOLT_NAME +-- +2.33.0 + diff --git a/config.xml b/config.xml index 36bcee23d483d6a5e8e03ddc6d3ddb2c0e6bb47e..400be4f32ca3fd36621309cdecb31e36e778857e 100644 --- a/config.xml +++ b/config.xml @@ -1,6 +1,6 @@ -BRANCH="openEuler-22.09-rc5" -INSTALL_NATIVE="gcc-10.3.1-2022.11-aarch64-linux" -COMPILER_INFO="gcc for openEuler 2.3.2" +BRANCH="openEuler-22.03-LTS-SP1-release" +INSTALL_NATIVE="gcc-10.3.1-2022.12-aarch64-linux" +COMPILER_INFO="gcc for openEuler 2.3.3" GCC="gcc-10.3.0" BINUTILS="binutils-2.37" diff --git a/gcc-for-openEuler.spec b/gcc-for-openEuler.spec index b479974559f751f80b42d2f77469449690019f43..651e2b655ed9c3f0f76d9b127bce9d1d9215495c 100644 --- a/gcc-for-openEuler.spec +++ b/gcc-for-openEuler.spec @@ -1,6 +1,6 @@ Name: gcc-for-openEuler Version: 1.0.4 -Release: 5 +Release: 7 Summary: GCC released as a binary package for openEuler and other OSes. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2 and BSD @@ -8,13 +8,15 @@ URL: https://gitee.com/openEuler/gcc-for-openEuler Source0: %{name}-%{version}.tar.gz %global config config.xml -%global build_name gcc-10.3.1-2022.11-aarch64-linux +%global build_name gcc-10.3.1-2022.12-aarch64-linux ExclusiveArch: aarch64 BuildRequires: git bison flex texinfo autoconf libtool elfutils-libelf-devel glibc-static BuildRequires: chrpath centos-release-scl devtoolset-7 python3 zlib-devel lksctp-tools-devel +Patch1: 0001-Change-branch-name-for-optimized-routines.patch + %description GCC released as a binary package for openEuler and other OSes. @@ -22,7 +24,7 @@ GCC released as a binary package for openEuler and other OSes. %global debug_package %{nil} %prep -%autosetup +%autosetup -p1 cp -f %{_sourcedir}/%{config} build/ %build @@ -41,6 +43,12 @@ sha256sum %{build_name}.tar.gz > %{build_name}.tar.gz.sha256 %attr(755, root, root) /%{build_name}.tar.gz.sha256 %changelog +* Tue Dec 27 2022 Xiong Zhou - 1.0.4-7 +- Change branch name for optimized routines. + +* Wed Dec 21 2022 Xiong Zhou - 1.0.4-6 +- Update the date to 2022.12 in the gcc build name. + * Wed Nov 16 2022 Xiong Zhou - 1.0.4-5 - Update the date in the gcc build name.