File tree 3 files changed +5
-7
lines changed
3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 28
28
pip install tensorflow==1.14.0
29
29
fi
30
30
31
+ osname=" $( uname -s) "
32
+ if [[ $osname == " Linux" ]]; then
33
+ write_to_bazelrc " build --cxxopt='-std=c++11'"
34
+ fi
35
+
31
36
TF_CFLAGS=( $( python -c ' import tensorflow as tf; print(" ".join(tf.sysconfig.get_compile_flags()))' ) )
32
37
TF_LFLAGS=( $( python -c ' import tensorflow as tf; print(" ".join(tf.sysconfig.get_link_flags()))' ) )
33
38
TF_LFLAGS2=( $( python -c ' import tensorflow as tf; print(" ".join(tf.sysconfig.get_link_flags()))' | awk ' {print $2}' ) )
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ cc_binary(
39
39
],
40
40
copts = [
41
41
"-pthread" ,
42
- "-std=c++11" ,
43
42
],
44
43
linkshared = 1 ,
45
44
deps = [
@@ -118,7 +117,6 @@ cc_binary(
118
117
],
119
118
copts = [
120
119
"-pthread" ,
121
- "-std=c++11" ,
122
120
],
123
121
linkshared = 1 ,
124
122
deps = [
@@ -234,7 +232,6 @@ cc_binary(
234
232
],
235
233
copts = [
236
234
"-pthread" ,
237
- "-std=c++11" ,
238
235
],
239
236
linkshared = 1 ,
240
237
deps = [
@@ -338,7 +335,6 @@ cc_binary(
338
335
],
339
336
copts = [
340
337
"-pthread" ,
341
- "-std=c++11" ,
342
338
],
343
339
linkshared = 1 ,
344
340
deps = [
@@ -417,7 +413,6 @@ cc_binary(
417
413
],
418
414
copts = [
419
415
"-pthread" ,
420
- "-std=c++11" ,
421
416
],
422
417
linkshared = 1 ,
423
418
deps = [
@@ -461,7 +456,6 @@ cc_binary(
461
456
],
462
457
copts = [
463
458
"-pthread" ,
464
- "-std=c++11" ,
465
459
],
466
460
linkshared = 1 ,
467
461
deps = [
Original file line number Diff line number Diff line change @@ -28,6 +28,5 @@ exports_files(["LICENSE"])
28
28
cc_library (
29
29
name = "icu_normalization_data" ,
30
30
srcs = ["normalization_data.c" ],
31
- copts = ["-std=c++11" ],
32
31
deps = ["@icu//:headers" ],
33
32
)
You can’t perform that action at this time.
0 commit comments