@@ -61,7 +61,8 @@ def _tensorflow_rbe_config(name, compiler, python_version, os, rocm_version = No
6161
6262 remote_platform_configure (
6363 name = "%s_config_platform" % name ,
64- container_image = container_image ,
64+ platform = "linux" ,
65+ platform_exec_properties = exec_properties ,
6566 )
6667
6768 remote_python_configure (
@@ -104,7 +105,8 @@ def _tensorflow_rbe_config(name, compiler, python_version, os, rocm_version = No
104105
105106 remote_platform_configure (
106107 name = "%s_config_platform" % name ,
107- container_image = container_image ,
108+ platform = "linux" ,
109+ platform_exec_properties = exec_properties ,
108110 )
109111
110112 remote_python_configure (
@@ -133,4 +135,28 @@ def _tensorflow_rbe_config(name, compiler, python_version, os, rocm_version = No
133135 else :
134136 fail ("Neither cuda_version, rocm_version nor python_version specified." )
135137
138+ def _tensorflow_rbe_win_config (name , python_bin_path , container_name = "windows-1803" ):
139+ container_image = _container_image_uri (container_name )
140+ exec_properties = {
141+ "container-image" : container_image ,
142+ "OSFamily" : "Windows" ,
143+ }
144+
145+ env = {
146+ "PYTHON_BIN_PATH" : python_bin_path ,
147+ }
148+
149+ remote_platform_configure (
150+ name = "%s_config_platform" % name ,
151+ platform = "windows" ,
152+ platform_exec_properties = exec_properties ,
153+ )
154+
155+ remote_python_configure (
156+ name = "%s_config_python" % name ,
157+ environ = env ,
158+ exec_properties = exec_properties ,
159+ )
160+
136161tensorflow_rbe_config = _tensorflow_rbe_config
162+ tensorflow_rbe_win_config = _tensorflow_rbe_win_config
0 commit comments