[commit: ghc] wip/nfs-locking: Adds knowledge about Perl (bd5bc65)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:33:45 UTC 2017


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

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

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

commit bd5bc6544a5594bc69027d96b7e30da720812922
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date:   Sat Jan 9 14:38:18 2016 +0800

    Adds knowledge about Perl
    
    Fixes #82. Let's hope this is only a stop gap measure until we get rid of ghc-split as a perl script.


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

bd5bc6544a5594bc69027d96b7e30da720812922
 cfg/system.config.in | 1 +
 src/Builder.hs       | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/cfg/system.config.in b/cfg/system.config.in
index 292d91f..6338e33 100644
--- a/cfg/system.config.in
+++ b/cfg/system.config.in
@@ -40,6 +40,7 @@ nm               = @NmCmd@
 objdump          = @ObjdumpCmd@
 ranlib           = @REAL_RANLIB_CMD@
 tar              = @TarCmd@
+perl             = @PerlCmd@
 
 # Information about builders:
 #============================
diff --git a/src/Builder.hs b/src/Builder.hs
index fedcb8a..5450815 100644
--- a/src/Builder.hs
+++ b/src/Builder.hs
@@ -41,6 +41,7 @@ data Builder = Alex
              | Ld
              | Nm
              | Objdump
+             | Perl
              | Ranlib
              | Tar
              | Unlit
@@ -83,6 +84,7 @@ builderKey builder = case builder of
     Ld               -> "ld"
     Nm               -> "nm"
     Objdump          -> "objdump"
+    Perl             -> "perl"
     Ranlib           -> "ranlib"
     Tar              -> "tar"
     Unlit            -> "unlit"



More information about the ghc-commits mailing list