mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
TensorFlow: Set version to 1.15.2
This commit is contained in:
@@ -48,17 +48,16 @@ RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10 && \
|
||||
|
||||
# Download Bazel & TensorFlow
|
||||
WORKDIR "/home/tensorflow"
|
||||
RUN wget https://github.com/tensorflow/tensorflow/archive/v1.14.0.tar.gz
|
||||
RUN tar -xzf v1.14.0.tar.gz
|
||||
RUN wget https://github.com/tensorflow/tensorflow/archive/v1.15.2.tar.gz
|
||||
RUN tar -xzf v1.15.2.tar.gz
|
||||
|
||||
# Install Bazel
|
||||
RUN wget https://github.com/bazelbuild/bazel/releases/download/0.24.1/bazel-0.24.1-linux-x86_64
|
||||
RUN mv bazel-0.24.1-linux-x86_64 /usr/local/bin/bazel && chmod 755 /usr/local/bin/bazel
|
||||
|
||||
# Configure TensorFlow
|
||||
WORKDIR "/home/tensorflow/tensorflow-1.14.0"
|
||||
WORKDIR "/home/tensorflow/tensorflow-1.15.2"
|
||||
COPY ./*.sh ./
|
||||
COPY ./*.diff ./
|
||||
COPY ./.tf_configure.bazelrc .tf_configure.bazelrc
|
||||
COPY ./Makefile Makefile
|
||||
RUN make patch
|
||||
|
||||
@@ -48,8 +48,8 @@ RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10 && \
|
||||
|
||||
# Download Bazel & TensorFlow
|
||||
WORKDIR "/home/tensorflow"
|
||||
RUN wget https://github.com/tensorflow/tensorflow/archive/v1.14.0.tar.gz
|
||||
RUN tar -xzf v1.14.0.tar.gz
|
||||
RUN wget https://github.com/tensorflow/tensorflow/archive/v1.15.2.tar.gz
|
||||
RUN tar -xzf v1.15.2.tar.gz
|
||||
|
||||
# Install Bazel
|
||||
# RUN wget https://github.com/bazelbuild/bazel/releases/download/0.24.1/bazel-0.24.1-linux-x86_64
|
||||
@@ -57,9 +57,9 @@ RUN wget https://github.com/guysoft/bazel-bin/raw/master/bazel-0.24.1-aarch64
|
||||
RUN mv bazel-0.24.1-aarch64 /usr/local/bin/bazel && chmod 755 /usr/local/bin/bazel
|
||||
|
||||
# Configure TensorFlow
|
||||
WORKDIR "/home/tensorflow/tensorflow-1.14.0"
|
||||
WORKDIR "/home/tensorflow/tensorflow-1.15.2"
|
||||
COPY ./*.sh ./
|
||||
COPY ./*.diff ./
|
||||
COPY ./tf_configure.bazelrc .tf_configure.bazelrc
|
||||
COPY ./Makefile.aarch64 Makefile
|
||||
RUN make patch
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
TF_VERSION=1.14.0
|
||||
TF_VERSION=1.15.2
|
||||
|
||||
# -march see https://gcc.gnu.org/onlinedocs/gcc-4.8.5/gcc/i386-and-x86-64-Options.html
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
TF_VERSION=1.14.0
|
||||
TF_VERSION=1.15.2
|
||||
|
||||
all: libtensorflow static archive
|
||||
patch:
|
||||
|
||||
Reference in New Issue
Block a user