Skip to content
Snippets Groups Projects
Commit 5d4501df authored by Matthew Pickering's avatar Matthew Pickering
Browse files

Various cabal file updates

parent df4d22f3
No related branches found
No related tags found
No related merge requests found
cabal-version: 3.0
name: ghc-debug-client
version: 0.1.0.0
-- synopsis:
-- description:
homepage: https://github.com/bgamari/ghc-debug
license: BSD3
homepage: https://gitlab.haskell.org/ghc/ghc-debug
license: BSD-3-Clause
license-file: LICENSE
author: Ben Gamari
maintainer: ben@smart-cactus.org
copyright: (c) 2019 Ben Gamari
author: Ben Gamari, Matthew Pickering, David Eichmann
maintainer: matthewtpickering@gmail.com
copyright: (c) 2019-2021 Ben Gamari, Matthew Pickering
category: Development
build-type: Simple
extra-source-files: CHANGELOG.md
cabal-version: >=1.10
library
exposed-modules: GHC.Debug.Client,
......@@ -25,24 +25,39 @@ library
GHC.Debug.ParTrace,
GHC.Debug.Count,
GHC.Debug.TypePointsFrom,
GHC.Debug.Snapshot
GHC.Debug.Dominators
GHC.Debug.Client.Query
GHC.Debug.Snapshot,
GHC.Debug.Dominators,
GHC.Debug.Client.Query,
GHC.Debug.Client.Monad,
GHC.Debug.Client.BlockCache,
GHC.Debug.Client.RequestCache,
GHC.Debug.Client.Monad.Class
GHC.Debug.Client.Monad.Haxl
GHC.Debug.Client.Monad.Class,
GHC.Debug.Client.Monad.Haxl,
GHC.Debug.Client.Monad.Simple
build-depends: base >=4.12 && <4.14,
network >=2.6 && <2.7,
containers,
unordered-containers,
ghc-debug-common, ghc-debug-convention,
text, process, filepath, directory, bitwise,
haxl, hashable, mtl, eventlog2html >= 0.8.3, binary, psqueues,
dom-lt, async, monoidal-containers, language-dot, ghc-prim, stm
build-depends: base >=4.16 && < 4.17,
network ^>= 2.6,
containers ^>= 0.6,
unordered-containers ^>= 0.2.13,
ghc-debug-common ^>= 0.1,
ghc-debug-convention ^>= 0.1,
text ^>= 1.2.4,
process ^>= 1.6,
filepath ^>= 1.4,
directory ^>= 1.3,
bitwise ^>= 1.0,
haxl ^>= 2.3,
hashable ^>= 1.3,
mtl ^>= 2.2,
eventlog2html ^>= 0.8.3,
binary ^>= 0.8,
psqueues ^>= 0.2,
dom-lt ^>= 0.2,
async ^>= 2.2,
monoidal-containers ^>= 0.6,
language-dot ^>= 0.1,
ghc-prim ^>= 0.8,
stm ^>= 2.5
hs-source-dirs: src
default-language: Haskell2010
......
......@@ -3,12 +3,12 @@ name: ghc-debug-common
version: 0.1.0.0
synopsis: A debugger for GHC
-- description:
homepage: https://github.com/bgamari/ghc-debug
homepage: https://gitlab.haskell.org/ghc/ghc-debug
license: BSD-3-Clause
license-file: LICENSE
author: Ben Gamari
maintainer: ben@smart-cactus.org
copyright: (c) 2019 Ben Gamari
author: Ben Gamari, Matthew Pickering
maintainer: matthewtpickering@gmail.com
copyright: (c) 2021 Ben Gamari, Matthew Pickering
category: Development
build-type: Simple
extra-source-files: CHANGELOG.md
......@@ -22,24 +22,23 @@ library
GHC.Debug.Types.Graph,
GHC.Debug.Types.Ptr
build-depends: base >=4.12 && <4.14,
bytestring >=0.10 && <0.11,
binary >=0.8 && <0.9,
array,
directory,
filepath,
hashable,
ghc-heap,
cpu,
containers,
transformers,
dom-lt,
unordered-containers,
ghc-debug-convention,
deepseq
bytestring ^>=0.11,
binary ^>=0.8,
array ^>= 0.5,
directory ^>= 1.3 ,
filepath ^>= 1.4,
hashable ^>= 1.3,
ghc-heap ^>= 9.2,
cpu ^>= 0.1,
containers ^>= 0.6,
transformers ^>= 0.5,
dom-lt ^>= 0.2,
unordered-containers ^>= 0.2,
ghc-debug-convention ^>= 0.1,
deepseq ^>= 1.4
hs-source-dirs: src
cmm-sources: cbits/GhcDebug.cmm
-- GhcDebug.cmm in c-sources is a hack to get the build working (GhcDebug.cmm should only appear in cmm-sources)
c-sources: cbits/Heap.c
ghc-options: -Wall
default-language: Haskell2010
......
cabal-version: 2.4
name: ghc-debug-convention
version: 0.1.0.0
synopsis: Definitions needed by ghc-debug-stub and ghc-debug-common
-- A longer description of the package.
description: Definitions needed by ghc-debug-stub and ghc-debug-common
-- A URL where users can report bugs.
-- bug-reports:
-- The license under which the package is released.
license: BSD-3-Clause
author: Matthew Pickering
maintainer: matthewtpickering@gmail.com
-- A copyright notice.
-- copyright:
-- category:
copyright: BSD-3-Clause
extra-source-files: CHANGELOG.md
library
exposed-modules: GHC.Debug.Convention
build-depends: base ^>=4.16.0.0, filepath, directory
build-depends: base ^>=4.16.0.0, filepath ^>= 1.4 , directory ^>= 1.3
hs-source-dirs: src/
default-language: Haskell2010
......@@ -3,12 +3,12 @@ name: ghc-debug-stub
version: 0.1.0.0
-- synopsis:
-- description:
homepage: https://github.com/bgamari/ghc-debug
homepage: https://gitlab.haskell.org/ghc/ghc-debug
license: BSD-3-Clause
license-file: LICENSE
author: Ben Gamari
maintainer: ben@smart-cactus.org
copyright: (c) 2019 Ben Gamari
author: Ben Gamari, Matthew Pickering
maintainer: matthewtpickering@gmail.com
copyright: (c) 2019-2021 Ben Gamari, Matthew Pickering
category: Development
build-type: Simple
extra-source-files: CHANGELOG.md, cbits/socket.h, cbits/trace.h, cbits/parser.h
......@@ -18,14 +18,18 @@ flag trace
Default: False
Manual: True
flag testexes
Description: Build test executables
Default: False
library
exposed-modules: GHC.Debug.Stub
hs-source-dirs: src
build-depends: base >=4.12 && <4.14
, directory
, filepath
, ghc-prim
, ghc-debug-convention
, directory ^>= 1.3
, filepath ^>= 1.4
, ghc-prim ^>= 0.8
, ghc-debug-convention ^>= 0.1
default-language: Haskell2010
cxx-sources: cbits/stub.cpp, cbits/socket.cpp, cbits/trace.cpp
cxx-options: -std=gnu++11 -O3 -g3 -DTHREADED_RTS
......@@ -36,6 +40,10 @@ library
cpp-options: -DTRACE
executable debug-test
if flag(testexes)
buildable: True
else
buildable: False
main-is: Test.hs
ghc-options: -threaded -debug -g3 -O0 -finfo-table-map -fdistinct-constructor-tables
build-depends: base,
......@@ -43,6 +51,10 @@ executable debug-test
default-language: Haskell2010
executable large-thunk
if flag(testexes)
buildable: True
else
buildable: False
main-is: LargeThunk.hs
ghc-options: -threaded -g3 -O2 -finfo-table-map -fdistinct-constructor-tables -rtsopts
build-depends: base,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment