Skip to content

Commit 580917a

Browse files
author
Greg Steuck
authored
Switch to LTS 14 and bump versions to 0.2.0.1 (tensorflow#248)
* Use newer stack and protoc in Dockerfiles
1 parent 7e1d92c commit 580917a

File tree

11 files changed

+17
-16
lines changed

11 files changed

+17
-16
lines changed

ChangeLog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
## v0.2.0.1
44
- Switch to tensorflow 1.14.0.
5-
- Compatibility with stackage LTS-13.13.
5+
- Compatibility with stackage LTS-14.4.
6+
- Switch to proto-lens 0.4.
67

78
## v0.2.0.0
89
- Switch to tensorflow 1.9.

ci_build/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ RUN \
3030
netbase \
3131
&& \
3232
# Installs stack.
33-
curl -O -L https://github.com/commercialhaskell/stack/releases/download/v1.7.1/stack-1.7.1-linux-x86_64.tar.gz && \
34-
tar zxf stack-1.7.1-linux-x86_64.tar.gz -C /usr/local/bin stack-1.7.1-linux-x86_64/stack --strip 1 && \
33+
curl -O -L https://github.com/commercialhaskell/stack/releases/download/v2.1.3/stack-2.1.3-linux-x86_64.tar.gz && \
34+
tar zxf stack-2.1.3-linux-x86_64.tar.gz -C /usr/local/bin stack-2.1.3-linux-x86_64/stack --strip 1 && \
3535
# Installs protoc and the libraries.
36-
curl -O -L https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip && \
37-
unzip -d /usr/local protoc-3.2.0-linux-x86_64.zip bin/protoc && \
36+
curl -O -L https://github.com/google/protobuf/releases/download/v3.9.1/protoc-3.9.1-linux-x86_64.zip && \
37+
unzip -d /usr/local protoc-3.9.1-linux-x86_64.zip bin/protoc && \
3838
chmod 755 /usr/local/bin/protoc && \
3939
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz && \
4040
tar zxf libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz -C /usr/local && \

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ RUN dpkg-reconfigure locales && \
2828

2929
# Installs protoc and the libraries.
3030
RUN \
31-
curl -O -L https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip && \
32-
unzip -d /usr/local protoc-3.2.0-linux-x86_64.zip bin/protoc && \
31+
curl -O -L https://github.com/google/protobuf/releases/download/v3.9.1/protoc-3.9.1-linux-x86_64.zip && \
32+
unzip -d /usr/local protoc-3.9.1-linux-x86_64.zip bin/protoc && \
3333
chmod 755 /usr/local/bin/protoc && \
3434
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz && \
3535
tar zxf libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz -C /usr/local && \

docker/gpu/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ RUN dpkg-reconfigure locales && \
2828

2929
# Installs protoc and the libraries.
3030
RUN \
31-
curl -O -L https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip && \
32-
unzip -d /usr/local protoc-3.2.0-linux-x86_64.zip bin/protoc && \
31+
curl -O -L https://github.com/google/protobuf/releases/download/v3.9.1/protoc-3.9.1-linux-x86_64.zip && \
32+
unzip -d /usr/local protoc-3.9.1-linux-x86_64.zip bin/protoc && \
3333
chmod 755 /usr/local/bin/protoc && \
3434
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-1.14.0.tar.gz && \
3535
tar zxf libtensorflow-gpu-linux-x86_64-1.14.0.tar.gz -C /usr/local && \

stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
resolver: lts-13.13
1+
resolver: lts-14.4
22

33
packages:
44
- tensorflow

tensorflow-core-ops/tensorflow-core-ops.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: tensorflow-core-ops
2-
version: 0.2.0.0
2+
version: 0.2.0.1
33
synopsis: Haskell wrappers for Core Tensorflow Ops.
44
description: Code generated signatures for the Ops in libtensorflow.
55
homepage: https://github.com/tensorflow/haskell#readme

tensorflow-logging/tensorflow-logging.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: tensorflow-logging
2-
version: 0.2.0.0
2+
version: 0.2.0.1
33
synopsis: TensorBoard related functionality.
44
description: Please see README.md
55
homepage: https://github.com/tensorflow/haskell#readme

tensorflow-opgen/tensorflow-opgen.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: tensorflow-opgen
2-
version: 0.2.0.0
2+
version: 0.2.0.1
33
synopsis: Code generation for TensorFlow operations.
44
description: Please see README.md
55
homepage: https://github.com/tensorflow/haskell#readme

tensorflow-ops/tensorflow-ops.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: tensorflow-ops
2-
version: 0.2.0.0
2+
version: 0.2.0.1
33
synopsis: Friendly layer around TensorFlow bindings.
44
description: Please see README.md
55
homepage: https://github.com/tensorflow/haskell#readme

tensorflow-proto/tensorflow-proto.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: tensorflow-proto
2-
version: 0.2.0.0
2+
version: 0.2.0.1
33
synopsis: TensorFlow protocol buffers.
44
description: Please see README.md
55
homepage: https://github.com/tensorflow/haskell#readme

tensorflow/tensorflow.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: tensorflow
2-
version: 0.2.0.0
2+
version: 0.2.0.1
33
synopsis: TensorFlow bindings.
44
description:
55
This library provides an interface to the TensorFlow

0 commit comments

Comments
 (0)