File tree 1 file changed +0
-11
lines changed
1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change 21
21
import platform
22
22
import logging
23
23
24
- try :
25
- from packaging .version import Version
26
- except ImportError :
27
- from distutils .version import LooseVersion as Version
28
-
29
24
import tensorflow as tf
30
25
31
26
_TFA_BAZELRC = ".bazelrc"
@@ -136,11 +131,6 @@ def create_build_configuration():
136
131
write ("build --strategy=Genrule=standalone" )
137
132
write ("build -c opt" )
138
133
139
- if Version (tf .__version__ ) >= Version ("2.9.0" ):
140
- glibcxx = '"-D_GLIBCXX_USE_CXX11_ABI=1"'
141
- else :
142
- glibcxx = '"-D_GLIBCXX_USE_CXX11_ABI=0"'
143
-
144
134
if is_windows ():
145
135
write ("build --config=windows" )
146
136
write ("build:windows --enable_runfiles" )
@@ -155,7 +145,6 @@ def create_build_configuration():
155
145
write ("build --copt=-mavx" )
156
146
write ("build --cxxopt=-std=c++14" )
157
147
write ("build --host_cxxopt=-std=c++14" )
158
- write ("build --cxxopt=" + glibcxx )
159
148
160
149
if os .getenv ("TF_NEED_CUDA" , "0" ) == "1" :
161
150
print ("> Building GPU & CPU ops" )
You can’t perform that action at this time.
0 commit comments