Skip to content

Commit

Permalink
Set cabal-version to 2.0 everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart Schuurmans authored and fkm3 committed Jan 24, 2023
1 parent ded944f commit e68a414
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion tensorflow-core-ops/tensorflow-core-ops.cabal
Expand Up @@ -10,7 +10,7 @@ maintainer: tensorflow-haskell@googlegroups.com
copyright: Google Inc.
category: Machine Learning
build-type: Custom
cabal-version: >=2.0
cabal-version: 2.0

library
exposed-modules: TensorFlow.GenOps.Core
Expand Down
2 changes: 1 addition & 1 deletion tensorflow-logging/tensorflow-logging.cabal
Expand Up @@ -10,7 +10,7 @@ maintainer: tensorflow-haskell@googlegroups.com
copyright: Google Inc.
category: Machine Learning
build-type: Simple
cabal-version: >=1.22
cabal-version: 2.0

library
hs-source-dirs: src
Expand Down
Expand Up @@ -10,7 +10,7 @@ maintainer: tensorflow-haskell@googlegroups.com
copyright: Google Inc.
category: Machine Learning
build-type: Custom
cabal-version: >=1.24
cabal-version: 2.0
-- These files are downloaded automatically by Setup.hs. If the
-- automatic download fails, follow the instructions in error messages
-- displayed by Setup.hs.
Expand Down
2 changes: 1 addition & 1 deletion tensorflow-mnist/tensorflow-mnist.cabal
Expand Up @@ -10,7 +10,7 @@ maintainer: tensorflow-haskell@googlegroups.com
copyright: Google Inc.
category: Machine Learning
build-type: Simple
cabal-version: >=1.22
cabal-version: 2.0
data-files: data/*.ckpt
, data/*.pb

Expand Down
2 changes: 1 addition & 1 deletion tensorflow-opgen/tensorflow-opgen.cabal
Expand Up @@ -10,7 +10,7 @@ maintainer: tensorflow-haskell@googlegroups.com
copyright: Google Inc.
category: Machine Learning
build-type: Simple
cabal-version: >=1.22
cabal-version: 2.0

library
hs-source-dirs: src
Expand Down
2 changes: 1 addition & 1 deletion tensorflow-ops/tensorflow-ops.cabal
Expand Up @@ -10,7 +10,7 @@ maintainer: tensorflow-haskell@googlegroups.com
copyright: Google Inc.
category: Machine Learning
build-type: Simple
cabal-version: >=1.22
cabal-version: 2.0

library
hs-source-dirs: src
Expand Down
2 changes: 1 addition & 1 deletion tensorflow-proto/tensorflow-proto.cabal
Expand Up @@ -10,7 +10,7 @@ maintainer: tensorflow-haskell@googlegroups.com
copyright: Google Inc.
category: Machine Learning
build-type: Custom
cabal-version: >=1.24
cabal-version: 2.0
extra-source-files: third_party/tensorflow/tensorflow/core/example/*.proto
, third_party/tensorflow/tensorflow/core/framework/*.proto
, third_party/tensorflow/tensorflow/core/lib/core/error_codes.proto
Expand Down
Expand Up @@ -10,7 +10,7 @@ maintainer: tensorflow-haskell@googlegroups.com
copyright: Google Inc.
category: Machine Learning
build-type: Simple
cabal-version: >=1.22
cabal-version: 2.0

library
hs-source-dirs: src
Expand Down
2 changes: 1 addition & 1 deletion tensorflow-records/tensorflow-records.cabal
Expand Up @@ -10,7 +10,7 @@ maintainer: tensorflow-haskell@googlegroups.com
copyright: Google Inc.
category: Machine Learning
build-type: Simple
cabal-version: >=1.22
cabal-version: 2.0

library
hs-source-dirs: src
Expand Down
2 changes: 1 addition & 1 deletion tensorflow-test/tensorflow-test.cabal
Expand Up @@ -11,7 +11,7 @@ maintainer: tensorflow-haskell@googlegroups.com
copyright: Google Inc.
category: Machine Learning
build-type: Simple
cabal-version: >=1.22
cabal-version: 2.0

library
hs-source-dirs: src
Expand Down
5 changes: 3 additions & 2 deletions tensorflow/tensorflow.cabal
Expand Up @@ -18,7 +18,7 @@ maintainer: tensorflow-haskell@googlegroups.com
copyright: Google Inc.
category: Machine Learning
build-type: Simple
cabal-version: >=1.22
cabal-version: 2.0
extra-source-files: third_party/tensorflow/c/c_api.h

library
Expand All @@ -35,7 +35,8 @@ library
, TensorFlow.Tensor
, TensorFlow.Types
other-modules: TensorFlow.Internal.Raw
build-tools: c2hs
autogen-modules: TensorFlow.Internal.Raw
build-tool-depends: c2hs:c2hs
build-depends: proto-lens == 0.7.*
, tensorflow-proto == 0.3.*
, base >= 4.7 && < 5
Expand Down

0 comments on commit e68a414

Please sign in to comment.