Preliminary bindist rule (#555)
[hadrian.git] / cfg / system.config.in
index 498f78c..72bef12 100644 (file)
-# Edit 'user.config' to override these settings.\r
-#===============================================\r
-\r
-# Paths to builders:\r
-#===================\r
-\r
-system-ghc       = @WithGhc@\r
-ghc-stage1       = inplace/bin/ghc-stage1\r
-ghc-stage2       = inplace/bin/ghc-stage2\r
-ghc-stage3       = inplace/bin/ghc-stage3\r
-\r
-system-gcc       = @CC_STAGE0@\r
-gcc              = @WhatGccIsCalled@\r
-\r
-system-ghc-pkg   = @GhcPkgCmd@\r
-ghc-pkg          = inplace/bin/ghc-pkg\r
-\r
-ghc-cabal        = inplace/bin/ghc-cabal\r
-\r
-haddock          = inplace/bin/haddock\r
-\r
-hsc2hs           = inplace/bin/hsc2hs\r
-\r
-genprimopcode    = inplace/bin/genprimopcode\r
-genapply         = inplace/bin/genapply\r
-derive-constants = inplace/bin/deriveConstants\r
-\r
-hs-cpp           = @HaskellCPPCmd@\r
-hs-cpp-args      = @HaskellCPPArgs@\r
-\r
-unlit            = inplace/lib/bin/unlit\r
-\r
-alex             = @AlexCmd@\r
-ar               = @ArCmd@\r
-happy            = @HappyCmd@\r
-hscolour         = @HSCOLOUR@\r
-ld               = @LdCmd@\r
-nm               = @NmCmd@\r
-objdump          = @ObjdumpCmd@\r
-ranlib           = @REAL_RANLIB_CMD@\r
-tar              = @TarCmd@\r
-perl             = @PerlCmd@\r
-\r
-# Information about builders:\r
-#============================\r
-\r
-gcc-is-clang        = @GccIsClang@\r
-gcc-lt-46           = @GccLT46@\r
-ar-supports-at-file = @ArSupportsAtFile@\r
-cc-llvm-backend     = @CC_LLVM_BACKEND@\r
-cc-clang-backend    = @CC_CLANG_BACKEND@\r
-\r
-# Build options:\r
-#===============\r
-\r
-solaris-broken-shld   = @SOLARIS_BROKEN_SHLD@\r
-split-objects-broken  = @SplitObjsBroken@\r
-ghc-unregisterised    = @Unregisterised@\r
-ghc-source-path       = @hardtop@\r
-leading-underscore    = @LeadingUnderscore@\r
-\r
-# Information about build, host and target systems:\r
-#==================================================\r
-\r
-build-platform        = @BuildPlatform@\r
-build-arch            = @BuildArch_CPP@\r
-build-os              = @BuildOS_CPP@\r
-build-vendor          = @BuildVendor_CPP@\r
-\r
-host-platform         = @HostPlatform@\r
-host-arch             = @HostArch_CPP@\r
-host-os               = @HostOS_CPP@\r
-host-vendor           = @HostVendor_CPP@\r
-\r
-target-platform       = @TargetPlatform@\r
-target-platform-full  = @TargetPlatformFull@\r
-target-arch           = @TargetArch_CPP@\r
-target-os             = @TargetOS_CPP@\r
-target-vendor         = @TargetVendor_CPP@\r
-\r
-cross-compiling       = @CrossCompiling@\r
-\r
-dynamic-extension     = @soext_target@\r
-\r
-ghc-version           = @GhcVersion@\r
-ghc-major-version     = @GhcMajVersion@\r
-ghc-minor-version     = @GhcMinVersion@\r
-ghc-patch-level       = @GhcPatchLevel@\r
-\r
-project-name          = @ProjectName@\r
-project-version       = @ProjectVersion@\r
-project-version-int   = @ProjectVersionInt@\r
-project-patch-level   = @ProjectPatchLevel@\r
-project-patch-level1  = @ProjectPatchLevel1@\r
-project-patch-level2  = @ProjectPatchLevel2@\r
-project-git-commit-id = @ProjectGitCommitId@\r
-\r
-\r
-# Compilation and linking flags:\r
-#===============================\r
-\r
-conf-cc-args-stage0         = @CONF_CC_OPTS_STAGE0@\r
-conf-cc-args-stage1         = @CONF_CC_OPTS_STAGE1@\r
-conf-cc-args-stage2         = @CONF_CC_OPTS_STAGE2@\r
-\r
-conf-cpp-args-stage0        = @CONF_CPP_OPTS_STAGE0@\r
-conf-cpp-args-stage1        = @CONF_CPP_OPTS_STAGE1@\r
-conf-cpp-args-stage2        = @CONF_CPP_OPTS_STAGE2@\r
-\r
-conf-gcc-linker-args-stage0 = @CONF_GCC_LINKER_OPTS_STAGE0@\r
-conf-gcc-linker-args-stage1 = @CONF_GCC_LINKER_OPTS_STAGE1@\r
-conf-gcc-linker-args-stage2 = @CONF_GCC_LINKER_OPTS_STAGE2@\r
-\r
-conf-ld-linker-args-stage0  = @CONF_LD_LINKER_OPTS_STAGE0@\r
-conf-ld-linker-args-stage1  = @CONF_LD_LINKER_OPTS_STAGE1@\r
-conf-ld-linker-args-stage2  = @CONF_LD_LINKER_OPTS_STAGE2@\r
-\r
-# Include and library directories:\r
-#=================================\r
-\r
-iconv-include-dirs = @ICONV_INCLUDE_DIRS@\r
-iconv-lib-dirs     = @ICONV_LIB_DIRS@\r
-\r
-gmp-include-dirs   = @GMP_INCLUDE_DIRS@\r
-gmp-lib-dirs       = @GMP_LIB_DIRS@\r
-\r
-\r
-# Optional Dependencies:\r
-#=======================\r
-\r
-with-libdw         = @HaveLibdw@\r
+# 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     = autoreconf
+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@
+perl           = @PerlCmd@
+ln-s           = @LN_S@
+xelatex        = @XELATEX@
+
+# Python 3 is required to run test driver.
+# See: https://github.com/ghc/ghc/blob/master/testsuite/mk/boilerplate.mk#L220
+python         = python3
+
+# Information about builders:
+#============================
+
+ar-supports-at-file = @ArSupportsAtFile@
+cc-clang-backend    = @CC_CLANG_BACKEND@
+cc-llvm-backend     = @CC_LLVM_BACKEND@
+gcc-is-clang        = @GccIsClang@
+hs-cpp-args         = @HaskellCPPArgs@
+
+# Build options:
+#===============
+
+solaris-broken-shld  = @SOLARIS_BROKEN_SHLD@
+split-objects-broken = @SplitObjsBroken@
+ghc-unregisterised   = @Unregisterised@
+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@
+
+target-platform       = @TargetPlatform@
+target-platform-full  = @TargetPlatformFull@
+target-arch           = @TargetArch_CPP@
+target-os             = @TargetOS_CPP@
+target-vendor         = @TargetVendor_CPP@
+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-cpp-args-stage0        = @CONF_CPP_OPTS_STAGE0@
+conf-cpp-args-stage1        = @CONF_CPP_OPTS_STAGE1@
+conf-cpp-args-stage2        = @CONF_CPP_OPTS_STAGE2@
+
+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-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@
+
+# Include and library directories:
+#=================================
+
+curses-lib-dir    = @CURSES_LIB_DIRS@
+
+iconv-include-dir = @ICONV_INCLUDE_DIRS@
+iconv-lib-dir     = @ICONV_LIB_DIRS@
+
+gmp-include-dir   = @GMP_INCLUDE_DIRS@
+gmp-lib-dir       = @GMP_LIB_DIRS@
+
+use-system-ffi    = @UseSystemLibFFI@
+ffi-include-dir   = @FFIIncludeDir@
+ffi-lib-dir       = @FFILibDir@
+
+# Optional Dependencies:
+#=======================
+
+with-libdw = @UseLibdw@
+have-lib-mingw-ex = @HaveLibMingwEx@
+
+# Installation:
+#=======================
+
+install-prefix          = @prefix@
+install-bindir          = @prefix@/bin
+install-libdir          = @prefix@/lib
+install-datarootdir     = @prefix@/share
+
+install         = @INSTALL@
+install-program = @INSTALL@ -m 755
+install-script  = @INSTALL@ -m 755
+install-data    = @INSTALL@ -m 644
+install-dir     = @INSTALL@ -m 755 -d