This repository has been archived by the owner on May 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
144 lines (131 loc) · 3.74 KB
/
package.yaml
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
name: htar9-asm
version: 0.1.0.0
github: "BorisNikulin/htar9-asm"
license: MIT
author: "Boris Nikulin"
maintainer: "NikulinBE@gmail.com"
copyright: "2018 Boris Nikulin"
extra-source-files:
- src/cpp/include/**/*
- app/cpp/include/**/*
- test/cpp/include/**/*
- README.md
- LICENSE
data-files:
- test/golden/*
# Metadata used when publishing your package
# synopsis: Short description of your package
# category: Web
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Please see the README on Github at <https://github.com/BorisNikulin/htar9-asm#readme>
dependencies:
- base >= 4.7 && < 5
- bytestring < 1
- megaparsec >= 6 && < 7
- mtl >= 2 && < 3
- brick < 1
- vty > 5 && < 6
- containers < 1
- optparse-applicative < 1
- filepath >= 1 && < 2
- microlens-platform < 1
- vector < 1
- deepseq >= 1 && < 2
- void
default-extensions:
- OverloadedStrings
cc-options:
- -std=c++14
- -Wall
library:
source-dirs:
- src/hs
c-sources:
- src/cpp/*.cpp
include-dirs:
- src/cpp/include
ghc-options:
- -fno-warn-tabs
- -pgmlg++ #makes GHCi work and idk why (force linking with c++ not c)
executables:
htar9-asm-exe:
main: main.cpp
source-dirs: app/cpp
c-sources:
- app/cpp/*.cpp
include-dirs:
- app/cpp/include
ghc-options:
- -threaded
- -no-hs-main
- -Wall
- -Wcompat
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wredundant-constraints
- -fno-warn-tabs
extra-libraries:
- stdc++
- ncurses
dependencies:
- htar9-asm
htar9-asm-hs-exe:
main: Main.hs
source-dirs: app/hs
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -Wall
- -Wcompat
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wredundant-constraints
- -fno-warn-tabs
#- -pgmlg++ #makes GHCi work and idk why (force linking with c++ not c) (doesnt work here (why???))
dependencies:
- htar9-asm
tests:
htar9-asm-hs-test:
main: Main.hs
source-dirs: test/hs
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -fno-warn-tabs
#- -pgmlg++ #makes GHCi work and idk why (force linking with c++ not c) (doesnt work here (why???))
dependencies:
- tasty
- tasty-hunit
- tasty-smallcheck
- tasty-quickcheck
- tasty-golden
- smallcheck
- htar9-asm
htar9-asm-test:
main: main.cpp
source-dirs: test/cpp
c-sources: test/cpp/*.cpp
include-dirs: test/cpp/include
ghc-options:
- -threaded
- -fno-warn-tabs
extra-libraries:
- stdc++
dependencies:
- htar9-asm
benchmarks:
htar9-asm-hs-bench:
main: Main.hs
source-dirs: bench/hs
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -fno-warn-tabs
dependencies:
- criterion
- htar9-asm