Switch to LTS 14 and bump versions to 0.2.0.1 (#248)

* Use newer stack and protoc in Dockerfiles
This commit is contained in:
Greg Steuck 2019-09-08 12:45:24 -07:00 committed by GitHub
parent 7e1d92c6c2
commit 580917a731
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 17 additions and 16 deletions

View File

@ -2,7 +2,8 @@
## v0.2.0.1 ## v0.2.0.1
- Switch to tensorflow 1.14.0. - Switch to tensorflow 1.14.0.
- Compatibility with stackage LTS-13.13. - Compatibility with stackage LTS-14.4.
- Switch to proto-lens 0.4.
## v0.2.0.0 ## v0.2.0.0
- Switch to tensorflow 1.9. - Switch to tensorflow 1.9.

View File

@ -30,11 +30,11 @@ RUN \
netbase \ netbase \
&& \ && \
# Installs stack. # Installs stack.
curl -O -L https://github.com/commercialhaskell/stack/releases/download/v1.7.1/stack-1.7.1-linux-x86_64.tar.gz && \ curl -O -L https://github.com/commercialhaskell/stack/releases/download/v2.1.3/stack-2.1.3-linux-x86_64.tar.gz && \
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 && \ 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 && \
# Installs protoc and the libraries. # Installs protoc and the libraries.
curl -O -L https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip && \ curl -O -L https://github.com/google/protobuf/releases/download/v3.9.1/protoc-3.9.1-linux-x86_64.zip && \
unzip -d /usr/local protoc-3.2.0-linux-x86_64.zip bin/protoc && \ unzip -d /usr/local protoc-3.9.1-linux-x86_64.zip bin/protoc && \
chmod 755 /usr/local/bin/protoc && \ chmod 755 /usr/local/bin/protoc && \
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz && \ curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz && \
tar zxf libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz -C /usr/local && \ tar zxf libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz -C /usr/local && \

View File

@ -28,8 +28,8 @@ RUN dpkg-reconfigure locales && \
# Installs protoc and the libraries. # Installs protoc and the libraries.
RUN \ RUN \
curl -O -L https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip && \ curl -O -L https://github.com/google/protobuf/releases/download/v3.9.1/protoc-3.9.1-linux-x86_64.zip && \
unzip -d /usr/local protoc-3.2.0-linux-x86_64.zip bin/protoc && \ unzip -d /usr/local protoc-3.9.1-linux-x86_64.zip bin/protoc && \
chmod 755 /usr/local/bin/protoc && \ chmod 755 /usr/local/bin/protoc && \
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz && \ curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz && \
tar zxf libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz -C /usr/local && \ tar zxf libtensorflow-cpu-linux-x86_64-1.14.0.tar.gz -C /usr/local && \

View File

@ -28,8 +28,8 @@ RUN dpkg-reconfigure locales && \
# Installs protoc and the libraries. # Installs protoc and the libraries.
RUN \ RUN \
curl -O -L https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip && \ curl -O -L https://github.com/google/protobuf/releases/download/v3.9.1/protoc-3.9.1-linux-x86_64.zip && \
unzip -d /usr/local protoc-3.2.0-linux-x86_64.zip bin/protoc && \ unzip -d /usr/local protoc-3.9.1-linux-x86_64.zip bin/protoc && \
chmod 755 /usr/local/bin/protoc && \ chmod 755 /usr/local/bin/protoc && \
curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-1.14.0.tar.gz && \ curl -O https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-1.14.0.tar.gz && \
tar zxf libtensorflow-gpu-linux-x86_64-1.14.0.tar.gz -C /usr/local && \ tar zxf libtensorflow-gpu-linux-x86_64-1.14.0.tar.gz -C /usr/local && \

View File

@ -1,4 +1,4 @@
resolver: lts-13.13 resolver: lts-14.4
packages: packages:
- tensorflow - tensorflow

View File

@ -1,5 +1,5 @@
name: tensorflow-core-ops name: tensorflow-core-ops
version: 0.2.0.0 version: 0.2.0.1
synopsis: Haskell wrappers for Core Tensorflow Ops. synopsis: Haskell wrappers for Core Tensorflow Ops.
description: Code generated signatures for the Ops in libtensorflow. description: Code generated signatures for the Ops in libtensorflow.
homepage: https://github.com/tensorflow/haskell#readme homepage: https://github.com/tensorflow/haskell#readme

View File

@ -1,5 +1,5 @@
name: tensorflow-logging name: tensorflow-logging
version: 0.2.0.0 version: 0.2.0.1
synopsis: TensorBoard related functionality. synopsis: TensorBoard related functionality.
description: Please see README.md description: Please see README.md
homepage: https://github.com/tensorflow/haskell#readme homepage: https://github.com/tensorflow/haskell#readme

View File

@ -1,5 +1,5 @@
name: tensorflow-opgen name: tensorflow-opgen
version: 0.2.0.0 version: 0.2.0.1
synopsis: Code generation for TensorFlow operations. synopsis: Code generation for TensorFlow operations.
description: Please see README.md description: Please see README.md
homepage: https://github.com/tensorflow/haskell#readme homepage: https://github.com/tensorflow/haskell#readme

View File

@ -1,5 +1,5 @@
name: tensorflow-ops name: tensorflow-ops
version: 0.2.0.0 version: 0.2.0.1
synopsis: Friendly layer around TensorFlow bindings. synopsis: Friendly layer around TensorFlow bindings.
description: Please see README.md description: Please see README.md
homepage: https://github.com/tensorflow/haskell#readme homepage: https://github.com/tensorflow/haskell#readme

View File

@ -1,5 +1,5 @@
name: tensorflow-proto name: tensorflow-proto
version: 0.2.0.0 version: 0.2.0.1
synopsis: TensorFlow protocol buffers. synopsis: TensorFlow protocol buffers.
description: Please see README.md description: Please see README.md
homepage: https://github.com/tensorflow/haskell#readme homepage: https://github.com/tensorflow/haskell#readme

View File

@ -1,5 +1,5 @@
name: tensorflow name: tensorflow
version: 0.2.0.0 version: 0.2.0.1
synopsis: TensorFlow bindings. synopsis: TensorFlow bindings.
description: description:
This library provides an interface to the TensorFlow This library provides an interface to the TensorFlow