mirror of
https://github.com/tensorflow/haskell.git
synced 2024-11-23 11:29:43 +01:00
Updated TensorFlow. (#58)
* Needed to list a newly added proto in cabal file. * Update the nightly-devel image before build.
This commit is contained in:
parent
db75350969
commit
56a629f9da
3 changed files with 4 additions and 1 deletions
|
@ -8,5 +8,6 @@ STACK_RESOLVER=${STACK_RESOLVER:-lts-6.2}
|
||||||
IMAGE_NAME=tensorflow/haskell/ci_build:$STACK_RESOLVER
|
IMAGE_NAME=tensorflow/haskell/ci_build:$STACK_RESOLVER
|
||||||
|
|
||||||
git submodule update
|
git submodule update
|
||||||
|
docker pull tensorflow/tensorflow:nightly-devel
|
||||||
docker build --build-arg STACK_RESOLVER=$STACK_RESOLVER -t $IMAGE_NAME -f ci_build/Dockerfile .
|
docker build --build-arg STACK_RESOLVER=$STACK_RESOLVER -t $IMAGE_NAME -f ci_build/Dockerfile .
|
||||||
docker run $IMAGE_NAME stack build --resolver=$STACK_RESOLVER --pedantic --test
|
docker run $IMAGE_NAME stack build --resolver=$STACK_RESOLVER --pedantic --test
|
||||||
|
|
|
@ -12,6 +12,7 @@ build-type: Custom
|
||||||
cabal-version: >=1.22
|
cabal-version: >=1.22
|
||||||
extra-source-files: ../third_party/tensorflow/tensorflow/core/framework/*.proto
|
extra-source-files: ../third_party/tensorflow/tensorflow/core/framework/*.proto
|
||||||
, ../third_party/tensorflow/tensorflow/core/protobuf/config.proto
|
, ../third_party/tensorflow/tensorflow/core/protobuf/config.proto
|
||||||
|
, ../third_party/tensorflow/tensorflow/core/protobuf/debug.proto
|
||||||
|
|
||||||
library
|
library
|
||||||
exposed-modules: Proto.Tensorflow.Core.Framework.AttrValue
|
exposed-modules: Proto.Tensorflow.Core.Framework.AttrValue
|
||||||
|
@ -29,6 +30,7 @@ library
|
||||||
, Proto.Tensorflow.Core.Framework.StepStats
|
, Proto.Tensorflow.Core.Framework.StepStats
|
||||||
, Proto.Tensorflow.Core.Framework.TensorDescription
|
, Proto.Tensorflow.Core.Framework.TensorDescription
|
||||||
, Proto.Tensorflow.Core.Framework.Versions
|
, Proto.Tensorflow.Core.Framework.Versions
|
||||||
|
, Proto.Tensorflow.Core.Protobuf.Debug
|
||||||
build-depends: proto-lens == 0.1.*
|
build-depends: proto-lens == 0.1.*
|
||||||
, proto-lens-protoc == 0.1.*
|
, proto-lens-protoc == 0.1.*
|
||||||
, base >= 4.7 && < 5
|
, base >= 4.7 && < 5
|
||||||
|
|
2
third_party/tensorflow
vendored
2
third_party/tensorflow
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 3d41cf77d624aeee0482f92121a9300b29db2809
|
Subproject commit 2e22f1b20fdfa77b1332c518617391dc32359c5b
|
Loading…
Reference in a new issue