@@ -238,13 +238,13 @@ the desired version instead of relying on the default.
238238One of the questions that ` configure ` will ask is as follows:
239239
240240<pre >
241- Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native ]
241+ Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=haswell ]
242242</pre >
243243
244244This question refers to a later phase in which you'll use bazel to [ build the
245245pip package] ( #build-the-pip-package ) or the [ C/Java libraries] ( #BuildCorJava ) .
246- We recommend accepting the default (` -march=native ` ), which will optimize the
247- generated code for your local machine's CPU type. However, if you are building
246+ We recommend accepting the default (` -march=haswell ` ), for better portability over different Linux falvors and CPU architectures.
247+ However, if you are building
248248TensorFlow on one CPU type but will run TensorFlow on a different CPU type, then
249249consider specifying a more specific optimization
250250flag as described in [ the gcc
@@ -263,7 +263,7 @@ Found possible Python library paths:
263263Please input the desired Python library path to use. Default is [/usr/lib/python2.7/dist-packages]
264264
265265Using python library path: /usr/local/lib/python2.7/dist-packages
266- Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native ]:
266+ Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=haswell ]:
267267Do you wish to use jemalloc as the malloc implementation? [Y/n]
268268jemalloc enabled
269269Do you wish to build TensorFlow with Google Cloud Platform support? [y/N]
0 commit comments