mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
Merge updates from master
This commit is contained in:
@@ -42,7 +42,7 @@ S="${WORKDIR}/jdk-${MY_PV}"
|
||||
|
||||
LICENSE="GPL-2-with-classpath-exception"
|
||||
SLOT=$(ver_cut 1)
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x64-macos"
|
||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x64-macos"
|
||||
IUSE="alsa cups headless-awt selinux source"
|
||||
|
||||
RDEPEND="
|
||||
|
||||
@@ -43,7 +43,7 @@ S="${WORKDIR}/jdk-${MY_PV}"
|
||||
|
||||
LICENSE="GPL-2-with-classpath-exception"
|
||||
SLOT=$(ver_cut 1)
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x64-macos"
|
||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x64-macos"
|
||||
IUSE="alsa cups headless-awt selinux source"
|
||||
|
||||
RDEPEND="
|
||||
|
||||
@@ -42,7 +42,7 @@ S="${WORKDIR}/jdk${MY_PV}"
|
||||
|
||||
LICENSE="GPL-2-with-classpath-exception"
|
||||
SLOT=$(ver_cut 1)
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x64-macos"
|
||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x64-macos"
|
||||
|
||||
IUSE="alsa cups examples headless-awt selinux source"
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ S="${WORKDIR}/jdk${SLOT}u-jdk-${MY_PV}"
|
||||
|
||||
LICENSE="GPL-2-with-classpath-exception"
|
||||
SLOT="${MY_PV%%[.+]*}"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
|
||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
|
||||
|
||||
IUSE="alsa big-endian cups debug doc examples headless-awt javafx +jbootstrap lto selinux source system-bootstrap systemtap"
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ S="${WORKDIR}/jdk${SLOT}u-jdk-${MY_PV//+/-}"
|
||||
|
||||
LICENSE="GPL-2-with-classpath-exception"
|
||||
SLOT="${MY_PV%%[.+]*}"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
|
||||
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
|
||||
|
||||
IUSE="alsa big-endian cups debug doc examples headless-awt javafx +jbootstrap lto selinux source system-bootstrap systemtap"
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ S="${WORKDIR}/jdk${SLOT}u-jdk${MY_PV}"
|
||||
|
||||
LICENSE="GPL-2-with-classpath-exception"
|
||||
SLOT="${PV%%[.+]*}"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc64 x86"
|
||||
KEYWORDS="amd64 arm64 ~ppc64 x86"
|
||||
IUSE="alsa big-endian debug cups doc examples headless-awt javafx +jbootstrap selinux system-bootstrap source"
|
||||
|
||||
COMMON_DEPEND="
|
||||
|
||||
@@ -38,6 +38,7 @@ DIST gcc-14-20240727.tar.xz 88051096 BLAKE2B bb447e728275539688ba19d1f50c4f4936f
|
||||
DIST gcc-14-20240803.tar.xz 88016412 BLAKE2B 60301ac6acec9cea3001fda41e0dd10f6698cf0897e84750b28421c6425d28a2acfde8978a285052e44b54fc2244a181ed4430510df5920b8a94319727a5f19b SHA512 e9013bbbef39f67fcc63c9394513be43038f2fc5eebd098be3e5b90eb43bf8f2baf3ce72df1fe72ef2c327dffa103a4e1588c3c137944f7d602fb09498851328
|
||||
DIST gcc-14-20240810.tar.xz 88012840 BLAKE2B 85f6513f4f4a001894fc22df6c53ce20d6af547191478d429da152f163406c6b320599445a58bef1e79bcacaae56b6bebab9bc9762a75c82bf65dd502e4e7048 SHA512 2b1fde696c9e97a15e9b3550145c74d031d6ad667ac62b51c11bc9e111caf229c6fc4530a18d876d31ab7554fc51263944b8c0182533b1e9275132ec6ce87887
|
||||
DIST gcc-14-20240817.tar.xz 88024252 BLAKE2B 994b3e263246e344c6898943a17feb63f07b3de02777a77c689e001343119bd451e1ed5c6958f368077f10b4778c65fa492c55d164e2a0b1bbd65b275aae3cd1 SHA512 31de06694efeb2be49b64e9e8314a766d36c3d5f5f2d52d1e0419ba69262b7c344ef0700957eff11007ba5b81bd5e74dea2a2c0286990cb33927bac4a7db9756
|
||||
DIST gcc-14-20240824.tar.xz 88019780 BLAKE2B 8da729548e785196e1efb9e1d0ff522423196921e14828defc4c6bc176ea13c5fc76515bde7c293bf80025b54b6466b0ecd7e5ebda4307023d74704a6f19bdf6 SHA512 4ad87ded2468d5303e0a7dc51e85f82eb53c1f26aa2bcdc7aa341a159f0c2fafc43d32f1285f7fd8b359ae67e949c4556df73ba2bdcbbb05f3f8d9488052b081
|
||||
DIST gcc-14.1.0-musl-patches-1.tar.xz 3600 BLAKE2B 4cd920b7ca1f122cae806707564d8e45bfd48e78c88788a12a301f6068b5a5f335d8885e67479ac536c66aeaa81f2ecb7240ae56e9fc821a7246ab66b453711f SHA512 61c48d90a55dfc2129d96aee69d939d6a89f6407f69f7bd12c1a619f28989f471fd219d731958f8e62b0fd650c32300f0ad8dc06d5df23d9fc8c1a77fe210c25
|
||||
DIST gcc-14.1.0-patches-3.tar.xz 11868 BLAKE2B 06d079766bfbaddd066cd70f2d3f5e9ef17f3617fe90de4cb0a9562e6c3b2dc46d94dce03649f2e530c21e3fa0e0e6e5aae3c7b768bd08717c4f29ff29b00a04 SHA512 636a2853b5bf057fef262d54bcb250f3ebf63c600bc184cfea499783d254c462f6c0ecf5f0c5dac6634110ba0d11193fbfb96850ac27fc5a318f1d810f2231cc
|
||||
DIST gcc-14.1.0-patches-4.tar.xz 11620 BLAKE2B c819fbdea1f3bf10c8d4214d4c33cf28c1410171d2833b6f8c1225eeefe749ddb815067b3fdb750e5839761aee8d39ffc51ffb492f88e630076818a61b18362b SHA512 0d6e1b04591607dfc8022124b186ce499467c32db7667ee1a640fe2e07706597edc0e4ad5c7ebcb75c8f5fc6e45e9b9ef715402c71ff9ab21fe380007fe5d84f
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
TOOLCHAIN_PATCH_DEV="sam"
|
||||
PATCH_GCC_VER="14.1.0"
|
||||
PATCH_VER="5"
|
||||
MUSL_VER="1"
|
||||
MUSL_GCC_VER="14.1.0"
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
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=releases/gcc-$(ver_cut 1)
|
||||
elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
|
||||
# m68k doesnt build (ICE, bug 932733)
|
||||
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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