[commit: ghc] wip/nfs-locking: Add GhcSourcePath option. (eac54ff)

git at git.haskell.org git at git.haskell.org
Thu Oct 26 23:07:44 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/eac54ff6799eeb7824c7a8d1e5bb2bfa662d3189/ghc

>---------------------------------------------------------------

commit eac54ff6799eeb7824c7a8d1e5bb2bfa662d3189
Author: Andrey Mokhov <andrey.mokhov at ncl.ac.uk>
Date:   Fri Jan 16 18:18:00 2015 +0000

    Add GhcSourcePath option.


>---------------------------------------------------------------

eac54ff6799eeb7824c7a8d1e5bb2bfa662d3189
 cfg/default.config.in | 4 ++++
 src/Oracles/Option.hs | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/cfg/default.config.in b/cfg/default.config.in
index 10ee7ee..7402bd5 100644
--- a/cfg/default.config.in
+++ b/cfg/default.config.in
@@ -1,3 +1,6 @@
+# Edit 'user.config' to override these settings.
+#===============================================
+
 # Paths to builders:
 #===================
 
@@ -35,6 +38,7 @@ solaris-broken-shld  = @SOLARIS_BROKEN_SHLD@
 split-objects-broken = @SplitObjsBroken@
 ghc-unregisterised   = @Unregisterised@
 validating           = NO
+ghc-source-path      = @hardtop@
 
 # Information about host and target systems:
 #===========================================
diff --git a/src/Oracles/Option.hs b/src/Oracles/Option.hs
index 667e50e..7dcb9a8 100644
--- a/src/Oracles/Option.hs
+++ b/src/Oracles/Option.hs
@@ -22,6 +22,7 @@ data Option = TargetOs
             | HostOsCpp
             | DynamicExtension
             | ProjectVersion
+            | GhcSourcePath
 
 data MultiOption = SrcHcArgs
                  | ConfCcArgs Stage
@@ -41,6 +42,7 @@ instance ShowArg Option where
         HostOsCpp               -> "host-os-cpp"
         DynamicExtension        -> "dynamic-extension"
         ProjectVersion          -> "project-version"
+        GhcSourcePath           -> "ghc-source-path"
 
 instance ShowArgs MultiOption where
     showArgs opt = showArgs $ fmap words $ askConfig $ case opt of



More information about the ghc-commits mailing list