-
Notifications
You must be signed in to change notification settings - Fork 0
/
stack.yaml
30 lines (24 loc) · 1.04 KB
/
stack.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
resolver: lts-22.36 # lts-22.28
compiler: ghc-9.6.6 # ghc-9.6.5
ghc-options:
"$locals": -funfolding-use-threshold=16 -fexcess-precision -optc-O3 -optc-ffast-math -threaded -O2 -rtsopts -with-rtsopts=-N +RTS -xp -RTS # -v
packages:
- .
extra-deps:
- github: hasktorch/hasktorch
commit: ab8d09cb147eab39d096876d1b954bcf0be08191
subdirs:
- hasktorch
- libtorch-ffi
- libtorch-ffi-helper
# - discrimination-0.4.1@sha256:2870c50b9582610a7f20b8b9a7f3b8dc5d37e5ba0082dee22107c6aeb2405a6a,3482
# - language-c-0.9.0.1@sha256:7a1c57e8f9c29e94bcd5c748d99e4479a73bd8560cc0affd838f3b2d1bbc0384,4893
# - repa-3.4.1.4@sha256:5a99bde69fe96a18d70aae23f47c8f719b1134558dca3ee5a7c15423b68a132e,3323
# - c2hs-0.28.8@sha256:980c1a91c93e492d5412e904f2500b2ace34a421e8509529b6d98d89c51f9a2e,9208
# - hnetcdf-0.5.0.0@sha256:32bcbfd5f30b16834f98b4a71a8fa0e9440b307506999b441b3aadb8c1f8c7d1,4036
extra-include-dirs:
- ./libtorch/include/torch/csrc/api/include
- ./libtorch/include
extra-lib-dirs:
- ./libtorch/lib
notify-if-nix-on-path: false