git: c6fe067434 - main - Committer guide: Correct the pacakge names of GCC12 for cross compiling
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Mar 2023 16:31:15 UTC
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/doc/commit/?id=c6fe067434f732318bf4fc431338b64959307ffe commit c6fe067434f732318bf4fc431338b64959307ffe Author: Li-Wen Hsu <lwhsu@FreeBSD.org> AuthorDate: 2023-03-19 16:30:48 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2023-03-19 16:30:48 +0000 Committer guide: Correct the pacakge names of GCC12 for cross compiling Use the newly added syntax of the pacakge macro (in 1d899c1c6fc6). While here, fix some wording and typo spotted by Pau Amma. Differential Revision: https://reviews.freebsd.org/D39068 --- documentation/content/en/articles/committers-guide/_index.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/content/en/articles/committers-guide/_index.adoc b/documentation/content/en/articles/committers-guide/_index.adoc index ef1091bc5a..efdd1d18b0 100644 --- a/documentation/content/en/articles/committers-guide/_index.adoc +++ b/documentation/content/en/articles/committers-guide/_index.adoc @@ -3144,12 +3144,12 @@ Complete testing, as appropriate for the change, should be done with this compil At any moment in time, the FreeBSD project also supports one or more out-of-tree compilers. At present, this is GCC 12.x. Ideally, committers should test compile with this compiler, especially for large or risky changes. -This compiler is available as the ${TARGET_ARCH}-gcc package, such as package:aarch64-gcc[] or package:riscv64-gcc[]. +This compiler is available as the `${TARGET_ARCH}-gcc${VERSION}` package, such as package:devel/freebsd-gcc12@aarch64[aarch64-gcc12] or package:devel/freebsd-gcc12@riscv64[riscv64-gcc12]. The project runs automated CI jobs to build everything with these compilers. Committers are expected to fix the jobs they break with their changes. -Committers may test build with, for example `CROSS_TOOLCHAIN=arm64-gcc12` or `CROSS_TOOLCHAIN=llvm15` where necessary. +Committers may test build with, for example `CROSS_TOOLCHAIN=aarch64-gcc12` or `CROSS_TOOLCHAIN=llvm15` where necessary. -The FreeBSD also has some CI pipelines on github. +The FreeBSD project also has some CI pipelines on github. For pull requests on github and some branches pushed to the github forks, a number of cross compilation jobs run. These test FreeBSD building using a version of Clang that sometimes lags the in-tree compiler by a major version for a time.