Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

Commit c637886

Browse files
Merge pull request #64 from tensorflow/mm-bump-win-rbe
Bump Windows RBE toolchain to contain pinned numpy.
2 parents 1d27e49 + 833d43d commit c637886

6 files changed

Lines changed: 2012 additions & 1 deletion

File tree

toolchains/win/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ platform(
1717
remote_execution_properties = """
1818
properties:{
1919
name: "container-image"
20-
value: "docker://gcr.io/tensorflow-testing/tf-win2019-rbe@sha256:f7d6dec9c18d93a4877a75d7ac9e33e26c9a2378e0e3dd20386dc66959b0fad5"
20+
value: "docker://gcr.io/tensorflow-testing/tf-win2019-rbe@sha256:bd50608c7fcef5eb04faf2728a871a6b162f61cfc314790cdf71139b2c478ce5"
2121
}
2222
properties:{
2323
name: "OSFamily"

toolchains/win/tf_win_01252022/BUILD

Lines changed: 553 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# Copyright 2019 The Bazel Authors. All rights reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
"""A Starlark cc_toolchain configuration rule"""
16+
17+
load(
18+
"@bazel_tools//tools/cpp:cc_toolchain_config_lib.bzl",
19+
"feature",
20+
"tool_path",
21+
)
22+
23+
def _impl(ctx):
24+
toolchain_identifier = "stub_armeabi-v7a"
25+
host_system_name = "armeabi-v7a"
26+
target_system_name = "armeabi-v7a"
27+
target_cpu = "armeabi-v7a"
28+
target_libc = "armeabi-v7a"
29+
compiler = "compiler"
30+
abi_version = "armeabi-v7a"
31+
abi_libc_version = "armeabi-v7a"
32+
cc_target_os = None
33+
builtin_sysroot = None
34+
action_configs = []
35+
36+
supports_pic_feature = feature(name = "supports_pic", enabled = True)
37+
supports_dynamic_linker_feature = feature(name = "supports_dynamic_linker", enabled = True)
38+
features = [supports_dynamic_linker_feature, supports_pic_feature]
39+
40+
cxx_builtin_include_directories = []
41+
artifact_name_patterns = []
42+
make_variables = []
43+
44+
tool_paths = [
45+
tool_path(name = "ar", path = "/bin/false"),
46+
tool_path(name = "compat-ld", path = "/bin/false"),
47+
tool_path(name = "cpp", path = "/bin/false"),
48+
tool_path(name = "dwp", path = "/bin/false"),
49+
tool_path(name = "gcc", path = "/bin/false"),
50+
tool_path(name = "gcov", path = "/bin/false"),
51+
tool_path(name = "ld", path = "/bin/false"),
52+
tool_path(name = "nm", path = "/bin/false"),
53+
tool_path(name = "objcopy", path = "/bin/false"),
54+
tool_path(name = "objdump", path = "/bin/false"),
55+
tool_path(name = "strip", path = "/bin/false"),
56+
]
57+
58+
return cc_common.create_cc_toolchain_config_info(
59+
ctx = ctx,
60+
features = features,
61+
action_configs = action_configs,
62+
artifact_name_patterns = artifact_name_patterns,
63+
cxx_builtin_include_directories = cxx_builtin_include_directories,
64+
toolchain_identifier = toolchain_identifier,
65+
host_system_name = host_system_name,
66+
target_system_name = target_system_name,
67+
target_cpu = target_cpu,
68+
target_libc = target_libc,
69+
compiler = compiler,
70+
abi_version = abi_version,
71+
abi_libc_version = abi_libc_version,
72+
tool_paths = tool_paths,
73+
make_variables = make_variables,
74+
builtin_sysroot = builtin_sysroot,
75+
cc_target_os = cc_target_os,
76+
)
77+
78+
armeabi_cc_toolchain_config = rule(
79+
implementation = _impl,
80+
attrs = {},
81+
provides = [CcToolchainConfigInfo],
82+
)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
This file is generated by cc_configure and contains builtin include directories
2+
that msvc reported. This file is a dependency of every compilation action and
3+
changes to it will be reflected in the action cache key. When some of these
4+
paths change, Bazel will make sure to rerun the action, even though none of
5+
declared action inputs or the action commandline changes.
6+
7+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
REPOSITORY TAG DIGEST IMAGE ID CREATED SIZE
2+
gcr.io/tensorflow-testing/tf-win2019-docker-staging latest sha256:bd50608c7fcef5eb04faf2728a871a6b162f61cfc314790cdf71139b2c478ce5 7bfdad85d4a3 8 minutes ago 18.6GB

0 commit comments

Comments
 (0)