mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sys-devel/gcc: add 15.2.1_p20250906
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -40,6 +40,7 @@ DIST gcc-15-20250809.tar.xz 92336288 BLAKE2B 7b744d92a4ec23083c96e2a6e77df4e7f65
|
||||
DIST gcc-15-20250816.tar.xz 92325240 BLAKE2B a4f5bc9b6294dff8e11b89b5d23ee3bfcee945b238a36c5c20efebf36385be609fdf986877c8c710077a44ec6e775102ccc52bf8e50b6e74b7bbd017df993a03 SHA512 882b80ce2d1890b29d105e08a7af5af6d8cf1a5a9ea59c75860b05f45b5d8271a8584c951708356f53a2808010f47c39beeb74d7ef72c3f590ea8dfe0987c45e
|
||||
DIST gcc-15-20250823.tar.xz 92301932 BLAKE2B 8c752b5431cadc3eab5699c662854995e61ef882e6a745efde7070542be944f32265ba2b82b929778f88362fec0d104156a3203688c5e57f0eddc971771e8e1e SHA512 935871e905011027bdd83a03c1a9271fe2ea0789e34d448527840ed6591c76d9ce39c8558f768861bb26fbffa02ace3ca7d827465327da1a9222a9017d6030be
|
||||
DIST gcc-15-20250830.tar.xz 92318400 BLAKE2B f7c697d36860719ddc68b405d5665b578f4c0c78e3d2441bde13025a668921d93fe9ea19856294f697ec679251bd54c1205ee5787c2c328186bf73056c5a74f5 SHA512 c022eba5e56248beec855f03cb96a8d6999ad5d5e229801af332bfd8bb4e11f8f7a1234de87330644265e30f536e41876a333a6f23cc7a2e3dca875c2dbcc1a8
|
||||
DIST gcc-15-20250906.tar.xz 92313708 BLAKE2B ee0589098a885b42fba147f87c779530a7d56e208d9b04dc053eaedfe481ced14a4887420b4945f5931f07484557518997143a076e75e45df3b1a5a641207558 SHA512 b344c1f20e54eb6e7ef81e521d9cff8839e0145574001f44aba5c034e53711805bf0089441ad1286d032be10679bdd346af05731b7c16631dc56adcfd5500eac
|
||||
DIST gcc-15.1.0-musl-patches-1.tar.xz 3036 BLAKE2B f7e8b794feb3c30252dd3e35b990c8a134d337e285a2778ad5575b04667cf01040bf4187252151cd57097cd6d440851843156c9631736f4f065ca8b7ce2f0678 SHA512 4d3f1660d89484f63ad6c238884415673cdfdabb8833cce2fe114193b52f11b3518b034881024527f6553de93936d15ed707d4d2b1e8221908a08ec67810464b
|
||||
DIST gcc-15.1.0-patches-5.tar.xz 17476 BLAKE2B 82d08ac11358d9199989a5ee5a9327a6beab07ac309ae024125f0c1bf9a120ed0799bc15730b099aa631166735151bbd5385aa0fdc68958b3e97ee0379764036 SHA512 e218ba883a6be70a4b0a8e987b2b2e165ebc9bf9c295b15399710ed295ca4ea86372b18c3a87e227ef287642c6edbda0d0f9e769ab6c5bbd5975c2d8597deb90
|
||||
DIST gcc-15.2.0.tar.xz 101056276 BLAKE2B e270320978ca690e6e8f5ef06414dc13caf561f16403a3783c76fbf3dcee57e755a2d5bba922bf7fcae0bb6120443755d819b003791ae823d54589dd799804de SHA512 89047a2e07bd9da265b507b516ed3635adb17491c7f4f67cf090f0bd5b3fc7f2ee6e4cc4008beef7ca884b6b71dffe2bb652b21f01a702e17b468cca2d10b2de
|
||||
|
||||
56
sys-devel/gcc/gcc-15.2.1_p20250906.ebuild
Normal file
56
sys-devel/gcc/gcc-15.2.1_p20250906.ebuild
Normal file
@@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Maintenance notes and explanations of GCC handling are on the wiki:
|
||||
# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc
|
||||
|
||||
TOOLCHAIN_PATCH_DEV="sam"
|
||||
TOOLCHAIN_HAS_TESTS=1
|
||||
PATCH_GCC_VER="15.1.0"
|
||||
PATCH_VER="5"
|
||||
MUSL_VER="1"
|
||||
MUSL_GCC_VER="15.1.0"
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then
|
||||
# Cheesy hack for RCs
|
||||
MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5)
|
||||
MY_P=${PN}-${MY_PV}
|
||||
GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz"
|
||||
TOOLCHAIN_SET_S=no
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
fi
|
||||
|
||||
inherit toolchain
|
||||
|
||||
if tc_is_live ; then
|
||||
# Needs to be after inherit (for now?), bug #830908
|
||||
EGIT_BRANCH=master
|
||||
elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
|
||||
# Don't keyword live ebuilds
|
||||
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
:;
|
||||
fi
|
||||
|
||||
if [[ ${CATEGORY} != cross-* ]] ; then
|
||||
# Technically only if USE=hardened *too* right now, but no point in complicating it further.
|
||||
# If GCC is enabling CET by default, we need glibc to be built with support for it.
|
||||
# bug #830454
|
||||
RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
fi
|
||||
|
||||
src_prepare() {
|
||||
local p upstreamed_patches=(
|
||||
# add them here
|
||||
)
|
||||
for p in "${upstreamed_patches[@]}"; do
|
||||
rm -v "${WORKDIR}/patch/${p}" || die
|
||||
done
|
||||
|
||||
toolchain_src_prepare
|
||||
eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch
|
||||
eapply_user
|
||||
}
|
||||
Reference in New Issue
Block a user