TOOLCHAIN.ECLASS
Section: eclass-manpages (5)Updated: Sep 2023
Index Return to Main Contents
NAME
toolchain.eclass - Common code for sys-devel/gcc ebuildsDESCRIPTION
Common code for sys-devel/gcc ebuilds (and occasionally GCC forks, like GNAT for Ada). If not building GCC itself, please use toolchain-funcs.eclass instead.SUPPORTED EAPIS
7 8FUNCTIONS
- tc_version_is_at_least ver1 [ver2]
- General purpose version check. Without a second argument, matches up to minor version (x.x.x).
- tc_version_is_between ver1 ver2
- General purpose version range check. Note that it matches up to but NOT including the second version
ECLASS VARIABLES
- TOOLCHAIN_GCC_PV
- Used to override GCC version. Useful for e.g. live ebuilds or snapshots. Defaults to ${PV}.
- TOOLCHAIN_USE_GIT_PATCHES
- Used to force fetching patches from git. Useful for non-released versions of GCC where we don't want to keep creating patchset tarballs for a new release series (e.g. suppose 12.0 just got released, then adding snapshots for 13.0, we don't want to create new patchsets for every single 13.0 snapshot, so just grab patches from git each time if this variable is set).
- TOOLCHAIN_PATCH_DEV
- Indicate the developer who hosts the patchset for an ebuild.
- TOOLCHAIN_PATCH_SUFFIX
- Used to override compression used for for patchsets. Default is xz for EAPI 8+ and bz2 for older EAPIs.
- TOOLCHAIN_SET_S ?= yes
- Used to override value of S for snapshots and such. Mainly useful if needing to set GCC_TARBALL_SRC_URI.
MAINTAINERS
Toolchain Ninjas <toolchain@gentoo.org>REPORTING BUGS
Please report bugs via https://bugs.gentoo.org/FILES
toolchain.eclassSEE ALSO
ebuild(5)https://gitweb.gentoo.org/repo/gentoo.git/log/eclass/toolchain.eclass
Index
- NAME
- DESCRIPTION
- SUPPORTED EAPIS
- FUNCTIONS
- ECLASS VARIABLES
- MAINTAINERS
- REPORTING BUGS
- FILES
- SEE ALSO
This document was created by man2html, using the manual pages.
Time: 03:27:01 GMT, September 22, 2023