[commit: ghc] wip/angerman/llvmng: Cabalify all the things (bebe112)

git at git.haskell.org git at git.haskell.org
Tue Nov 14 14:26:29 UTC 2017


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

On branch  : wip/angerman/llvmng
Link       : http://ghc.haskell.org/trac/ghc/changeset/bebe1126754ebef0b80829af4b6c3adaa6303671/ghc

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

commit bebe1126754ebef0b80829af4b6c3adaa6303671
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date:   Tue Nov 14 14:25:23 2017 +0800

    Cabalify all the things
    
    Summary:
    Adding caba files to `unlit`, `touchy` and `hp2ps`, allows us to treat them
    uniformally across the build system.
    
    Reviewers: bgamari
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D4192
    
    # Conflicts:
    #	hadrian


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

bebe1126754ebef0b80829af4b6c3adaa6303671
 utils/hp2ps/hp2ps.cabal   | 22 ++++++++++++++++++++++
 utils/touchy/touchy.cabal | 16 ++++++++++++++++
 utils/unlit/unlit.cabal   | 16 ++++++++++++++++
 3 files changed, 54 insertions(+)

diff --git a/utils/hp2ps/hp2ps.cabal b/utils/hp2ps/hp2ps.cabal
new file mode 100644
index 0000000..ba5db04
--- /dev/null
+++ b/utils/hp2ps/hp2ps.cabal
@@ -0,0 +1,22 @@
+cabal-version: >=2.1
+Name: hp2ps
+Version: 0.1
+Copyright: XXX
+License: BSD3
+Author: XXX
+Maintainer: XXX
+Synopsis: Heap Profile to PostScript converter
+Description: XXX
+Category: Development
+build-type: Simple
+
+Executable unlit
+    Default-Language: Haskell2010
+    Main-Is: Main.c
+    extra-libraries: m
+    C-Sources:
+       AreaBelow.c Curves.c Error.c Main.c
+       Reorder.c TopTwenty.c AuxFile.c Deviation.c
+       HpFile.c Marks.c Scale.c TraceElement.c
+       Axes.c Dimensions.c Key.c PsFile.c Shade.c
+       Utilities.c
diff --git a/utils/touchy/touchy.cabal b/utils/touchy/touchy.cabal
new file mode 100644
index 0000000..ab025e4
--- /dev/null
+++ b/utils/touchy/touchy.cabal
@@ -0,0 +1,16 @@
+cabal-version: >=2.1
+Name: touchy
+Version: 0.1
+Copyright: XXX
+License: BSD3
+Author: XXX
+Maintainer: XXX
+Synopsis: @touch@ for windows
+Description: XXX
+Category: Development
+build-type: Simple
+
+Executable unlit
+    Default-Language: Haskell2010
+    Main-Is: touchy.c
+    C-Sources: touchy.c
diff --git a/utils/unlit/unlit.cabal b/utils/unlit/unlit.cabal
new file mode 100644
index 0000000..e15a075
--- /dev/null
+++ b/utils/unlit/unlit.cabal
@@ -0,0 +1,16 @@
+cabal-version: >=2.1
+Name: unlit
+Version: 0.1
+Copyright: XXX
+License: BSD3
+Author: XXX
+Maintainer: XXX
+Synopsis: Literate program filter
+Description: XXX
+Category: Development
+build-type: Simple
+
+Executable unlit
+    Default-Language: Haskell2010
+    Main-Is: unlit.c
+    C-Sources: unlit.c



More information about the ghc-commits mailing list