mirror of
https://github.com/HuwCampbell/grenade.git
synced 2024-11-22 06:55:13 +03:00
default extensions needs cabal verison 1.10 needs default language
This commit is contained in:
parent
8d5ef502be
commit
6c39f41e1d
@ -7,7 +7,7 @@ maintainer: Huw Campbell <huw.campbell@gmail.com>
|
||||
copyright: (c) 2016-2017 Huw Campbell.
|
||||
synopsis: Practical Deep Learning in Haskell
|
||||
category: AI, Machine Learning
|
||||
cabal-version: >= 1.8
|
||||
cabal-version: >= 1.10
|
||||
build-type: Simple
|
||||
description:
|
||||
Grenade is a composable, dependently typed, practical, and fast
|
||||
@ -55,6 +55,8 @@ library
|
||||
hs-source-dirs:
|
||||
src
|
||||
|
||||
default-language: Haskell2010
|
||||
|
||||
if impl(ghc < 8.0)
|
||||
ghc-options: -fno-warn-incomplete-patterns
|
||||
cpp-options: -DType=*
|
||||
@ -129,6 +131,7 @@ test-suite test
|
||||
hs-source-dirs:
|
||||
test
|
||||
|
||||
default-language: Haskell2010
|
||||
|
||||
other-modules: Test.Hedgehog.Compat
|
||||
Test.Hedgehog.Hmatrix
|
||||
@ -149,6 +152,10 @@ test-suite test
|
||||
|
||||
if impl(ghc < 8.0)
|
||||
ghc-options: -fno-warn-incomplete-patterns
|
||||
cpp-options: -DType=*
|
||||
|
||||
if impl(ghc >= 8.6)
|
||||
default-extensions: NoStarIsType
|
||||
|
||||
build-depends:
|
||||
base
|
||||
@ -178,6 +185,8 @@ benchmark bench
|
||||
hs-source-dirs:
|
||||
bench
|
||||
|
||||
default-language: Haskell2010
|
||||
|
||||
build-depends:
|
||||
base
|
||||
, bytestring
|
||||
@ -195,6 +204,8 @@ benchmark bench-lstm
|
||||
hs-source-dirs:
|
||||
bench
|
||||
|
||||
default-language: Haskell2010
|
||||
|
||||
build-depends:
|
||||
base
|
||||
, bytestring
|
||||
|
Loading…
Reference in New Issue
Block a user