forked from google-research/dex-lang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdex.cabal
69 lines (63 loc) · 2.64 KB
/
dex.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
-- Copyright 2019 Google LLC
--
-- Use of this source code is governed by a BSD-style
-- license that can be found in the LICENSE file or at
-- https://developers.google.com/open-source/licenses/bsd
cabal-version: 2.0
name: dex
version: 0.1.0.0
author: Dougal Maclaurin
maintainer: [email protected]
build-type: Simple
flag inotify
description: Uses inotify to watch for source changes
default: False
library
exposed-modules: Record, Env, Syntax, Type, Inference, JIT, LLVMExec,
Parser, Util, Imp, PPrint, Array,
Actor, Cat, Flops, Normalize, Embed, Serialize,
RenderHtml, Plot, LiveOutput, Subst, Simplify, TopLevel,
Autodiff, JAX, Interpreter
build-depends: base, containers, mtl, binary, bytestring,
time, tf-random, llvm-hs-pure ==9.*, llvm-hs ==9.*,
aeson, megaparsec, warp, wai,
parser-combinators, http-types, prettyprinter, text,
blaze-html, cmark, diagrams-lib, ansi-terminal,
diagrams-rasterific, JuicyPixels, transformers,
base64-bytestring, vector, directory, mmap, unix,
process, bytestring, primitive
default-language: Haskell2010
hs-source-dirs: src/lib
ghc-options: cbits/libdex.so
-Wall
-O0
default-extensions: CPP
executable dex
main-is: dex.hs
other-extensions: OverloadedStrings
build-depends: dex, base, haskeline, prettyprinter, mtl,
optparse-applicative, unix
default-language: Haskell2010
hs-source-dirs: src
-- this is clearly a hack. Can't figure out where else to put it
ghc-options: cbits/libdex.so
-threaded
-Wall
default-extensions: CPP
Test-Suite test-dex
type: exitcode-stdio-1.0
main-is: PropTests.hs
build-depends: dex, base, prettyprinter, containers,
hedgehog, microlens-platform, mtl
other-modules: GenExpr, TestPass
default-language: Haskell2010
hs-source-dirs: tests
ghc-options: cbits/libdex.so
-Wall
-- executable dex2jax.so
-- main-is: Dex2Jax.hs
-- build-depends: dex, base, aeson, bytestring, mtl
-- ghc-options: -no-hs-main -fPIC -shared -dynamic
-- hs-source-dirs: src/ffi
-- extra-libraries: HSrts-ghc8.6.5
-- ghc-options: -Wall