Added native architecture option to Linux makefile to fix test breakage

Change: 147538352
This commit is contained in:
Vijay Vasudevan 2017-02-14 16:41:18 -08:00 committed by TensorFlower Gardener
parent 231d395048
commit 00bada0994
2 changed files with 4 additions and 1 deletions

View File

@ -36,4 +36,6 @@ tensorflow/contrib/makefile/download_dependencies.sh
tensorflow/contrib/makefile/compile_linux_protobuf.sh
# Build TensorFlow.
make -j"${JOB_COUNT}" -f tensorflow/contrib/makefile/Makefile OPTFLAGS="-O3 -march=native"
make -j"${JOB_COUNT}" -f tensorflow/contrib/makefile/Makefile \
OPTFLAGS="-O3 -march=native" \
HOST_CXXFLAGS="--std=c++11 -march=native"

View File

@ -17,6 +17,7 @@ tensorflow/core/platform/setround.cc
tensorflow/core/platform/denormal.cc
tensorflow/core/platform/default/tracing.cc
tensorflow/core/platform/default/logging.cc
tensorflow/core/platform/cpu_info.cc
tensorflow/core/lib/wav/wav_io.cc
tensorflow/core/lib/strings/stringprintf.cc
tensorflow/core/lib/strings/strcat.cc