diff --git a/config.xml b/config.xml new file mode 100644 index 0000000000000000000000000000000000000000..36bcee23d483d6a5e8e03ddc6d3ddb2c0e6bb47e --- /dev/null +++ b/config.xml @@ -0,0 +1,17 @@ +BRANCH="openEuler-22.09-rc5" +INSTALL_NATIVE="gcc-10.3.1-2022.11-aarch64-linux" +COMPILER_INFO="gcc for openEuler 2.3.2" + +GCC="gcc-10.3.0" +BINUTILS="binutils-2.37" +GMP="gmp-6.2.1" +MPC="mpc-1.2.0" +MATHLIB="optimized-routines-21.02" +ISL="isl-0.16.1" +OLD_ISL="isl-0.14" +JEMALLOC="jemalloc-5.2.1" +MPFR="mpfr-4.1.0" +AUTOFDO="autofdo-0.19" +BOLT="llvm-bolt-0" +CMAKE="cmake-3.22.0" +OPENSSL="openssl-1.1.1m" diff --git a/gcc-for-openEuler-1.0.4.tar.gz b/gcc-for-openEuler-1.0.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0e9d128d7b11addd519b642d9ed21ecd140e225a Binary files /dev/null and b/gcc-for-openEuler-1.0.4.tar.gz differ diff --git a/gcc-for-openEuler.spec b/gcc-for-openEuler.spec new file mode 100644 index 0000000000000000000000000000000000000000..b479974559f751f80b42d2f77469449690019f43 --- /dev/null +++ b/gcc-for-openEuler.spec @@ -0,0 +1,57 @@ +Name: gcc-for-openEuler +Version: 1.0.4 +Release: 5 +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 +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 + +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 + +%description +GCC released as a binary package for openEuler and other OSes. + +%skip debuginfo packages +%global debug_package %{nil} + +%prep +%autosetup +cp -f %{_sourcedir}/%{config} build/ + +%build +cd %{_builddir}/%{name}-%{version}/build +bash download.sh +bash build.sh hcc_arm64le_native + +%install +cd %{buildroot} +cp %{_builddir}/%{name}-%{version}/output/%{build_name}/%{build_name}.tar.gz . +touch %{build_name}.tar.gz.sha256 +sha256sum %{build_name}.tar.gz > %{build_name}.tar.gz.sha256 + +%files +%attr(755, root, root) /%{build_name}.tar.gz +%attr(755, root, root) /%{build_name}.tar.gz.sha256 + +%changelog +* Wed Nov 16 2022 Xiong Zhou - 1.0.4-5 +- Update the date in the gcc build name. + +* Tue Nov 8 2022 Xiong Zhou - 1.0.4-4 +- Delete the la files and add secure flags for mathlib and jemalloc. + +* Mon Nov 7 2022 Xiong Zhou - 1.0.3-3 +- Align OpenSSL build command with that of the OpenSSL repository on openEuler community. + +* Wed Nov 2 2022 Xiong Zhou - 1.0.2-2 +- Fix the bug that libcrypto.so cannot be found. + +* Tue Sep 20 2022 Xiong Zhou - 1.0.0-1 +- Init gcc-for-openEuler repository. diff --git a/gcc-for-openEuler.yaml b/gcc-for-openEuler.yaml new file mode 100644 index 0000000000000000000000000000000000000000..17fa91cba7be7045d1067d84208087c5b01cf28c --- /dev/null +++ b/gcc-for-openEuler.yaml @@ -0,0 +1,4 @@ +seperator: . +src_repo: openEuler/gcc +tag_prefix: ^ +version_control: gitee.com