Skip to content

Commit 7cbba04

Browse files
committed
Work around Eigen compilation failures when building on certain CPUs
Fixes errors such as the following: error: could not convert ‘Eigen::internal...’ {aka ‘__vector(2) long long int’} to ‘Eigen::QInt32’
1 parent 2884aed commit 7cbba04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export TF_NCCL_VERSION=2
108108
export TF_CUDA_COMPUTE_CAPABILITIES="8.0,9.0"
109109
export TF_ENABLE_XLA=1
110110
export TF_NEED_HDFS=0
111-
export CC_OPT_FLAGS="-march=native -mtune=native"
111+
export CC_OPT_FLAGS="-march=sandybridge -mtune=broadwell"
112112
yes "" | ./configure
113113
```
114114

0 commit comments

Comments
 (0)