forked from sdiehl/kaleidoscope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkaleidoscope.cabal
50 lines (45 loc) · 1.48 KB
/
kaleidoscope.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: kaleidoscope
version: 0.1.0.0
synopsis: Haskell Kaleidoscope tutorial
description: Port of the Kaleidoscope tutorial for Haskell and LLVM
homepage: https://github.com/sdiehl/kaleidoscope
license: MIT
license-file: LICENSE-MIT
author: Stephen Diehl
maintainer: [email protected]
copyright: 2012 Stephen Diehl
Category: Compilers
build-type: Simple
cabal-version: >=1.10
Bug-Reports: https://github.com/sdiehl/kaleidoscope/issues
Flag Tutorial
Description: Compile with pandoc preprocessor
Default: False
Source-Repository head
Type: git
Location: [email protected]:sdiehl/kaleidoscope.git
library
default-language: Haskell2010
build-depends:
base >= 4.6 && <4.7
, haskeline == 0.7.1.2
, llvm-general == 3.4.1.0
, llvm-general-pure == 3.4.1.0
, mtl
, transformers
-- Enable only if you want to compile the tutorial text itself.
executable preprocess
main-is: preprocessor.hs
if flag(tutorial)
buildable: True
default-language: Haskell2010
build-depends:
base >= 4.6 && <4.7
, pandoc >= 1.12
, haskeline == 0.7.1.2
, llvm-general == 3.4.1.0
, llvm-general-pure == 3.4.1.0
, mtl
, transformers
else
buildable: False