Skip to content

Instantly share code, notes, and snippets.

@lylek
Created January 22, 2019 00:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lylek/41eab0d7e9c0f0ab1029da084d76a141 to your computer and use it in GitHub Desktop.
Save lylek/41eab0d7e9c0f0ab1029da084d76a141 to your computer and use it in GitHub Desktop.
stack.yaml file for parconc-examples that can build rotateimage.hs
resolver: lts-6.35 # need to set this to old resolver
flags:
parconc-examples:
distributed: true
accelerate: true
devil: true # need to set this to build repa-devil
extra-package-dbs: []
packages:
- '.'
extra-deps:
- normaldistribution-1.1.0.3
- accelerate-io-1.0.0.0
- accelerate-1.0.0.0
- unique-0 # added
@lylek
Copy link
Author

lylek commented Jan 22, 2019

You can then build the program with stack build --flag parconc-examples:devil parconc-examples:exe:rotateimage and run it with stack exec rotateimage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment