-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstack.yaml
More file actions
117 lines (103 loc) · 3.62 KB
/
stack.yaml
File metadata and controls
117 lines (103 loc) · 3.62 KB
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
# This file was automatically generated by 'stack init'
#
# Some commonly used options have been documented as comments in this file.
# For advanced use and comprehensive documentation of the format, please see:
# https://docs.haskellstack.org/en/stable/yaml_configuration/
# Resolver to choose a 'specific' stackage snapshot or a compiler version.
# A snapshot resolver dictates the compiler version and the set of packages
# to be used for project dependencies. For example:
#
# resolver: lts-3.5
# resolver: nightly-2015-09-21
# resolver: ghc-7.10.2
#
# The location of a snapshot can be provided as a file or url. Stack assumes
# a snapshot provided as a file might change, whereas a url resource does not.
#
# resolver: ./custom-snapshot.yaml
# resolver: https://example.com/snapshots/2018-01-01.yaml
resolver: lts-24.16 # lts-22.22 # 20.26
# User packages to be built.
# Various formats can be used as shown in the example below.
#
# packages:
# - some-directory
# - https://example.com/foo/bar/baz-0.0.2.tar.gz
# subdirs:
# - auto-update
# - wai
packages:
- protovoices
- pv-rl
# Dependency packages to be pulled from upstream that are not in the resolver.
# These entries can reference officially published versions as well as
# forks / in-progress versions pinned to a git hash. For example:
#
# extra-deps:
# - acme-missiles-0.3
# - git: https://github.com/commercialhaskell/stack.git
# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
#
extra-deps:
# local packages
# - ../haskell-musicology/musicology-pitch
# - ../haskell-musicology/musicology-time
# - ../haskell-musicology/musicology-core
# - ../haskell-musicology/musicology-musicxml
# - ../inference/conjugate-programs/
- git: https://github.com/DCMLab/haskell-musicology.git
commit: 65d86938a507f70f04aa9c72c1b64ea4bfcdafe8
subdirs:
- musicology-pitch
- musicology-time
- musicology-core
- musicology-musicxml
- git: https://github.com/DCMLab/conjugate-haskell-programs.git
commit: 9ff8a9420833ff4afbfdb322291f7734fd5f84e5 # 03c14c8a016b9d11db5800f99bfd41fb5f9b0531
# 6c130bba1633104d171eebc0e3875dfa2e482854
- git: https://github.com/hasktorch/hasktorch.git
commit: 66cd5d1ffc32b12d3a2d77e70b74eb5ec008fe03 # d8c0b0222bd735245dd76d578f167768808aa234 # a5a4252a2a60d8caa0fd1c8d1c646165947e3746
subdirs:
- libtorch-ffi-helper
- libtorch-ffi
- hasktorch
- Chart-gtk-1.9.3@sha256:f85c04ad9b12b1f9e7331724e63222c2b3a74e67707ca733aa771120f24d0175,916
# transitive deps
# for haskell-musicology stuff
- Frames-0.7.4.2@sha256:51f42e242535a12cef1fbc1059c3936110489fb098f4f56fcb1e0729eace37be,9493
# for profiteur:
- ghc-prof-1.4.1.14@sha256:3d3fd99237de94515bcc92c3f33b92445985d1b088d4d04586ba4ffcf86aaf89,2155
allow-newer: true
# Override default flag values for local packages and extra-deps
# flags: {}
# Extra package databases containing global packages
# extra-package-dbs: []
# Control whether we use the GHC we find on the path
# system-ghc: true
#
# Require a specific version of stack, using version ranges
# require-stack-version: -any # Default
# require-stack-version: ">=2.3"
#
# Override the architecture used by stack, especially useful on Windows
# arch: i386
# arch: x86_64
#
# Extra directories used by stack for building
# extra-include-dirs: [/path/to/dir]
# extra-lib-dirs: [/path/to/dir]
extra-include-dirs:
- ./deps/libtorch/include
- ./deps/libtorch/include/torch/csrc/api/include
extra-lib-dirs: [ deps/libtorch/lib ]
#
# Allow a newer minor version of GHC than the snapshot specifies
# compiler-check: newer-minor
build:
# haddock: true
# ghc-options:
# "$everything": -g
configure-options:
$targets:
- --enable-executable-dynamic
- --enable-shared