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.