Skip to content

Instantly share code, notes, and snippets.

@matfournier
Created November 20, 2018 04:55
Show Gist options
  • Save matfournier/cf363d2f861fd55dcf15d16e368e4522 to your computer and use it in GitHub Desktop.
Save matfournier/cf363d2f861fd55dcf15d16e368e4522 to your computer and use it in GitHub Desktop.
name: parmf
version: 0.1.0.0
github: "githubuser/parallel"
license: BSD3
author: "Author name here"
maintainer: "[email protected]"
copyright: "2018 Author name here"
extra-source-files:
- README.md
- ChangeLog.md
# 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/githubuser/parallel#readme>
dependencies:
- base >= 4.7 && < 5
- time >= 1.8.0.2 && < 1.9.2
- text >= 1.2 && < 1.2.3.1
- parallel ==3.2.*
- array ==0.5.2.*
library:
source-dirs: src
executables:
parallel-exe:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- parmf
rpar-exe:
main: rpar.hs
source-dirs: src/chapter2
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- parmf
sudoku1-exe:
main: sudoku1.hs
source-dirs: src/chapter2
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -O2
tests:
parallel-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- parmf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment