regen src.conf.5 for clang-4.0.0 merge
Note that makeman's use of 'make showconfig' interacts poorly with the COMPILER_FEATURES test in share/mk/src.opts.mk, because it tests the host compiler, not the bootstrap compiler that will actually be used to build world. This causes it to report that Clang is enabled by default on MIPS and PowerPC. For example: % make TARGET_ARCH=mips64 showconfig | grep CLANG MK_CLANG = yes MK_CLANG_BOOTSTRAP = no MK_CLANG_EXTRAS = no MK_CLANG_FULL = yes MK_CLANG_IS_CC = no I am committing this version anyway to avoid extraneous diffs in src.conf.5 after every other WITH_/WITHOUT_FOO change. In addition, we intend to switch to a C++11 compiler for all archs for 12.0 (either by fixing Clang for those archs, or by requiring an external toolchain), and then src.conf.5 will be correct. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
ff4c870db3
commit
901ee8dee4
@ -338,7 +338,7 @@ When set, it enforces these options:
|
||||
Set to not build the Clang C/C++ compiler during the regular phase of the build.
|
||||
.Pp
|
||||
This is a default setting on
|
||||
mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
|
||||
sparc64/sparc64.
|
||||
When set, it enforces these options:
|
||||
.Pp
|
||||
.Bl -item -compact
|
||||
@ -352,7 +352,7 @@ When set, it enforces these options:
|
||||
Set to build the Clang C/C++ compiler during the normal phase of the build.
|
||||
.Pp
|
||||
This is a default setting on
|
||||
amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
|
||||
amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
|
||||
.It Va WITHOUT_CLANG_BOOTSTRAP
|
||||
.\" from FreeBSD: head/tools/build/options/WITHOUT_CLANG_BOOTSTRAP 313169 2017-02-03 19:09:46Z wblock
|
||||
Set to not build the Clang C/C++ compiler during the bootstrap phase of
|
||||
@ -377,14 +377,14 @@ Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
|
||||
the Clang C/C++ compiler.
|
||||
.Pp
|
||||
This is a default setting on
|
||||
mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
|
||||
sparc64/sparc64.
|
||||
.It Va WITH_CLANG_FULL
|
||||
.\" from FreeBSD: head/tools/build/options/WITH_CLANG_FULL 246259 2013-02-02 22:28:29Z dim
|
||||
Set to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
|
||||
Clang C/C++ compiler.
|
||||
.Pp
|
||||
This is a default setting on
|
||||
amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
|
||||
amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
|
||||
.It Va WITHOUT_CLANG_IS_CC
|
||||
.\" from FreeBSD: head/tools/build/options/WITHOUT_CLANG_IS_CC 242629 2012-11-05 21:53:23Z brooks
|
||||
Set to install the GCC compiler as
|
||||
@ -1052,13 +1052,19 @@ library.
|
||||
Set to not build LLVM's lld linker.
|
||||
.Pp
|
||||
This is a default setting on
|
||||
arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
|
||||
mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
|
||||
When set, it enforces these options:
|
||||
.Pp
|
||||
.Bl -item -compact
|
||||
.It
|
||||
.Va WITHOUT_LLD_IS_LD
|
||||
.El
|
||||
.It Va WITH_LLD
|
||||
.\" from FreeBSD: head/tools/build/options/WITH_LLD 309124 2016-11-24 22:54:55Z dim
|
||||
Set to build LLVM's lld linker.
|
||||
.Pp
|
||||
This is a default setting on
|
||||
amd64/amd64 and arm64/aarch64.
|
||||
amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
|
||||
.It Va WITHOUT_LLDB
|
||||
.\" from FreeBSD: head/tools/build/options/WITHOUT_LLDB 289275 2015-10-14 00:23:31Z emaste
|
||||
Set to not build the LLDB debugger.
|
||||
@ -1083,6 +1089,14 @@ Set to use LLVM's LLD as the system linker, instead of GNU binutils ld.
|
||||
.Pp
|
||||
This is a default setting on
|
||||
arm64/aarch64.
|
||||
When set, these options are also in effect:
|
||||
.Pp
|
||||
.Bl -inset -compact
|
||||
.It Va WITHOUT_SYSTEM_COMPILER
|
||||
(unless
|
||||
.Va WITH_SYSTEM_COMPILER
|
||||
is set explicitly)
|
||||
.El
|
||||
.It Va WITHOUT_LLVM_LIBUNWIND
|
||||
.\" from FreeBSD: head/tools/build/options/WITHOUT_LLVM_LIBUNWIND 293450 2016-01-09 00:42:07Z emaste
|
||||
Set to use GCC's stack unwinder (instead of LLVM's libunwind).
|
||||
@ -1548,6 +1562,25 @@ The
|
||||
and
|
||||
.Va WITHOUT_GCC
|
||||
options control those.
|
||||
.Pp
|
||||
This is a default setting on
|
||||
arm64/aarch64.
|
||||
.It Va WITH_SYSTEM_COMPILER
|
||||
.\" from FreeBSD: head/tools/build/options/WITH_SYSTEM_COMPILER 300354 2016-05-21 01:32:23Z bdrewery
|
||||
Set to opportunistically skip building a cross-compiler during the
|
||||
bootstrap phase of the build.
|
||||
If the currently installed compiler matches the planned bootstrap compiler
|
||||
type and revision, then it will not be built.
|
||||
This does not prevent a compiler from being built for installation though,
|
||||
only for building one for the build itself.
|
||||
The
|
||||
.Va WITHOUT_CLANG
|
||||
and
|
||||
.Va WITHOUT_GCC
|
||||
options control those.
|
||||
.Pp
|
||||
This is a default setting on
|
||||
amd64/amd64, arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
|
||||
.It Va WITHOUT_TALK
|
||||
.\" from FreeBSD: head/tools/build/options/WITHOUT_TALK 277676 2015-01-25 04:37:44Z ngie
|
||||
Set to not build or install
|
||||
|
Loading…
Reference in New Issue
Block a user