mirror of
https://github.com/tensorflow/haskell.git
synced 2024-12-25 19:19:45 +01:00
d98e5d637c
Also bump the version to 0.1.0.2. Originally we had `extra-lib-dirs: /usr/local/lib` in `stack.yaml`. I removed it because it wasn't necessary on my Mac. However, it turns out that it is necessary for machines with the default installation of XCode, which *doesn't* search that path by default. (On my machine, it wasn't necessary because I had run `xcode-select --install` which adds that path permanently to your search path. For more context, see https://github.com/Homebrew/brew/issues/556.) I'm adding the setting back to `tensorflow.cabal` as well as `stack.yaml` so that the Hackage release also contains this fix. Changing `stack.yaml` is still necessary in order to fix linkage in the `snappy` package (which `tensorflow-records` depends on). Hopefully that will go away once we remove the dependency (#118).
101 lines
3.2 KiB
Text
101 lines
3.2 KiB
Text
name: tensorflow
|
|
version: 0.1.0.2
|
|
synopsis: TensorFlow bindings.
|
|
description:
|
|
This library provides an interface to the TensorFlow
|
|
bindings. "TensorFlow.Core" contains the base API for
|
|
building and running computational graphs. Other packages
|
|
such as @tensorflow-ops@ contain bindings to the actual
|
|
computational kernels.
|
|
.
|
|
For more documentation and examples, see
|
|
<https://github.com/tensorflow/haskell#readme>
|
|
homepage: https://github.com/tensorflow/haskell#readme
|
|
license: Apache
|
|
license-file: LICENSE
|
|
author: TensorFlow authors
|
|
maintainer: tensorflow-haskell@googlegroups.com
|
|
copyright: Google Inc.
|
|
category: Machine Learning
|
|
build-type: Simple
|
|
cabal-version: >=1.22
|
|
extra-source-files: third_party/tensorflow/c/c_api.h
|
|
|
|
library
|
|
hs-source-dirs: src
|
|
exposed-modules: TensorFlow.Build
|
|
, TensorFlow.BuildOp
|
|
, TensorFlow.ControlFlow
|
|
, TensorFlow.Core
|
|
, TensorFlow.Internal.FFI
|
|
, TensorFlow.Internal.VarInt
|
|
, TensorFlow.Nodes
|
|
, TensorFlow.Output
|
|
, TensorFlow.Session
|
|
, TensorFlow.Tensor
|
|
, TensorFlow.Types
|
|
other-modules: TensorFlow.Internal.Raw
|
|
, TensorFlow.Orphans
|
|
build-tools: c2hs
|
|
build-depends: proto-lens == 0.2.*
|
|
-- Used by the custom Setup script (for the test-suite).
|
|
, proto-lens-protoc == 0.2.*
|
|
, tensorflow-proto == 0.1.*
|
|
, base >= 4.7 && < 5
|
|
, async
|
|
, attoparsec
|
|
, bytestring
|
|
, containers
|
|
, data-default
|
|
, exceptions
|
|
, fgl
|
|
, lens-family
|
|
, mainland-pretty
|
|
, mtl
|
|
, semigroups
|
|
, split
|
|
, text
|
|
, temporary
|
|
, transformers
|
|
, vector
|
|
extra-libraries: tensorflow
|
|
default-language: Haskell2010
|
|
include-dirs: .
|
|
if os(darwin) {
|
|
-- The default XCode installation doesn't search this path, so add it
|
|
-- manually. Alternately, users can run `xcode-select --install` to add
|
|
-- it permanently to their search path.
|
|
extra-lib-dirs: /usr/local/lib
|
|
}
|
|
|
|
Test-Suite FFITest
|
|
default-language: Haskell2010
|
|
type: exitcode-stdio-1.0
|
|
main-is: FFITest.hs
|
|
hs-source-dirs: tests
|
|
build-depends: HUnit
|
|
, base
|
|
, bytestring
|
|
, lens-family
|
|
, proto-lens
|
|
, tensorflow
|
|
, tensorflow-proto
|
|
, test-framework
|
|
, test-framework-hunit
|
|
|
|
|
|
Test-Suite VarIntTest
|
|
default-language: Haskell2010
|
|
type: exitcode-stdio-1.0
|
|
main-is: VarIntTest.hs
|
|
hs-source-dirs: tests
|
|
build-depends: base
|
|
, attoparsec
|
|
, bytestring
|
|
, tensorflow
|
|
, test-framework
|
|
, test-framework-quickcheck2
|
|
|
|
source-repository head
|
|
type: git
|
|
location: https://github.com/tensorflow/haskell
|