summaryrefslogtreecommitdiff
path: root/hadrian/src/Rules
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-03-08 10:24:17 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-03-09 07:48:38 -0500
commitb760269c5914e128c07c66bacdbe86168003e82e (patch)
treea65998a8aa1710871b9a56ecaeb9bf30dc43617d /hadrian/src/Rules
parent6b2f09916e0c8c5f37c9fbe08eb076476501c8d6 (diff)
downloadhaskell-b760269c5914e128c07c66bacdbe86168003e82e.tar.gz
Rip out perl dependency
The object splitter was the last major user of perl. There remain a few uses in nofib but we can just rely on the system's perl for this since it's not critical to the build.
Diffstat (limited to 'hadrian/src/Rules')
-rw-r--r--hadrian/src/Rules/Nofib.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/hadrian/src/Rules/Nofib.hs b/hadrian/src/Rules/Nofib.hs
index 0950605199..016f7e76c2 100644
--- a/hadrian/src/Rules/Nofib.hs
+++ b/hadrian/src/Rules/Nofib.hs
@@ -29,7 +29,6 @@ nofibRules = do
makePath <- builderPath (Make "nofib")
top <- topDirectory
ghcPath <- builderPath (Ghc CompileHs Stage2)
- perlPath <- builderPath Perl
-- some makefiles in nofib rely on a $MAKE
-- env var being defined
@@ -39,7 +38,7 @@ nofibRules = do
-- subdirectory, passing the path to
-- the GHC to benchmark and perl to
-- nofib's makefiles.
- let nofibArgs = ["WithNofibHc=" ++ (top -/- ghcPath), "PERL=" ++ perlPath]
+ let nofibArgs = ["WithNofibHc=" ++ (top -/- ghcPath)]
unit $ cmd (Cwd "nofib") [makePath] ["clean"]
unit $ cmd (Cwd "nofib") [makePath] (nofibArgs ++ ["boot"])
(Exit e, Stdouterr log) <- cmd (Cwd "nofib") [makePath] nofibArgs