-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathskyroToCairo.ipkg
60 lines (54 loc) · 1.71 KB
/
skyroToCairo.ipkg
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
package skyroToCairo
-- `sourcedir`
-- The `./HelloIdris2` dir is in the root of the repo, so this is `"./"`
-- If you were to move that to `"./src/` then you'd update this field
sourcedir = "./src/"
-- `depends`
-- This is a comma separated list of deps, eg: `depends = base, contrib`
depends = idris2, base, contrib, network
-- `modules`
-- This is a comma separated list of the modules you'll want to export
-- to the final artifact
modules =
MainIR,
CommonDef,
Primitives.Primitives,
Primitives.Felt,
CairoCode.CairoCode,
CairoCode.CairoCodeSerializer,
CairoCode.CairoCodeLexer,
CairoCode.CairoCodeParser,
CairoCode.CairoCodeUtils,
CairoCode.Name,
CairoCode.Traversal.Base,
CairoCode.Traversal.Composition,
CairoCode.Traversal.Defaults,
CairoCode.Traversal.ValueTracker,
ABI.Definitions,
ABI.Generator,
CodeGen.CodeGen,
CodeGen.CodeGenHelper,
CodeGen.InjectLinearImplicits,
CodeGen.RegAllocator,
Optimisation.StaticProcessing.StaticTracker,
Optimisation.StaticProcessing.InstructionDeduplication,
Optimisation.StaticProcessing.StaticTransformer,
Optimisation.StaticProcessing.IterativeBaseTransformer,
Optimisation.DeadCodeElimination,
Optimisation.Untupling,
Optimisation.DeadArgumentEliminator,
Optimisation.GlobalStaticOptimizer,
Optimisation.Inliner,
Optimisation.OrderAndEliminateDefinitions,
Primitives.Externals,
Primitives.Felt,
Primitives.Primitives,
RewriteRules.EqChainInline,
Utils.Helpers,
Utils.Lens
-- `main`
-- the entrypoint for the main function for the executable
main = MainIR
-- `executable`
-- the name of the executable in the `./build/exec/` dir
executable = skyroToCairo