summaryrefslogtreecommitdiff
path: root/hadrian/cfg/system.config.in
blob: 3a67bffbe09c50b2df805b280b5fe8a1351d1a9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
# This file is processed by the configure script.
# See hadrian/src/UserSettings.hs for user-defined settings.
#===========================================================

# Paths to builders:
#===================

alex           = @AlexCmd@
ar             = @ArCmd@
autoreconf     = @AutoreconfCmd@
cc             = @CC@
happy          = @HappyCmd@
hs-cpp         = @HaskellCPPCmd@
ld             = @LdCmd@
make           = @MakeCmd@
nm             = @NmCmd@
objdump        = @ObjdumpCmd@
ranlib         = @REAL_RANLIB_CMD@
sphinx-build   = @SPHINXBUILD@
system-ar      = @AR_STAGE0@
system-cc      = @CC_STAGE0@
system-ghc     = @WithGhc@
system-ghc-pkg = @GhcPkgCmd@
tar            = @TarCmd@
patch          = @PatchCmd@
xelatex        = @XELATEX@
makeinfo       = @MAKEINFO@

# Python 3 is required to run test driver.
# See: https://github.com/ghc/ghc/blob/master/testsuite/mk/boilerplate.mk#L220
python         = @PythonCmd@

# Information about builders:
#============================

ar-supports-at-file = @ArSupportsAtFile@
cc-llvm-backend     = @CcLlvmBackend@
hs-cpp-args         = @HaskellCPPArgs@

# Build options:
#===============

solaris-broken-shld  = @SOLARIS_BROKEN_SHLD@
ghc-unregisterised   = @Unregisterised@
tables-next-to-code  = @TablesNextToCode@
ghc-source-path      = @hardtop@
leading-underscore   = @LeadingUnderscore@

# Information about build, host and target systems:
#==================================================

build-platform        = @BuildPlatform@
build-arch            = @BuildArch_CPP@
build-os              = @BuildOS_CPP@
build-vendor          = @BuildVendor_CPP@

host-platform         = @HostPlatform@
host-arch             = @HostArch_CPP@
host-os               = @HostOS_CPP@
host-vendor           = @HostVendor_CPP@
host-os-haskell       = @HaskellHostOs@
host-arch-haskell     = @HaskellHostArch@

target-platform       = @TargetPlatform@
target-platform-full  = @TargetPlatformFull@
target-arch           = @TargetArch_CPP@
target-os             = @TargetOS_CPP@
target-vendor         = @TargetVendor_CPP@
target-os-haskell     = @HaskellTargetOs@
target-arch-haskell   = @HaskellTargetArch@
llvm-target           = @LLVMTarget_CPP@

cross-compiling       = @CrossCompiling@

dynamic-extension     = @soext_target@

ghc-version           = @GhcVersion@
ghc-major-version     = @GhcMajVersion@
ghc-minor-version     = @GhcMinVersion@
ghc-patch-level       = @GhcPatchLevel@

supports-this-unit-id = @SUPPORTS_THIS_UNIT_ID@

project-name          = @ProjectName@
project-version       = @ProjectVersion@
project-version-int   = @ProjectVersionInt@
project-patch-level   = @ProjectPatchLevel@
project-patch-level1  = @ProjectPatchLevel1@
project-patch-level2  = @ProjectPatchLevel2@
project-git-commit-id = @ProjectGitCommitId@

# Compilation and linking flags:
#===============================

conf-cc-args-stage0         = @CONF_CC_OPTS_STAGE0@
conf-cc-args-stage1         = @CONF_CC_OPTS_STAGE1@
conf-cc-args-stage2         = @CONF_CC_OPTS_STAGE2@
conf-cc-args-stage3         = @CONF_CC_OPTS_STAGE3@

conf-cpp-args-stage0        = @CONF_CPP_OPTS_STAGE0@
conf-cpp-args-stage1        = @CONF_CPP_OPTS_STAGE1@
conf-cpp-args-stage2        = @CONF_CPP_OPTS_STAGE2@
conf-cpp-args-stage3        = @CONF_CPP_OPTS_STAGE3@

conf-gcc-linker-args-stage0 = @CONF_GCC_LINKER_OPTS_STAGE0@
conf-gcc-linker-args-stage1 = @CONF_GCC_LINKER_OPTS_STAGE1@
conf-gcc-linker-args-stage2 = @CONF_GCC_LINKER_OPTS_STAGE2@
conf-gcc-linker-args-stage3 = @CONF_GCC_LINKER_OPTS_STAGE3@

conf-ld-linker-args-stage0  = @CONF_LD_LINKER_OPTS_STAGE0@
conf-ld-linker-args-stage1  = @CONF_LD_LINKER_OPTS_STAGE1@
conf-ld-linker-args-stage2  = @CONF_LD_LINKER_OPTS_STAGE2@
conf-ld-linker-args-stage3  = @CONF_LD_LINKER_OPTS_STAGE3@

# Settings:
#==========

# We are in the process of moving the settings file from being entirely
# generated by configure, to generated being by the build system. Many of these
# might become redundant.

gcc-extra-via-c-opts = @GccExtraViaCOpts@
ld-has-no-compact-unwind = @LdHasNoCompactUnwind@
ld-has-build-id = @LdHasBuildId@
ld-has-filelist = @LdHasFilelist@
ld-is-gnu-ld = @LdIsGNULd@
ar-args = @ArArgs@

settings-c-compiler-command = @SettingsCCompilerCommand@
settings-haskell-cpp-command = @SettingsHaskellCPPCommand@
settings-haskell-cpp-flags = @SettingsHaskellCPPFlags@
settings-c-compiler-flags = @SettingsCCompilerFlags@
settings-cxx-compiler-flags = @SettingsCxxCompilerFlags@
settings-c-compiler-link-flags = @SettingsCCompilerLinkFlags@
settings-c-compiler-supports-no-pie = @SettingsCCompilerSupportsNoPie@
settings-ld-command = @SettingsLdCommand@
settings-ld-flags = @SettingsLdFlags@
settings-ar-command = @SettingsArCommand@
settings-ranlib-command = @SettingsRanlibCommand@
settings-dll-wrap-command = @SettingsDllWrapCommand@
settings-windres-command = @SettingsWindresCommand@
settings-libtool-command = @SettingsLibtoolCommand@
settings-touch-command = @SettingsTouchCommand@
settings-clang-command = @SettingsClangCommand@
settings-llc-command = @SettingsLlcCommand@
settings-opt-command = @SettingsOptCommand@

target-word-size = @TargetWordSize@
target-has-gnu-nonexec-stack = @TargetHasGnuNonexecStack@
target-has-ident-directive = @TargetHasIdentDirective@
target-has-subsections-via-symbols = @TargetHasSubsectionsViaSymbols@
target-has-rts-linker = @TargetHasRTSLinker@
target-arm-version    = @ARM_ISA@

# Include and library directories:
#=================================

curses-lib-dir    = @CURSES_LIB_DIRS@

iconv-include-dir = @ICONV_INCLUDE_DIRS@
iconv-lib-dir     = @ICONV_LIB_DIRS@

intree-gmp              = @GMP_FORCE_INTREE@
gmp-framework-preferred = @GMP_PREFER_FRAMEWORK@
gmp-include-dir         = @GMP_INCLUDE_DIRS@
gmp-lib-dir             = @GMP_LIB_DIRS@

use-system-ffi    = @UseSystemLibFFI@
ffi-include-dir   = @FFIIncludeDir@
ffi-lib-dir       = @FFILibDir@

libdw-include-dir   = @LibdwIncludeDir@
libdw-lib-dir       = @LibdwLibDir@

libnuma-include-dir   = @LibNumaIncludeDir@
libnuma-lib-dir       = @LibNumaLibDir@

# Optional Dependencies:
#=======================

with-libdw = @UseLibdw@
with-libnuma = @UseLibNuma@
have-lib-mingw-ex = @HaveLibMingwEx@