Skip to content

Commit 74e8183

Browse files
author
Amit Patankar
committed
Building development docker files with AVX as well. (tensorflow#19130)
1 parent c8137f3 commit 74e8183

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tensorflow/tools/docker/Dockerfile.devel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ RUN git clone --branch=r1.7 --depth=1 https://github.com/tensorflow/tensorflow.g
8181
ENV CI_BUILD_PYTHON python
8282

8383
RUN tensorflow/tools/ci_build/builds/configured CPU \
84-
bazel build -c opt --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" \
84+
bazel build -c opt --copt=-mavx --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" \
8585
# For optimized builds appropriate for the hardware platform of your choosing, uncomment below...
8686
# For ivy-bridge or sandy-bridge
8787
# --copt=-march="ivybridge" \

tensorflow/tools/docker/Dockerfile.devel-gpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ ENV TF_CUDNN_VERSION=7
9494
RUN ln -s /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/stubs/libcuda.so.1 && \
9595
LD_LIBRARY_PATH=/usr/local/cuda/lib64/stubs:${LD_LIBRARY_PATH} \
9696
tensorflow/tools/ci_build/builds/configured GPU \
97-
bazel build -c opt --config=cuda \
97+
bazel build -c opt --copt=-mavx --config=cuda \
9898
--cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" \
9999
tensorflow/tools/pip_package:build_pip_package && \
100100
rm /usr/local/cuda/lib64/stubs/libcuda.so.1 && \

0 commit comments

Comments
 (0)