diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-01-08 11:26:17 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2023-03-09 11:28:14 +0000 |
commit | 325c124eb817b157476b305265a0f8361df92d3d (patch) | |
tree | d012439db89d97ec31ce0e9fabbd743bdec3c5bb /hadrian/src/Packages.hs | |
parent | bed3a292df532935426987e1f0c5eaa4f605407e (diff) | |
download | haskell-wip/ghc-with-debug.tar.gz |
Add support for ghc-debug to ghc executablewip/ghc-with-debug
Diffstat (limited to 'hadrian/src/Packages.hs')
-rw-r--r-- | hadrian/src/Packages.hs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/hadrian/src/Packages.hs b/hadrian/src/Packages.hs index 6dbeb6ed14..5df998e6a1 100644 --- a/hadrian/src/Packages.hs +++ b/hadrian/src/Packages.hs @@ -11,7 +11,7 @@ module Packages ( runGhc, stm, templateHaskell, terminfo, text, time, timeout, touchy, transformers, unlit, unix, win32, xhtml, lintersCommon, lintNotes, lintCommitMsg, lintSubmoduleRefs, lintWhitespace, - ghcPackages, isGhcPackage, + ghcPackages, isGhcPackage, ghc_debug_convention, ghc_debug_stub, -- * Package information crossPrefix, programName, nonHsMainPackage, autogenPath, programPath, timeoutPath, @@ -43,7 +43,9 @@ ghcPackages = , terminfo, text, time, touchy, transformers, unlit, unix, win32, xhtml , timeout , lintersCommon - , lintNotes, lintCommitMsg, lintSubmoduleRefs, lintWhitespace ] + , lintNotes, lintCommitMsg, lintSubmoduleRefs, lintWhitespace + , ghc_debug_convention + , ghc_debug_stub ] -- TODO: Optimise by switching to sets of packages. isGhcPackage :: Package -> Bool @@ -122,6 +124,8 @@ unlit = util "unlit" unix = lib "unix" win32 = lib "Win32" xhtml = lib "xhtml" +ghc_debug_convention = lib "ghc-debug-convention" `setPath` "ghc-debug/convention" +ghc_debug_stub = lib "ghc-debug-stub" `setPath` "ghc-debug/stub" lintersCommon = lib "linters-common" `setPath` "linters/linters-common" lintNotes = linter "lint-notes" |