File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ RUN git clone --branch=r1.7 --depth=1 https://github.com/tensorflow/tensorflow.g
81
81
ENV CI_BUILD_PYTHON python
82
82
83
83
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" \
85
85
# For optimized builds appropriate for the hardware platform of your choosing, uncomment below...
86
86
# For ivy-bridge or sandy-bridge
87
87
# --copt=-march="ivybridge" \
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ ENV TF_CUDNN_VERSION=7
94
94
RUN ln -s /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/stubs/libcuda.so.1 && \
95
95
LD_LIBRARY_PATH=/usr/local/cuda/lib64/stubs:${LD_LIBRARY_PATH} \
96
96
tensorflow/tools/ci_build/builds/configured GPU \
97
- bazel build -c opt --config=cuda \
97
+ bazel build -c opt --copt=-mavx -- config=cuda \
98
98
--cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" \
99
99
tensorflow/tools/pip_package:build_pip_package && \
100
100
rm /usr/local/cuda/lib64/stubs/libcuda.so.1 && \
You can’t perform that action at this time.
0 commit comments