Skip to content

Commit 8ed9148

Browse files
Luke Iwanskibenoitsteiner
authored andcommitted
[Build] Use gcc/g++ as a host compiler to avoid tensorflow/tensorflow#8394 (#54)
1 parent b00431d commit 8ed9148

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ if [ "$TF_NEED_OPENCL" == "1" ]; then
504504
while true; do
505505
fromuser=""
506506
if [ -z "$HOST_CXX_COMPILER" ]; then
507-
default_cxx_host_compiler=$(which clang++-3.6 || true)
507+
default_cxx_host_compiler=$(which g++-4.8 || true)
508508
read -p "Please specify which C++ compiler should be used as the host C++ compiler. [Default is $default_cxx_host_compiler]: " HOST_CXX_COMPILER
509509
fromuser="1"
510510
if [ -z "$HOST_CXX_COMPILER" ]; then
@@ -527,7 +527,7 @@ done
527527
while true; do
528528
fromuser=""
529529
if [ -z "$HOST_C_COMPILER" ]; then
530-
default_c_host_compiler=$(which clang-3.6 || true)
530+
default_c_host_compiler=$(which gcc-4.8 || true)
531531
read -p "Please specify which C compiler should be used as the host C compiler. [Default is $default_c_host_compiler]: " HOST_C_COMPILER
532532
fromuser="1"
533533
if [ -z "$HOST_C_COMPILER" ]; then

0 commit comments

Comments
 (0)